diff --git a/docs/customize/model-roles/chat.mdx b/docs/customize/model-roles/chat.mdx index f08193583..da2ad19e7 100644 --- a/docs/customize/model-roles/chat.mdx +++ b/docs/customize/model-roles/chat.mdx @@ -19,20 +19,20 @@ In Continue, these models are used for normal [Chat](../../ide-extensions/chat/q For the best overall Chat experience, you will want to use a 400B+ parameter model or one of the frontier models. -### Claude Opus 4.1 and Claude Sonnet 4 from Anthropic +### Claude Opus 4.5 and Claude Sonnet 4 from Anthropic -Our current top recommendations are Claude Opus 4.1 and Claude Sonnet 4 from [Anthropic](../model-providers/top-level/anthropic). +Our current top recommendations are Claude Opus 4.5 and Claude Sonnet 4 from [Anthropic](../model-providers/top-level/anthropic). - View the [Claude Opus 4.1 model block](https://hub.continue.dev/anthropic/claude-4-1-opus) or [Claude Sonnet 4 model block](https://hub.continue.dev/anthropic/claude-4-sonnet) on the hub. + View the [Claude Opus 4.5 model block](https://hub.continue.dev/anthropic/claude-4-5-opus) or [Claude Sonnet 4 model block](https://hub.continue.dev/anthropic/claude-4-sonnet) on the hub. ```yaml title="config.yaml" models: - - name: Claude Opus 4.1 + - name: Claude Opus 4.5 provider: anthropic - model: claude-4-1-opus + model: claude-opus-4-5 apiKey: ``` diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index e6f2f9b9a..ee6b56a1b 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -1213,13 +1213,13 @@ export const models: { [key: string]: ModelPackage } = { icon: "anthropic.png", isOpenSource: false, }, - claude41Opus: { - title: "Claude 4.1 Opus", - description: "The most capable model in the Claude 4 series", + claude4_5Opus: { + title: "Claude 4.5 Opus", + description: "The most capable model in the Claude 4.5 series", params: { - model: "claude-opus-4-1-20250805", + model: "claude-opus-4-5", contextLength: 200_000, - title: "Claude 4.1 Opus", + title: "Claude 4.5 Opus", apiKey: "", }, providerOptions: ["anthropic"], diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 420a76fca..b43e24a14 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -168,7 +168,11 @@ export const providers: Partial> = { defaultValue: 100000, }, ], - packages: [models.claude4Sonnet, models.claude41Opus, models.claude35Haiku], + packages: [ + models.claude4Sonnet, + models.claude4_5Opus, + models.claude35Haiku, + ], apiKeyUrl: "https://console.anthropic.com/account/keys", }, moonshot: { diff --git a/packages/llm-info/src/providers/anthropic.ts b/packages/llm-info/src/providers/anthropic.ts index 5c37f24da..176cd3727 100644 --- a/packages/llm-info/src/providers/anthropic.ts +++ b/packages/llm-info/src/providers/anthropic.ts @@ -16,15 +16,35 @@ export const Anthropic: ModelProvider = { recommendedFor: ["chat"], }, { - model: "claude-opus-4-20250514", + model: "claude-opus-4-5", + displayName: "Claude Opus 4.5", + contextLength: 200000, + maxCompletionTokens: 64000, + description: + "Most intelligent model with the highest level of intelligence and capability.", + regex: /claude-(?:4-5-opus|opus-4-5).*/i, + recommendedFor: ["chat"], + }, + // order matters for regex conflicts + { + model: "claude-opus-4.1", + displayName: "Claude Opus 4.1", + contextLength: 200000, + maxCompletionTokens: 32000, + description: "Previous iteration on Opus", + regex: /claude-(?:4[.-]1-opus|opus-4[.-]1).*/i, + recommendedFor: ["chat"], + }, + { + model: "claude-opus-4", displayName: "Claude 4 Opus", contextLength: 200000, maxCompletionTokens: 8192, - description: - "Most intelligent model with the highest level of intelligence and capability.", + description: "Previous iteration on Opus", regex: /claude-(?:4-opus|opus-4).*/i, recommendedFor: ["chat"], }, + { model: "claude-3-5-sonnet-latest", displayName: "Claude 3.5 Sonnet",