I can't comment about India but in Eastern Europe software engineers have a comparable purchasing power than in the US - it's just that it's achieved at ~50% of the wages because of cost of living differences.
Even though the latter is probably still an approximation to the actual skills level of a developer.