I am a German developer with a German developer salary (between 60k€ and 70k€ to provide a ballpark estimate) and I live in the center of a large, well-known German city.
The area is extremely nice except for parking and I live in a ~70sqm modernized apartment with my own home office and enough room for tech gadgets, a large couch, a large bed and a balcony... etc.
In the evening, restaurants, bars, cinema and nice parks are < 15mins walk away. Grocery store from cheap to luxurious are in the same range. I have access to good healthcare (aside from getting an appointment for specialists it's fine), insured the most important aspects of my life and if I want to go to another large capital I need 20mins to go to Central Station and take a train or 20mins to the airport and take a flight.
Aside from Apple and depending on what you want, all major Silicon Valley firms provide jobs in at least one of the larger German cities, notably Munich though.
I honestly do not understand why people are drawn to Silicon Valley so much - unless it's simply about the "environment of minds" if you are willing to sacrifice all other aspects of life to it to some degree (worse living situation, worse working conditions...). For innovation and startup life, I suppose it makes sense. But for a normal software engineer?
Can somebody explain this to me?