The rent prices are astronomical.
https://www.rentcafe.com/average-rent-market-trends/us/ca/san-francisco/
But bottom line, I would not live anywhere that is due for a big earthquake, and I believe SF is.
Then rule out living in Seattle, in and around the Mississippi River region, as well as Los Angeles, Alaska and near Yellowstone National Park. Those areas will experience bigger and more damaging quakes than SF. Even New York gets quakes. SF is prepared and built infrastructure to resist quakes, more so than most cities. My bet is on the Cascade region near Seattle for the next big one, or Yellowstone. If Yellowstone caldera erupts, we're all affected no matter where you live.
I was in Santa Clara for the Loma Prieta quake. I live now in Florida with hurricanes. I was raised in Amarillo with the tornadoes. Quakes are an E-ticket ride that is over in minutes. Tornadoes give you lots of time to worry about them before they strike, and hurricanes keep you on edge for days.
I’ll take quakes.