I don't know about SF specifically, but according to [1], California is doing about average for the US and is at the world's top 30 (higher is worse) for deaths per million, so I'd guess it's more #2 than #1.
Is SF doing significantly better than the rest of California, in general? Hopefully now enough people are vaccinated that the rates have dropped.