Skip to content

Commit 8e0fe0a

Browse files
ofekronclaude
andcommitted
Add claude-opus-5 model support
Anthropic released Claude Opus 5 (claude-opus-5) today, succeeding Opus 4.8. Add it to the subscription alias catalog and update the Claude provider default model in settings. Co-Authored-By: Claude Sonnet 5 <[email protected]>
1 parent 1f86ac6 commit 8e0fe0a

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

backend/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
"sonnet[1m]",
7272
"haiku",
7373
"claude-fable-5",
74+
"claude-opus-5[1m]",
75+
"claude-opus-5",
7476
"claude-opus-4-8[1m]",
7577
"claude-opus-4-8",
7678
"claude-sonnet-5",

backend/scripts/test_anthropic_model_catalog.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def test_subscription_cold_start_uses_current_anthropic_models() -> bool:
3434
"sonnet[1m]",
3535
"haiku",
3636
"claude-fable-5",
37+
"claude-opus-5[1m]",
38+
"claude-opus-5",
3739
"claude-opus-4-8[1m]",
3840
"claude-opus-4-8",
3941
"claude-sonnet-5",

frontend/src/components/SettingsPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ const TEMPLATES: Template[] = [
241241
mode: "subscription",
242242
base_url: "",
243243
config_dir: "",
244-
default_model: "claude-opus-4-8[1m]",
244+
default_model: "claude-opus-5[1m]",
245245
default_reasoning_effort: "medium",
246246
},
247247
},
@@ -3507,7 +3507,7 @@ function ProviderForm({
35073507
type="text"
35083508
value={defaultModel}
35093509
onChange={(e) => setDefaultModel(e.target.value)}
3510-
placeholder="sonnet, glm-4.6, claude-opus-4-8[1m], …"
3510+
placeholder="sonnet, glm-4.6, claude-opus-5[1m], …"
35113511
spellCheck={false}
35123512
/>
35133513
{mode === "edit" && modelOptions !== null && (

0 commit comments

Comments
 (0)