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
@@ -259,6 +259,7 @@ export function anthropicToGitHubModel(anthropicModel: string): string | undefin
// Sonnet family
'claude-sonnet-4-20250514': 'claude-sonnet-4',
'claude-sonnet-4-5-20250929': 'claude-sonnet-4.5',
'claude-sonnet-4-6-20260217': 'claude-sonnet-4.6',
// Opus family
'claude-opus-4-20250514': 'claude-opus-4',
'claude-opus-4-5-20250918': 'claude-opus-4.5',