I've made this point before, but since it's a bit relevant here, I'll make it again (sorry to repeat): If you're primarily interested in making money, or if you love the startup but not the compensation, you should NOT work at that startup. If you're a good developer, you can get a better deal by working at an established company and simply investing. This has been true for every startup offer I've ever seen. Ever. I…
AFAIK, working at Google et. al. pays well, but for most people your career will cap out at senior engineer. At other big companies (banks, telecom, oil, etc) a good Google dev can climb the tech career ladder quickly and make more money, get more responsibility (if that's your thing). Do you want to be a small fish at Google, or a big fish at Goldman Sachs?
That being said, at this point in my life/career, I'm not worried about being a big fish at either Google or Goldman Sachs.