Thats a microeconomy of the bay area because good coders are in such demand there. It's not like that anywhere else in the US. Whats your specialty? Bunch of my in laws are doctors and they're first year out of fellowship accepting offers for 500k+. Even the family law dude is getting 250k. These are employee positions so their malpractice is covered, but I asked and for the radiologist its like 20k a year. Fucking joke. I never made more than 200-ish as a wildly successful contract software architect.
So, move out of the bay area, you're apparently oversaturated with doctors there. Doctors typically make less in desirable places to live, just the facts of life.