I'd propose that you should also calculate how many years of 300k in the Bay Area it'd take to retire in Prague vs years making 100k in Prague.
I ran these numbers a couple years ago, and it was costing me about ~$8000/month to live in the Bay Area. I estimated we could live in Tokyo or much of the USA at a similar quality of life for $4000/month. With $310k/year (taking home $190k) that meant I was able to save about $90k a year. In Tokyo, I could only get companies to offer about $140k at the time, and it was about the same for remote work in the USA. That meant I could save about $50k/year.
You can make a strong argument that saving $50k and living in one location is better than saving $90k in another, but it's good to have all the data at hand to make the best decision for yourself.
Hard to know this 30 years ahead of time. Maybe after 30 years in the Bay Area you retire to Hawaii? Or lower COL like Portland? Or even a town in Japan? You have tons of choice if you’ve been saving at 500k. If you’ve been saving at Eastern Europe salaries, your options narrow
With 100K in Prague you can retire/never needing to work for money after 3 to 10 years Depending on your habits. Not sure how many Bay Area employees can do that staying there.
I am somewhere close and earn 300K which is about 30 times of what you need per year. One year of works covers all my expenses living like a local for the rest of my life in capital returns even at a modest 3.5% SWR.
I take that over 500K Job (of which over 30% goes to US Gov, while i pay max 10%) any time, heck I take it over a 1000K Job in SF/NY etc.