You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding context-1m-2025-08-07 and adaptive-thinking-2026-01-28 beta headers (PR #152), Opus models still fail at ~200k tokens. The 1M context window is NOT working.
The body.permission: property 'body.permission' is unsupported warning also appears but is cosmetic - not the real problem.
Real Problem
Opus cannot exceed 200k token context despite the 1M header being set.
Description
After adding
context-1m-2025-08-07andadaptive-thinking-2026-01-28beta headers (PR #152), Opus models still fail at ~200k tokens. The 1M context window is NOT working.The
body.permission: property 'body.permission' is unsupportedwarning also appears but is cosmetic - not the real problem.Real Problem
Opus cannot exceed 200k token context despite the 1M header being set.
Possible Causes
@ai-sdk/anthropic@2.0.58may not support 1M contextRelated