diff --git a/models/anthropic/claude-opus-5-subscription.yaml b/models/anthropic/claude-opus-5-subscription.yaml new file mode 100644 index 0000000..e09a7c8 --- /dev/null +++ b/models/anthropic/claude-opus-5-subscription.yaml @@ -0,0 +1,52 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: anthropic +authType: subscription +model: claude-opus-5 +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of output tokens the model may generate. + default: 4096 + range: + min: 1 + group: generation_length + - path: thinking.type + type: enum + label: Thinking mode + description: Controls the Anthropic thinking mode values supported by this model. + default: adaptive + values: + - disabled + - adaptive + group: reasoning + applicability: + except: + output_config.effort: + - xhigh + - max + - path: thinking.display + type: enum + label: Thinking display + description: Controls whether Anthropic returns summarized or omitted thinking content. + default: omitted + values: + - summarized + - omitted + group: reasoning + applicability: + only: + thinking.type: + - adaptive + - path: output_config.effort + type: enum + label: Effort + description: Controls Anthropic response thoroughness and token spend. + default: high + values: + - low + - medium + - high + - xhigh + - max + group: reasoning diff --git a/models/anthropic/claude-opus-5.yaml b/models/anthropic/claude-opus-5.yaml new file mode 100644 index 0000000..54e04f1 --- /dev/null +++ b/models/anthropic/claude-opus-5.yaml @@ -0,0 +1,52 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: anthropic +authType: api_key +model: claude-opus-5 +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of output tokens the model may generate. + default: 4096 + range: + min: 1 + group: generation_length + - path: thinking.type + type: enum + label: Thinking mode + description: Controls the Anthropic thinking mode values supported by this model. + default: adaptive + values: + - disabled + - adaptive + group: reasoning + applicability: + except: + output_config.effort: + - xhigh + - max + - path: thinking.display + type: enum + label: Thinking display + description: Controls whether Anthropic returns summarized or omitted thinking content. + default: omitted + values: + - summarized + - omitted + group: reasoning + applicability: + only: + thinking.type: + - adaptive + - path: output_config.effort + type: enum + label: Effort + description: Controls Anthropic response thoroughness and token spend. + default: high + values: + - low + - medium + - high + - xhigh + - max + group: reasoning diff --git a/packages/modelparams/src/generated/data.ts b/packages/modelparams/src/generated/data.ts index 21b9c99..110106d 100644 --- a/packages/modelparams/src/generated/data.ts +++ b/packages/modelparams/src/generated/data.ts @@ -3756,6 +3756,150 @@ export const CATALOG = [ } ] }, + { + "provider": "anthropic", + "authType": "api_key", + "model": "claude-opus-5", + "params": [ + { + "path": "max_tokens", + "label": "Max tokens", + "description": "Maximum number of output tokens the model may generate.", + "group": "generation_length", + "type": "integer", + "default": 4096, + "range": { + "min": 1 + } + }, + { + "path": "thinking.type", + "label": "Thinking mode", + "description": "Controls the Anthropic thinking mode values supported by this model.", + "group": "reasoning", + "applicability": { + "except": { + "output_config.effort": [ + "xhigh", + "max" + ] + } + }, + "type": "enum", + "default": "adaptive", + "values": [ + "disabled", + "adaptive" + ] + }, + { + "path": "thinking.display", + "label": "Thinking display", + "description": "Controls whether Anthropic returns summarized or omitted thinking content.", + "group": "reasoning", + "applicability": { + "only": { + "thinking.type": [ + "adaptive" + ] + } + }, + "type": "enum", + "default": "omitted", + "values": [ + "summarized", + "omitted" + ] + }, + { + "path": "output_config.effort", + "label": "Effort", + "description": "Controls Anthropic response thoroughness and token spend.", + "group": "reasoning", + "type": "enum", + "default": "high", + "values": [ + "low", + "medium", + "high", + "xhigh", + "max" + ] + } + ] + }, + { + "provider": "anthropic", + "authType": "subscription", + "model": "claude-opus-5", + "params": [ + { + "path": "max_tokens", + "label": "Max tokens", + "description": "Maximum number of output tokens the model may generate.", + "group": "generation_length", + "type": "integer", + "default": 4096, + "range": { + "min": 1 + } + }, + { + "path": "thinking.type", + "label": "Thinking mode", + "description": "Controls the Anthropic thinking mode values supported by this model.", + "group": "reasoning", + "applicability": { + "except": { + "output_config.effort": [ + "xhigh", + "max" + ] + } + }, + "type": "enum", + "default": "adaptive", + "values": [ + "disabled", + "adaptive" + ] + }, + { + "path": "thinking.display", + "label": "Thinking display", + "description": "Controls whether Anthropic returns summarized or omitted thinking content.", + "group": "reasoning", + "applicability": { + "only": { + "thinking.type": [ + "adaptive" + ] + } + }, + "type": "enum", + "default": "omitted", + "values": [ + "summarized", + "omitted" + ] + }, + { + "path": "output_config.effort", + "label": "Effort", + "description": "Controls Anthropic response thoroughness and token spend.", + "group": "reasoning", + "type": "enum", + "default": "high", + "values": [ + "low", + "medium", + "high", + "xhigh", + "max" + ] + } + ] + }, { "provider": "anthropic", "authType": "api_key", diff --git a/packages/modelparams/src/generated/defaults.ts b/packages/modelparams/src/generated/defaults.ts index cbd36bb..ed0b08d 100644 --- a/packages/modelparams/src/generated/defaults.ts +++ b/packages/modelparams/src/generated/defaults.ts @@ -264,6 +264,18 @@ export const DEFAULTS = { "thinking.type": "disabled", "thinking.budget_tokens": 4096, }, + "anthropic/claude-opus-5": { + max_tokens: 4096, + "thinking.type": "adaptive", + "thinking.display": "omitted", + "output_config.effort": "high", + }, + "anthropic/claude-opus-5-subscription": { + max_tokens: 4096, + "thinking.type": "adaptive", + "thinking.display": "omitted", + "output_config.effort": "high", + }, "anthropic/claude-sonnet-4-20250514": { max_tokens: 4096, temperature: 1, diff --git a/packages/modelparams/src/generated/model-ids.ts b/packages/modelparams/src/generated/model-ids.ts index 91b724d..e22843d 100644 --- a/packages/modelparams/src/generated/model-ids.ts +++ b/packages/modelparams/src/generated/model-ids.ts @@ -42,6 +42,8 @@ export const MODEL_IDS = [ "anthropic/claude-opus-4-8", "anthropic/claude-opus-4-8-subscription", "anthropic/claude-opus-4-subscription", + "anthropic/claude-opus-5", + "anthropic/claude-opus-5-subscription", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-sonnet-4-20250514-subscription", "anthropic/claude-sonnet-4-5", diff --git a/packages/modelparams/src/generated/params-by-id.ts b/packages/modelparams/src/generated/params-by-id.ts index d941b55..0f63d4b 100644 --- a/packages/modelparams/src/generated/params-by-id.ts +++ b/packages/modelparams/src/generated/params-by-id.ts @@ -304,6 +304,18 @@ export type ParamsById = { "thinking.type": "disabled" | "adaptive" | "enabled"; "thinking.budget_tokens": number; }; + "anthropic/claude-opus-5": { + max_tokens: number; + "thinking.type": "disabled" | "adaptive"; + "thinking.display": "summarized" | "omitted"; + "output_config.effort": "low" | "medium" | "high" | "xhigh" | "max"; + }; + "anthropic/claude-opus-5-subscription": { + max_tokens: number; + "thinking.type": "disabled" | "adaptive"; + "thinking.display": "summarized" | "omitted"; + "output_config.effort": "low" | "medium" | "high" | "xhigh" | "max"; + }; "anthropic/claude-sonnet-4-20250514": { max_tokens: number; temperature: number;