A friend tweeted about how expensive the hotels near Moscone Center in San Francisco are (for Macworld). I've tried more reasonably-priced hotels near Union Square (which isn't too far a walk), but none of them are worthy of a recommendation.
In most cities, I'd set the bar of affordability lower, but this is San Francisco, so let's say under $200/night. (And ideally the hotel has free, reliable WiFi or in-room internet.)