feat: add claude-sonnet-4-6 (20260217) model support

- costs.ts: add claude-sonnet-4-6-20260217 at $3/$15 per 1M tokens, claude-sonnet-4.6 GitHub alias at $0
- models.ts: add anthropicToGitHubModel mapping for claude-sonnet-4-6-20260217 → claude-sonnet-4.6
- tokens.ts: add 1M token context window for claude-sonnet-4-6-20260217
- providers.ts: bump Anthropic, GitHub Models, and Bedrock default to sonnet-4-6
- AGENTS.md: update default subagent model from claude-sonnet-4.5 to claude-sonnet-4.6
This commit is contained in:
William Valentin
2026-02-17 14:56:41 -08:00
parent 9f57c221a7
commit 0a4cfda787
5 changed files with 8 additions and 4 deletions
+1
View File
@@ -15,6 +15,7 @@ const DEFAULT_CONTEXT_WINDOW = 128_000;
* Hard-coded context window sizes (in tokens) for known models.
*/
export const CONTEXT_WINDOWS: Record<string, number> = {
'claude-sonnet-4-6-20260217': 1_000_000,
'claude-sonnet-4-20250514': 200_000,
'claude-3-5-haiku-20241022': 200_000,
'claude-3-5-sonnet-20241022': 200_000,