Good question. Heart rates will vary with elevation.
To what extent, it’s hard to say. For one-time events, it’s best to go by a similar RPE (perceived exertion) to your normal training environment. If you have multiple training venues at different elevations, then doing a threshold test at each is not a bad idea.
For example, I have a client that lives at 8,000′. This week, he’s training at 5,000′. An easy run today was at his 8,000′ anaerobic threshold HR.