Set the oven to 375°F. Position one rack in the upper third and another in the center. Cover two large rimmed baking pans with parchment.
Divide the produce between the pans, keeping the tomatoes separate from the peppers and onions. Distribute 1 tablespoon of olive oil over each pan.
Coat the tomatoes gently and turn their skins toward the parchment.
Coat the peppers and onions, taking care not to break apart the onion wedges. Turn the peppers skin-side down and add the whole, unpeeled garlic cloves.
Roast the tomato pan above the other vegetable pan for 35–45 minutes, until the produce is completely tender and the edges begin to brown.
Bring the broth to a boil over medium-high heat in a large pot. Remove the garlic skins and add the roasted garlic, remaining roasted produce, smoked paprika, optional cayenne, and ¼ teaspoon fine salt.
Lower the heat as needed and simmer gently for 10 minutes.
Purée directly in the pot with an immersion blender, or carefully process several cups at a time in a countertop blender designed for hot liquids.
Adjust the seasoning with additional salt and freshly ground black pepper. Serve warm.