Silicon Valley compensation in India and LatAm is broadly in line with US median for all software developers ($120k ish). It's not dramatically cheaper in absolute terms than the US low/medium cost of living markets. The idea is that it gets you the best of the best in India, vs. middle of the road in the US.