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
{{ message }}
Repository navigation
Commit 4903c40
Browse filesBrowse the repository at this point in the historyBrowse files
feat: implement Claude Opus 5 support across all providers
Add full Claude Opus 5 support across all provider paths with correct
model definitions, adaptive-thinking handling, fetcher overrides, and
accurate pricing from Anthropic's published docs.
Model definitions (anthropic.ts, bedrock.ts, vertex.ts):
- 1M native context window (no beta header required)
- Adaptive-thinking binary toggle (supportsReasoningBudget/Binary)
- supportsTemperature: false (sampling params return a 400)
- Pricing: input $5.0, output $25.0, cacheWrites $6.25, cacheReads $0.50
per million tokens
Provider handling:
- Add opus-5 to the Bedrock adaptive-thinking guard
- Add claude-opus-5 to OpenRouter and Vercel AI Gateway allow-lists
- Apply Opus 5 overrides (maxTokens, reasoning budget, temperature)
in the openrouter, requesty, and vercel-ai-gateway fetchers
Tests:
- Add Opus 5 coverage across provider and fetcher test suites
0 commit comments