claude-code - 💡(How to fix) Fix [BUG] /model opus (bare alias) resolves to 1M context instead of 200K (v2.1.157 / v2.1.158)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

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.

Root Cause

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.

RAW_BUFFERClick to expand / collapse

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"
  3. 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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] /model opus (bare alias) resolves to 1M context instead of 200K (v2.1.157 / v2.1.158)