[BUG] /model opus (bare alias) resolves to 1M context instead of 200K (v2.1.157 / v2.1.158)

Status Fixed / completed
Reported on v2.1.157
Maintainer reply None cached
Activity 3 comments · opened May 30, 2026 · 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

  1. Claude Code v2.1.157 or v2.1.158, Claude Team plan
  2. Run /model opus ← bare alias, not opus[1m]
  • ~/.claude/settings.json now contains "model": "opus"
  1. 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 sonnet correctly reports a 200K window, so this auto-upgrade is specific to opus.
  • 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

View original on GitHub ↗

3 Comments

github-actions[bot] · 4 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/53780
  2. https://github.com/anthropics/claude-code/issues/56080
  3. https://github.com/anthropics/claude-code/issues/54218

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

giggs-lynx · 4 months ago

https://code.claude.com/docs/en/model-config#extended-context

Availability varies by model and plan. On Max, Team, and Enterprise plans, Opus is automatically upgraded to 1M context with no additional configuration. This applies to both Team Standard and Team Premium seats. Sonnet with 1M context is not part of the automatic upgrade and requires usage credits on every subscription plan, including Max.
github-actions[bot] · 2 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.