Glassdoor estimates are low, and they do not include equity, bonuses, etc, which can easily add up to more than the base. How do you think all those people are paying their insane rent? The best set up is to get Bay Area money without living there. It’s doable. :-)
Purchasing power is also better in the US seeing how we get to keep more of our money, and businesses are taxed less as well. This is reflected in per capita GDP.