Skip to content

fix(zen): 1M context window beta not sent for Opus 4.6 and Sonnet 4.5 #12452

@ruslan-kurchenko

Description

@ruslan-kurchenko

The context-1m-2025-08-07 beta header is only applied to models matching claude-sonnet-*. Opus 4.6 and Sonnet 4.5 silently fall back to the default context limit despite supporting 1M tokens.

Affects both the direct Anthropic API path (anthropic-beta header) and Bedrock path (anthropic_beta body field).

Affected code: packages/console/app/src/routes/zen/util/provider/anthropic.ts

Metadata

Metadata

Assignees

Labels

zenRelates to Zen

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions