I make $40k after tax, in Russia, employed locally, and while that doesn't sound like much to an American ear, I've bought my apartment for $90k a year before. I seriously doubt anyone is going to pay me $400k before tax in the US as you suggested. I'm 32 by the way. And I never work more than 40 hr/week.
I don't see how you can underpay a dev in Russia. Maybe you can by hiring in really small and depressive towns? Or promising rocket science job?