From 0973aed9a733636c9085da4320db9641fa65d8bf Mon Sep 17 00:00:00 2001 From: Bruno Perez Date: Fri, 29 May 2026 16:20:00 +0200 Subject: [PATCH] feat: add Claude Opus 4.8 parameters Adds api_key and subscription entries for claude-opus-4-8. Mirrors the 4.7 surface: adaptive thinking plus the effort dial (low/medium/high/ xhigh/max), no manual temperature/top_p/top_k or thinking budget, since 4.8 rejects extended thinking budgets and uses effort to control depth. --- .../claude-opus-4-8-subscription.yaml | 47 +++++++++++++++++++ models/anthropic/claude-opus-4-8.yaml | 47 +++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 models/anthropic/claude-opus-4-8-subscription.yaml create mode 100644 models/anthropic/claude-opus-4-8.yaml diff --git a/models/anthropic/claude-opus-4-8-subscription.yaml b/models/anthropic/claude-opus-4-8-subscription.yaml new file mode 100644 index 0000000..89b4064 --- /dev/null +++ b/models/anthropic/claude-opus-4-8-subscription.yaml @@ -0,0 +1,47 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: anthropic +authType: subscription +model: claude-opus-4-8 +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: disabled + values: + - disabled + - adaptive + group: reasoning + - 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-4-8.yaml b/models/anthropic/claude-opus-4-8.yaml new file mode 100644 index 0000000..e1e8330 --- /dev/null +++ b/models/anthropic/claude-opus-4-8.yaml @@ -0,0 +1,47 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: anthropic +authType: api_key +model: claude-opus-4-8 +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: disabled + values: + - disabled + - adaptive + group: reasoning + - 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