One workout, a stack of adaptations
Hill reps hit several things in a single session. You build real leg power in your glutes, hamstrings, calves, and quads because you are driving your body up against gravity. You push your aerobic system hard, often up near VO2 max on the steeper efforts, which raises your ceiling. And you sharpen running economy, meaning you burn less energy at a given pace, which is the thing that quietly wins long races. The strength and stride stiffness you build carry over to your flat running too.
It is not just gym-bro lore either. In a 2013 study in the International Journal of Sports Physiology and Performance, runners who did six weeks of high-intensity uphill intervals improved their running economy and ran roughly 2% faster in a 5K time trial, and the steepest, hardest reps drove the biggest economy gains. For a trail runner the payoff is even better, because your races are full of climbs, so this is some of the most race-specific work you can do.