This really speaks to the 'cost curve' of developing flying weapons platforms over time. Over time, we've bought fractions of the numbers that were bought in decades part while spending great multiples more in cost. At some point (soon), future platforms will cost so much that we just simply will not be able to afford them...at all. When you consider that we *never* want to put Americans into combat with anything less than every advantage we can give them, it makes for a difficult challenge that we have not really solved.
The problem is like going to GM and asking for a revolutionary car that will be based on technology not yet developed with the expectation to buy 1000+ cars. But, as this project hits ground truth, the price for development and production is so high that you only end up getting 200 cars. That means all those years of R&D and production are spread over 1/5th the products--cost per product goes WAY up. While the cost of the first few jets was high, as expected, the last (188th) Raptor off the assembly line was $94M...and if we'd bough 700+ as needed, the cost would have come down into the F-15 price territory with a capability jump that cannot even be described if you don't know the biz.
In the Raptor's case, while the cost is great, so is the result in terms of capability. Adversaries will chase the F-22s capabilities for decades to come (and fall short...took the EU 30+ years to equal/exceed the F-16 with the Typhoon, and at far greater cost). Fact is: the Raptor is a revolutionary fighter with a dominance value of the likes never seen before. Other than the advent of the jet fighter, no greater a jump has been seen when going from one generation platform to the next, such as the F-4 to the F-15. As someone who 'works' within the F-22A program, the greatest tragedy is that we did not buy enough of them.