I've worked for two separate companies as a remote worker, and with neither did I have to take a discount. Most companies want to pay you for the value you bring, and are not willing to lowball and risk losing highly-talented employees.
There are a few companies out there that play this game (Gitlab [1]), but many others (Basecamp [2]) that pay you what you're worth regardless of location.
[1] https://about.gitlab.com/handbook/people-operations/global-c...