From the other angle: There exist companies that do not do location based pay. If you're hired, you get a US level salary, whether you're in San Francisco or Poland or Indonesia.
These positions are phenomenally competitive. You have swung open the doors to the world, and said "Give me what you got!", and you reap the benefits by having a much, much larger pool of applications and talent to sift through, with a lot of truly exceptional people in there - mostly very intelligent, very driven people from poorer countries.
That's how supply and demand works. If you are offer to pay people more, you usually end up hiring a higher quality candidate.
These positions are phenomenally competitive. You have swung open the doors to the world, and said "Give me what you got!", and you reap the benefits by having a much, much larger pool of applications and talent to sift through, with a lot of truly exceptional people in there - mostly very intelligent, very driven people from poorer countries.
That's how supply and demand works. If you are offer to pay people more, you usually end up hiring a higher quality candidate.