If you're working remotely, then you just tell <big tech company> you live in NYC/SF. If they still offer a subpar salary, then you get an offer at <big tech company #2> and bid them against each other. Salary negotiation is a two-way street. Companies that hire remote workers care more about results, which has nothing to do with the cost of living in your location.