The best time to visit San Francisco is in the fall (September through November) when the city’s “Indian Summer” sets in and kids have returned to school, making for some of the city’s warmest weather and cheaper all-around prices.
https://www.tripsavvy.com/best-time-to-visit-san-francisco-4176493