[BUG] /model opus (bare alias) resolves to 1M context instead of 200K (v2.1.157 / v2.1.158)
Resolved 💬 2 comments Opened May 30, 2026 by giggs-lynx Closed May 30, 2026
Summary
On the Claude Team plan, the bare opus model alias resolves to a 1M-token context window instead of the standard 200K. The 1M window should only be selected by the explicit opus[1m] alias.
Steps to reproduce
- Claude Code v2.1.157 or v2.1.158, Claude Team plan
- Run
/model opus← bare alias, notopus[1m]
~/.claude/settings.jsonnow contains"model": "opus"
- Run
/context
- It reports
24.4k/1m tokens— a 1M window — for "Opus 4.8 / claude-opus-4-8"
Expected
/model opus→ Opus 4.8 with the standard 200K context window/model opus[1m]→ Opus 4.8 with the 1M context window
The whole point of having two separate aliases (opus vs opus[1m]) is that the bare form is 200K and the [1m] suffix opts into 1M. If bare opus already maps to 1M:
- the
[1m]suffix is meaningless, and - there is no alias to select the 200K Opus window at all — you'd have to fall back to the full model id
claude-opus-4-8.
Notes
/model sonnetcorrectly reports a 200K window, so this auto-upgrade is specific toopus.- If 1M-by-default on Team/Max/Enterprise is intended behavior, then (a) it contradicts the existence of the separate
opus[1m]alias, and (b) there needs to be a documented bare-alias way to select 200K. As shipped, the alias set is inconsistent.
Affected versions
- 2.1.157
- 2.1.158
Environment
- OS: macOS
- Plan: Claude Team
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗