Earlier quoted context omitted.
The great advantage of SF is its astonishingly consistent climate. I can't speak to Tel Aviv at all, but I'd say make sure you're comfortable working at typical temperatures there - I think that's a key (and unnoticed) part of productivity.
Tel Aviv's weather is very comfortable. Hasn't snowed in tel aviv since 1951. Summers can get hot and humid, but air conditioners are the norm, and dress code is shorts and flip flops. And Tel Aviv has an awesome beach you can actually swim in. To quote wikipedia: Tel Aviv experiences a Mediterranean climate with hot summers and generally mild, wet winters. The average annual temperature is 20.2 °C (68.4 °F). Average…
~9 months of the year you'd be sweating if you go outside & do even the slightest physical activity, like leisurely walking or cycling (mostly due to the high humidity, it's not actually that hot most of the time).
Berlin is too cold for about 3-4 months per year but the rest of the time is pleasantly cool, like San Francisco or London: bad bathing weather, but good working weather.
Other problems of Tel Aviv: poor transit, the resulting bad traffic, air pollution (it doesn't rain often and occasionally gets sand storms in the summer), noise pollution. Costs are not as prohibitive as London, NYC, or SF but significantly higher than Berlin.
I guess if you enjoy LA, Tel Aviv might be for you?