I probably shouldn't post because reading this kind of stuff always annoys me. Let's back up from the "OMG I'm getting scammed" position and see what a "fair" share for a programmer is.
Let's say there are 10 programmers on the team and the company makes $10m in sales that year. How much money should each programmer receive? You might naively think $1m a piece is fair. But there are other people in the company and other costs involved. It is quite common to run companies with a 5% profit. R&D expenditures are usually around 10% of total expenditures. So $10m sales is $500k profit and $9.5 million expenses. $950k of that is spent on R&D, or about $95k per developer. The rest goes to paying other employees, real estate, cost of sales, etc, etc. If you find a way to reduce these other costs in your company, you will almost certainly be able to negotiate a wonderful bonus, but otherwise you really can't complain. It's just hubris to think that your contribution should account for more than everybody else's. Go ahead and fire those sales people. What could possibly go wrong.
But you may not be thinking about sales. Because, hey, we're in "dotcom version 2" these days. Who cares about sales? It's company valuation that really defines "the added value they CREATE", right? Well, please forgive the sarcasm from an old programmer. Moving money from your investor's pockets to your own is an age old and proven business plan. If you feel you deserve a slice of the action, then by all means go for it. My moral outrage does not quite extend to your plight, unfortunately.
You might be thinking, "I'm not talking about those scammy startups that are just pumping their valuation to score a big exit. I'm talking about the true unicorns that are wildly successful. Where's our cut?" Well, if you look at a wide cross section of startups and look at return on investment over a 10-20 year period, it is true that there is some growth. Let me be really clear, though -- you don't deserve that money.
Let's face it. Are you going to take responsibility for the failed projects? Are you going to refund the investors when it turns out that your awesome architecture suddenly implodes and causes the company to miss its window of opportunity? Are you going to pay for those days when you were arguing with your coworker about whether to indent 2 space or 4 spaces instead of getting the damn product out the door? Am I going to pay my employer for wasting their time writing this ridiculous reply instead of fixing their sales system? OF COURSE NOT!
The attitude that "All the success is due to me and all the failure is due to someone else" really bothers me. If you really think you're worth millions, then go ahead and stick that giant price tag on your head. I wouldn't hold my breath about landing that "no downsides, all upsides and BTW make me rich" job, though.