For some perspective: when I left Intel circa 2010, I was a Senior Staff Engineer fighting to get promoted to Principal Engineer (followed by Senoir Principal, then Fellow, then Senior Fellow, hahaha). FYI I loved Intel for the first 10 years, and hated the last 12.
I made $130k base salary, $70k typical bonus (EB+ECBP), and stock options (most of which were worthless). This was after over two decades there, started in '88.
Recently, a friend (12 years younger than me) was hired by Intel to work in one of the ML groups. He asked if the starting salary was fair: they offered him $400k. I was angry, jealous, and shocked. I have friends that are STILL there, grinding away at sub-200k base salary after nearly 30 years, and they are too scared to leave.
So this idea of coders flitting from job to job just seems so alien to me. I'm obviously from a different generation. I don't even know what I would ask for pay if I ever left consulting. Headscratcher.