1M token context beta ends for Claude Sonnet 4.5 and Sonnet 4 on April 30, 2026
Anthropic announced that after 30 April 2026 the `context-1m-2025-08-07` beta header has no effect on `claude-sonnet-4-5-20250929` and `claude-sonnet-4-20250514`, and requests over the standard 200k-token window will error. Migrating to Sonnet 4.6 or Opus 4.6 is the stated path.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Action neededAny long-document or long-agent workload on Sonnet 4.5 or Sonnet 4 hard-fails after 30 April 2026 — this is a breakage, not a degradation. Get the migration to Sonnet 4.6 or Opus 4.6 scheduled and shipped before that date; both serve the full 1M window at standard pricing.
Engineer
What to change, what breaks, what to test Action neededMove requests exceeding 200k tokens off `claude-sonnet-4-5-20250929` and `claude-sonnet-4-20250514` to `claude-sonnet-4-6` or `claude-opus-4-6` before 30 April 2026. After that, `context-1m-2025-08-07` is a no-op and oversized requests error instead of truncating. Drop the header entirely on the 4.6 models.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an API-only change and does not affect the Claude apps.
The 1M-token context beta on Sonnet 4.5 and Sonnet 4 was given an end date of 30 April 2026. After that, sending context-1m-2025-08-07 is a no-op and any request exceeding 200k tokens returns an error rather than silently truncating — so long-document and long-agent workloads on these models fail outright unless they move.
The migration targets named by Anthropic are claude-sonnet-4-6 and claude-opus-4-6, which serve the full 1M window at standard pricing with no beta header following the 13 March 2026 GA.
This is dated to the announcement, 30 March 2026; the effective break is 30 April 2026. Sonnet 4 was separately deprecated in April 2026 and retired in June 2026, so for that model the context change was the first of two deadlines.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
context-1m-2025-08-07 beta header | removed | yes | claude-sonnet-4-5-20250929 claude-sonnet-4-20250514 |
Terms on this page: Deprecation, Retirement