Companies with HQ in Oakland do tend to pay less. For a company with HQ in SF, I think they consider the employee pays for the Oakland savings with a worse commute, and since the employee is willing to work in SF they have to compete with SF salaries.
Oakland residents and San Francisco residents are in the same job market, so they have the same salary.
Exactly. And now with full-remote work, NYC & Tulsa the same job market too.