{"version":"2.0.77","anchor":"claude-sonnet-4-with-1m-context-beta-support","canonical_anchor":"claude-sonnet-4-with-1m-context-beta-support","heading":"Claude Sonnet 4 with 1M Context Beta Support","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.77\/e\/claude-sonnet-4-with-1m-context-beta-support","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.77","markdown":"### Claude Sonnet 4 with 1M Context Beta Support\n\n**What**\n\nThe max tokens calculation now correctly handles Claude Sonnet 4 models using the 1M context beta.\n\n**Details**\n\n- Previously only models with `[1m]` in the name got 1M max tokens\n- Now also applies when `context-1m-2025-08-07` beta header is used with claude-sonnet-4 models\n- Enables proper token limits for Sonnet 4 + 1M context combinations\n\n**Evidence**\n\n`R$()` at line 1818 (max tokens calculation, contains `\"claude-sonnet-4\"` and `T8A`)"}