There are plenty of companies outside the Bay Area that pay comparable salaries. I have first or very close second hand experience with LA, Chicago, Seattle, Colorado, and New York. If other companies want to hire foreigners they should be willing to pay more.