01 - Preheat the oven to 425°F. Line a large baking sheet with parchment paper to prevent sticking and ensure easy cleanup.
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 all cubes are evenly coated with the spice mixture.
03 - Spread seasoned pumpkin cubes in a single layer on the prepared baking sheet, ensuring they are not crowded to promote even roasting and caramelization.
04 - Roast for 25–30 minutes, turning the cubes once halfway through cooking, until pumpkin is golden and tender with crispy, caramelized edges.
05 - Transfer roasted pumpkin to a serving dish. Garnish with chopped fresh herbs and toasted pumpkin seeds if desired. Serve hot as a side dish or snack.