Answer: For Fable models, Sonnet 5 and later, and Opus 4.7 and later, the 1M token context window is enabled by default on Google Cloud's Agent Platform with no `[1m]` suffix needed. For Opus 4.6 and Sonnet 4.6, you enable it by selecting their `[1m]` variant, or for a manually pinned model, by appending `[1m]` to the model ID. Status: Confirmed Entry: tool/claude-code/memory-and-context/1m-token-context-window Revision: 2 Digest: sha256:6211aa3cc8a3c175 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:20Z Last changed: 2026-11-16T12:09:20Z (pre-v2.1.287 default window: — → 200K) Last verified: 2026-11-20T12:21:11Z Next check: 2026-11-21T12:21:11Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of default 1M models | Fable models, Sonnet 5 and later, and Opus 4.7 and later | [1] | 2026-11-20 default behavior | no `[1m]` suffix needed | [1] | 2026-11-20 disable 1M context | CLAUDE_CODE_DISABLE_1M_CONTEXT=1 | [1] | 2026-11-20 1M variant models | Opus 4.6 and Sonnet 4.6 | [1] | 2026-11-20 manual pin method | append `[1m]` to the model ID | [1] | 2026-11-20 pre-v2.1.287 default window | 200K | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code on Google Cloud's Agent Platform". https://code.claude.com/docs/en/google-vertex-ai.md Role: primary. Accessed: 2026-11-20T12:21:11Z Quote: "Fable models, Sonnet 5 and later, and Opus 4.7 and later run with the [1M token context window]" (Supports: default 1M models) Quote: "by default on Google Cloud's Agent Platform, with no `[1m]` suffix needed." (Supports: default behavior) Quote: "To keep a 200K window instead, set [`CLAUDE_CODE_DISABLE_1M_CONTEXT=1`]" (Supports: disable 1M context) Quote: "Opus 4.6 and Sonnet 4.6 reach the 1M window when you select their `[1m]` variant." (Supports: 1M variant models) Quote: "To enable it for a manually pinned model instead, append `[1m]` to the model ID." (Supports: manual pin method) Quote: "Before v2.1.287, the Fable models and Opus 4.7 and later ran with a 200K window by default" (Supports: pre-v2.1.287 default window) Published: 2026-11-20T02:59:45Z Snapshot SHA-256: c290994e64b6ae8c7898f8c69dca71fd3b57689ac882155fedcf5a8d2ceab5ca (captured 2026-11-15T12:21:08Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-15T12:21:10Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:21:11Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:21:11Z Last attempt: 2026-11-20T12:21:11Z Notes and limitations: Extracted automatically from a single official source (section "1M token context window"). Related: https://latestn.com/tool/claude-code/memory-and-context/auto-compact-window How do I set the auto-compact window in Claude Code? https://latestn.com/tool/claude-code/memory-and-context/auto-memory-storage-location Where does Claude Code store auto memory files? https://latestn.com/tool/claude-code/memory-and-context/check-session-context-usage How can I check my own Claude Code session's context usage? https://latestn.com/tool/claude-code/integrations/v2-session-api-reference What functions and types did the Claude Code V2 TypeScript session API include, such as createSession, resumeSession, and SDKSession? https://latestn.com/tool/claude-code/integrations/v2-session-api-removal-version Which Claude Code TypeScript Agent SDK version removed the V2 session API functions like unstable_v2_createSession? https://latestn.com/tool/claude-code/integrations/when-install-prompt-appears When does the Claude Code plugin install prompt appear to users? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-16T12:09:20Z | changed | pre-v2.1.287 default window: — → 200K | [1] 2026-11-16T12:09:20Z | changed | 1M variant models: — → Opus 4.6 and Sonnet 4.6 | [1] 2026-11-16T12:09:20Z | changed | disable 1M context: — → CLAUDE_CODE_DISABLE_1M_CONTEXT=1 | [1] 2026-11-16T12:09:20Z | changed | default behavior: — → no `[1m]` suffix needed | [1] 2026-11-16T12:09:20Z | changed | pre-v2.1.287 behavior: Before v2.1.287 → — | [1] 2026-11-16T12:09:20Z | changed | models needing [1m] variant: Opus 4.6 and Sonnet 4.6 → — | [1] 2026-11-16T12:09:20Z | changed | disable 1M variable: CLAUDE_CODE_DISABLE_1M_CONTEXT=1 → — | [1] 2026-11-16T12:09:20Z | changed | suffix needed for default: no `[1m]` suffix needed → — | [1] 2026-11-13T03:04:20Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/memory-and-context/1m-token-context-window/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/memory-and-context/1m-token-context-window POST: https://latestn.com/dispute/tool/claude-code/memory-and-context/1m-token-context-window with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/memory-and-context/1m-token-context-window?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I enable the 1M token context window in Claude Code on Google Cloud's Agent Platform? Revision 2, last verified 2026-11-20T12:21:11Z. https://latestn.com/tool/claude-code/memory-and-context/1m-token-context-window (accessed 2026-11-21T09:59:30Z). @misc{LatestN_tool_claude_code_memory_and_context_1m_token_context_window_r2, title = {How do I enable the 1M token context window in Claude Code on Google Cloud's Agent Platform?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/memory-and-context/1m-token-context-window}}, note = {Revision 2; digest sha256:6211aa3cc8a3c175; last verified 2026-11-20T12:21:11Z; accessed 2026-11-21T09:59:30Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/memory-and-context/1m-token-context-window