At the end of the day you cannot underestimate the value of being surrounded by high caliber people and how it will impact you. People will always have to pay a premium for that. Which is why cities like SF and NYC will always have a draw for young and ambitious people who don't mind living in rat holes.