The average price of a detached home in Metro Vancouver (includes suburbs of Vancouver) in February was $1.76 million. That's down from $1.82 million a year earlier. 99.7% of properties in the City of Vancouver proper are valued at more than $1 million. The average price for a detached home in the City of Vancouver in 2016 was $2.77 million.
I've had some trouble finding closely comparable values but it seems like the median SF detached home price is ~$1 million. Even considering the exchange rate, it seems like Vancouver is more expensive.
Certainly when one compares typical incomes Vancouver is dramatically less affordable than San Francisco.