Boulder ain’t cheap itself, but at least you can live fairly close to it for fairly cheap.
This surprised me a year ago when I was looking at Boulder as an option to relocate to from the SFBay.. You can get a single-family home there for roughly the same price as much of the Oakland Hills.. nearly everything on the cheaper side was ~$800k.