I've crashed at places like the StartupHouse in SF for very low rents. They had closet sized private rooms or bunk bed rooms for even cheaper. A private room in a shared apartment down in East Palo Alto was probably the best valley place I stayed, for $600/month. It was easy to Caltrain anywhere needed, including SF. Young people are far more likely to accept college dorm like crowded living conditions like this, though.