No one, not even the Soviets themselves, knew exactly how much it cost but it was a large enough figure that the best estimates about the Soviet defense burden have a margin of error of around 2% of GDP.
FORBES: Russia's Defense Industry - still a real mess