You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this confirmed to work yet? There's no indication in the model selector which version of 4.5 I'm using, nor is there a display of available context.
Anthropic says in their docs you have to be a tier 4 API user to get access:
I think it's worse than that because the regular sonnet 4.5 shows up as having 1mi token context for me, but it gives me the error I mentioned once I got above 200k
Activity
github-actions commentedon Oct 1, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 1, 2025
ill fix this
seannetlife commentedon Oct 1, 2025
smashing me right now too
rekram1-node commentedon Oct 1, 2025
i sent msg to team, not sure if there is a header that needs to be addrd or sometbing to enable the 1m context, otherwise we can just set it to 200k
if not fixed tonight ill do it tmr
luisrudge commentedon Oct 1, 2025
could it be the model name? anthropic says you have to add [1m] to the model id
https://docs.claude.com/en/docs/claude-code/model-config#extended-context-with-%5B1m%5D
rekram1-node commentedon Oct 1, 2025
yes you are correct, so we need to update models.dev
maxandrews commentedon Oct 1, 2025
Is this confirmed to work yet? There's no indication in the model selector which version of 4.5 I'm using, nor is there a display of available context.

Anthropic says in their docs you have to be a tier 4 API user to get access:
rekram1-node commentedon Oct 1, 2025
@maxandrews thx for sharing that I will fix models.dev in meantime
luisrudge commentedon Oct 1, 2025
I think it's worse than that because the regular sonnet 4.5 shows up as having 1mi token context for me, but it gives me the error I mentioned once I got above 200k
luisrudge commentedon Oct 1, 2025
@rekram1-node sorry yeah, your fix would address the usage issue! thanks
rekram1-node commentedon Oct 1, 2025
no prob
rekram1-node commentedon Oct 1, 2025
for those having issues the models.dev should be updated shortly, once it is consider wiping your cache locally and restarting opencode.
To wipe cache:
rm ~/.cache/opencode/models.json
This happens automatically but if u want changes to happen instantly just wipe cache :)
luisrudge commentedon Oct 1, 2025
thanks! that'll fix the usage bar on the top right. any idea when we'll be able to use the 1mi model?
rekram1-node commentedon Oct 1, 2025
So for that you need to be tier 4 are you tier 4 @luisrudge ?
luisrudge commentedon Oct 1, 2025
oh sorry, I had no idea it required a different tier. I'm not cool enough for tier 4 😅
seannetlife commentedon Oct 3, 2025
i'm on the claude max subscription. still seeing only 200k context available. is that expected @rekram1-node ?
rekram1-node commentedon Oct 3, 2025
@seannetlife yes, p sure 1M is only available through api key last I checked
and even if u have one you need tier 4 or custom usage limits from anthropic
seannetlife commentedon Oct 3, 2025
savage. i have an api with tier 4, but paying 200$ p/m for my max subscription and seems wild to not have the 1m
f0o commentedon Feb 3, 2026
SO how to use 1M Claude 4.5 Sonnet for us that are Tier4 or custom rate limit?
Where can I ask opencode to add the
context-1m-2025-08-07beta header?