Yup, this is the major difference. The COL numbers can be explained away, but if you want space now and a retirement later then you can get by with much less work outside SF.
And don't let me get started ranting about why the majority of white collar workers even need to come in to work as often as we do just for appearances.