Renting at the destination is underrated and there is a version people miss: libraries and community centres. Free, present in most cities, and they have space to sit that is not a cafe where you have to keep buying things.
For longer stays a one-month gym or climbing membership is often barely more than a few day passes and it gives you the routine that makes a long trip bearable.