Claude Opus can use a 1M context window but I’ve found it to degrade significantly past 250k in practice.
And Opus is absolutely terrible at guessing how many tokens it's used. Having that as a number that the model can access itself would be a real boon.