There -are- ceilings within a given company though, which is why job changes every 1-2 years are pretty normal. Always another company willing to pay 30% more to gain niche experience you have that is stalling progress for them.
When you do finally max out what any one company will pay but have broad experience, you can pivot to independent consulting where $300-1000/hr is normal, and work the number of hours you want.
"Always another company willing to pay 30% more to gain niche experience you have that is stalling progress for them."
I feel like you're living in another reality. I have not had significant increases every year, and I feel that's the experience for the majority of devs. A 30% jump every two years is unimaginable (at least prior to the last 3 years). Maybe you're just a top tier dev and me and everyone I know is just shitty.
Startup stocks are ephemeral lottery tickets unlikely to ever make as much as 30% base pay bumps every 2ish years.
Now as an independent consultant I have no stock at all and still make more than the total comp of any FAANG friends.
Would love to hear your experiences doing this. I took a break from FAANG to do this, and I was making the same (which is great!) but doing utterly boring work (control over my hours was the point). And now I'm back at FAANG making almost double the equivalent since salaries there accelerate after 15+ years exp. You make 150-250 in the lower bands, but like 350-1M after that.
This may be mitigated at FAANG because they vet heavily on leetcode grind.
Even the surgeon would have gone through hell during their 20s and maybe even lower 30s (their best years as a human) to command the $500k+ per year.