SF really has no low end on anything. There's no $1 pizza slice when you really need a cheap meal and there's nowhere cheap to live without a punishing commute.
The high end of NY is also much higher than SF. NY is where the first $100M apartment is.
NY is as expensive on average but it's an average of a much wider and range.