This is decently big news in the taxi/rideshare wars: SF's Yellow Cab is doing what New York City taxis have been doing for a couple decades and finally offering a flat-rate fare to SFO from anywhere in the city. The company is offering the fare through its app, and in other news, Yellow Cab has an app.
Yes, the SF Yellow Cab app can be downloaded to your iPhone or Android, and on it, as long you as make the request 30 minutes before you need the cab, you can get a $35 flat rate to the airport with no up-charges, and no worries about surge pricing. Just use the promo code GOSFO when you order the cab.
Of course, even though NY cabs have offered flat fares to JFK since the 90s (it was once $35 from anywhere in Manhattan, and it's now $52), SF Yellow Cab is only offering this as a temporary promotion during August and September.
But maybe if enough of you use it they'll keep it around longer.
It should be noted that an airport shuttle trip for two people will run you $32 to $34, and an UberX trip will run you about $38 to $44, including a $3.85 SFO surcharge. A regular metered taxi to SFO will easily run you $50 plus tip, if not more.