The average cost of a flat in San Francisco was over $1mm so almost twice that of London. In my.last visit I thought about moving because the deals seemed so good compared to the Bay.
That all said: SF certainly ain't no London. I'd still pick London any day of the week.
Why's that? I've been working in London for a month and was looking into SF for next year. (So far I really like London.)