They pay top-end for the local market. However, if a competitor comes in paying Bay Area salaries for remote work, that can be a lot higher than local wages.
The thing, specifically with Canada, is that they don't have a big home grown VC landscape and a few home grown firms. This, coupled with their out of control immigration quotas, creates a market where there's an oversupply.
Now, that creates two markets, those who can't move to the US (won't pass the higher bar for US immigration) and those who won't. I've seen SV comp for the latter. But we're talking O-1 tier engineers.