But the salary differential between top engineer in the Bay Area vs. top engineer in the Midwest is more like 2-3x than 10-15x.
Salary for a top individual contributor engineer in the Bay Area (full stack), outside of specific skillsets like ML/AI, will top out around $200k.
Midwest, someone with the same skillset would probably make $125-150k.
I'm looking at Levels.fyi and at Google you only start to break $200k salary at L6 (Staff Engineer).