All things being equal, SF has some of the most desirable weather on the planet, so it will always have an high cost of living due to excess demand.
(See what I did there?)
there would be more supply if not for restrictive zoning laws. and more supply = lower prices
How many are homeless?
What does the median worker spend in money and time commuting from somewhere further?