01 - Preheat the oven to 425°F. Line a large baking sheet with parchment paper.
02 - Place pumpkin cubes in a large mixing bowl. Add olive oil, cumin, smoked paprika, cinnamon, chili powder (if using), salt, and pepper. Toss until evenly coated.
03 - Spread pumpkin cubes in a single layer on the prepared baking sheet, ensuring they are not crowded.
04 - Roast for 25–30 minutes, turning once halfway, until pumpkin is golden and tender with crisp edges.
05 - Transfer to a serving dish. Garnish with chopped herbs and toasted pumpkin seeds, if desired. Serve hot.