According to [1], median daily unreserved parking in SF is $29/day, so at 6 hours you break even. You can likely get much cheaper than this by driving a bit further away. Even at the $38 for New York and $42 for Honolulu you still break even around 8 hours.
[1] https://investinganswers.com/articles/most-ridiculously-expe...