Claude apps gateway configuration changedclaude-apps-gateway-config
Nearest release: v2.1.334, published 3 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 1 Dec 2026 22:20 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 1 Dec 2026 22:37 UTC.
Upstream edited
Recorded here
Lines+6added
Lines−1removed
From line
1,282
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits82to this page, all time
The whole hunk
from line 1282, old and new numbered
/
from line 1282
12821282
12831283#### Context window in terminal sessions
12841284
1285Terminal sessions signed in through `/login` use the 1M context window for Opus 4.7 and later, Sonnet 5 and later, and the Fable models. The model ID needs no `[1m]` suffix, and sessions compact at about 967K tokens. Before Claude Code v2.1.287 on the developer's machine, Claude Code treated the Opus and Fable models as having a 200K window unless the model ID ended in `[1m]`.
1285Terminal sessions signed in through `/login` use the 1M context window for Opus 4.7 and later, Sonnet 5 and later, and the Fable models. By default, sessions compact near the [auto-compact window tuned for the model](https://code.claude.com/docs/en/model-config.md#compaction-near-400k-on-a-1m-model), which is 400K tokens on current models. To get these defaults on a machine with an older Claude Code version, have the developer update:
1286
1287* **Before v2.1.334**: sessions with the 1M window compacted at about 967K tokens
1288* **Before v2.1.287**: Claude Code treated the Opus and Fable models as having a 200K window unless the model ID ended in `[1m]`
1289
1290To keep the full window in these sessions, put the [`modelSettings` entries for your organization](https://code.claude.com/docs/en/model-config#compaction-near-400k-on-a-1m-model) in the policy's `cli` block.
12861291
12871292To have terminal sessions compact at the 200K boundary instead, set the [auto-compact window](https://code.claude.com/docs/en/model-config.md#set-the-auto-compact-window) in the policy's `env`:
12881293
No line in this hunk matches that.