feat: add claude-opus-4-7 model and update all model costs

Adds Claude Opus 4.7 to the model picker as the new most capable model.
Reorganises model list to reflect current vs previous generation, and
marks Sonnet 4 and Opus 4 as deprecated (retiring June 15, 2026).

Also corrects claude-opus-4-6 context window from 200K to 1M tokens,
and updates pricing comments to reflect May 2026 source date.

Closes #268
This commit is contained in:
2026-05-06 13:18:46 -07:00
committed by Naomi Carrigan
parent 7a1ab89ad8
commit bbbddaceaa
3 changed files with 43 additions and 15 deletions
+8 -5
View File
@@ -144,17 +144,20 @@
const availableModels = [
{ value: "", label: "Default (from ~/.claude)" },
// Current generation (Claude 4.6)
{ value: "claude-opus-4-6", label: "Claude Opus 4.6 (Most Capable)" },
// Current generation (Claude 4.7/4.6/4.5)
{ value: "claude-opus-4-7", label: "Claude Opus 4.7 (Most Capable)" },
{ value: "claude-sonnet-4-6", label: "Claude Sonnet 4.6 (Recommended)" },
{ value: "claude-haiku-4-5-20251001", label: "Claude Haiku 4.5 (Fast & Cheap)" },
// Previous generation (Claude 4.6)
{ value: "claude-opus-4-6", label: "Claude Opus 4.6" },
// Previous generation (Claude 4.5)
{ value: "claude-sonnet-4-5-20250929", label: "Claude Sonnet 4.5" },
{ value: "claude-haiku-4-5-20251001", label: "Claude Haiku 4.5 (Fast & Cheap)" },
{ value: "claude-opus-4-5-20251101", label: "Claude Opus 4.5" },
// Previous generation (Claude 4.x)
{ value: "claude-opus-4-1-20250805", label: "Claude Opus 4.1" },
{ value: "claude-sonnet-4-20250514", label: "Claude Sonnet 4" },
{ value: "claude-opus-4-20250514", label: "Claude Opus 4" },
// Deprecated — retire June 15, 2026
{ value: "claude-sonnet-4-20250514", label: "Claude Sonnet 4 (Deprecated)" },
{ value: "claude-opus-4-20250514", label: "Claude Opus 4 (Deprecated)" },
];
const commonTools = [