...
India invested at least 5 billion in that program the disagreement was on tech transfer which was understandable if India had its hands on T50 tech Russia will lose its 4th gen fighter market in India, It's amazing how naive the Indian policymakers were
They did not. They signed an agreement, paid some money upfront, then canceled the deal. Just read the news article.
Here, another news source claiming India spent $295 million before they walked out.
So no, sorry, India didn't pay for the PAK-FA development program.
That sort of money wouldn't be enough to even build a flying prototype.
Let alone a dozen.
That money paid for the initial study for the twin-seater variant which ended up being canceled.
Just consider this. Russia has just invested into a $11 billion pipeline for natural gas into Germany.
IIRC the split is 50-50 between Gazprom and foreign investors.
The gas pipeline into China, Power of Siberia, is expected to cost $50-70 billion of which the Chinese won't pay a cent up front. They only have a deal to pay for a certain amount of gas.