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:
@@ -1,6 +1,7 @@
|
||||
/** Approximate cost per million tokens for known models. */
|
||||
export const MODEL_COSTS_PER_MILLION: Record<string, { input: number; output: number }> = {
|
||||
// Anthropic
|
||||
'claude-sonnet-4-6-20260217': { input: 3, output: 15 },
|
||||
'claude-sonnet-4-20250514': { input: 3, output: 15 },
|
||||
'claude-3-5-haiku-20241022': { input: 0.80, output: 4 },
|
||||
'claude-opus-4-20250514': { input: 15, output: 75 },
|
||||
@@ -17,6 +18,7 @@ export const MODEL_COSTS_PER_MILLION: Record<string, { input: number; output: nu
|
||||
// GitHub Copilot (included in subscription, tracked at $0)
|
||||
'gpt-4.1': { input: 0, output: 0 },
|
||||
'gpt-4.1-mini': { input: 0, output: 0 },
|
||||
'claude-sonnet-4.6': { input: 0, output: 0 },
|
||||
'claude-sonnet-4': { input: 0, output: 0 },
|
||||
'claude-haiku-4': { input: 0, output: 0 },
|
||||
// Local / unknown models
|
||||
|
||||
Reference in New Issue
Block a user