The reality is that "developers" are replaceable, it is not just a perception. And by "developer" I mean developers that have a few years of experience under their belt but no real differentiating skills. This is an important distinction; I've met developers in their 40s with no differentiating skills despite decades of work history and developers fresh out of school that could materially differentiate themselves from ordinary developers. It is an important distinction. Developers with interesting skills are a lot less replaceable.
To be honest, I don't need any "developers" in the generic sense. My company does not hire them. We hire people with material skills that (1) we need and (2) are not widely available in the pool of people that call themselves "developers". I literally can't use the rest no matter how the conversation is framed. We pay well above the median wage for the developers we do hire because we know we are hiring them for their unique and valuable skill set. We absolutely pay for talent but have no interest in average talent.
Most engineers aren't so well-compensated. Most doctors aren't neurosurgeons, either.
I looked at Jane Street in college but it seems they start their developers at $100k with no bonus, i.e., less than Google, Facebook, etc., even though Manhattan is even more expensive than the Valley.