I considered moving to SF but chose Austin instead. I refuse to live in a state with such a dysfunctional government and ridiculously high taxes. Some of the same reasons I left NY. You can do tech anywhere. You do not need to live in the bay area. If you really like the city pick a place (like Austin) with inexpensive direct flights and go a few times a month. You'll still save money.
I have lots of respect for people who choose to live in other parts of the world but to suggest that there's not much difference between living in SF or Austin for someone interested in starting or working for a successful technology firm is inaccurate.
I don't count freelance development as "doing tech" as it's equivalent to being a "day-trader" vs banker or "youtube star" vs actor.