I live in San Francisco, and have for many years.
I'm a Sr Software Engineer in enterprise Java development these days (been programming professionally for 30 years). Never wanted to get into management or team leadership, tried a bunch of startups that failed, and am not much of an entrepreneur, though I still love programming.
So at 48 years old, I'm still a Sr Software Engineer, but my salary (or yearly based on hourly, since I'm contracting right now) ends up being about $145k w/bennies, MAYBE $155k without bennies (contracting used to pay up to double what salary could get, but no longer - it's barely more than salary now).
Unless I were to head to a management track, or team leadership, or software architect roles, I'm pretty much stuck at this point. It's not horrible, not at all, but feels strange how one gets to a certain point in this field and wages just STOP, pretty much. The only people I know who have stayed in pure engineering who's salaries have gone higher (but who didn't strike it rich at a startup and aren't entrepreneurs) got there by taking a reasonably high wage at a big company, and going up through small yearly cost-of-living increases.
For some reason, I thought - when starting this career - that my wages would just continue going up and up and up the more experience I got, but that ended up not being true after a certain point.
Just giving my perspective anyway.