From a94eb66ea566d72f56ab27966e0385742bd58a58 Mon Sep 17 00:00:00 2001 From: Bruno Perez Date: Tue, 9 Jun 2026 22:13:26 +0200 Subject: [PATCH 1/2] Add Claude Fable 5 model parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds API-key and subscription parameter files for claude-fable-5. Same surface as Opus 4.8 (adaptive thinking, effort up to max, no sampling params) with one difference: thinking.type only accepts adaptive — an explicit disabled value is rejected, the parameter must be omitted to run without thinking. --- .../claude-fable-5-subscription.yaml | 45 +++++++++++++++++++ models/anthropic/claude-fable-5.yaml | 45 +++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 models/anthropic/claude-fable-5-subscription.yaml create mode 100644 models/anthropic/claude-fable-5.yaml diff --git a/models/anthropic/claude-fable-5-subscription.yaml b/models/anthropic/claude-fable-5-subscription.yaml new file mode 100644 index 0000000..41a4509 --- /dev/null +++ b/models/anthropic/claude-fable-5-subscription.yaml @@ -0,0 +1,45 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: anthropic +authType: subscription +model: claude-fable-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: Only adaptive thinking is supported; omit the parameter entirely to run without thinking (an explicit disabled value is rejected). + values: + - 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-fable-5.yaml b/models/anthropic/claude-fable-5.yaml new file mode 100644 index 0000000..245a479 --- /dev/null +++ b/models/anthropic/claude-fable-5.yaml @@ -0,0 +1,45 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: anthropic +authType: api_key +model: claude-fable-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: Only adaptive thinking is supported; omit the parameter entirely to run without thinking (an explicit disabled value is rejected). + values: + - 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 From 6e9de91b8e94e5bfeb6add42816f0ea854cf5a07 Mon Sep 17 00:00:00 2001 From: Bruno Perez Date: Tue, 9 Jun 2026 22:20:52 +0200 Subject: [PATCH 2/2] Regenerate modelparams package data for Claude Fable 5 --- packages/modelparams/src/generated/data.ts | 124 ++++++++++++++++++ .../modelparams/src/generated/defaults.ts | 10 ++ .../modelparams/src/generated/model-ids.ts | 2 + .../modelparams/src/generated/params-by-id.ts | 12 ++ 4 files changed, 148 insertions(+) diff --git a/packages/modelparams/src/generated/data.ts b/packages/modelparams/src/generated/data.ts index 18c6753..0f8611e 100644 --- a/packages/modelparams/src/generated/data.ts +++ b/packages/modelparams/src/generated/data.ts @@ -1204,6 +1204,130 @@ export const CATALOG = [ } ] }, + { + "provider": "anthropic", + "authType": "api_key", + "model": "claude-fable-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": "Only adaptive thinking is supported; omit the parameter entirely to run without thinking (an explicit disabled value is rejected).", + "group": "reasoning", + "type": "enum", + "values": [ + "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-fable-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": "Only adaptive thinking is supported; omit the parameter entirely to run without thinking (an explicit disabled value is rejected).", + "group": "reasoning", + "type": "enum", + "values": [ + "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 a03ce9c..e64886f 100644 --- a/packages/modelparams/src/generated/defaults.ts +++ b/packages/modelparams/src/generated/defaults.ts @@ -86,6 +86,16 @@ export const DEFAULTS = { top_p: 1, top_k: 0, }, + "anthropic/claude-fable-5": { + max_tokens: 4096, + "thinking.display": "omitted", + "output_config.effort": "high", + }, + "anthropic/claude-fable-5-subscription": { + max_tokens: 4096, + "thinking.display": "omitted", + "output_config.effort": "high", + }, "anthropic/claude-haiku-4": { max_tokens: 4096, temperature: 1, diff --git a/packages/modelparams/src/generated/model-ids.ts b/packages/modelparams/src/generated/model-ids.ts index 6ce0b76..33a1830 100644 --- a/packages/modelparams/src/generated/model-ids.ts +++ b/packages/modelparams/src/generated/model-ids.ts @@ -18,6 +18,8 @@ export const MODEL_IDS = [ "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-3-opus-20240229", "anthropic/claude-3-opus-latest", + "anthropic/claude-fable-5", + "anthropic/claude-fable-5-subscription", "anthropic/claude-haiku-4", "anthropic/claude-haiku-4-5", "anthropic/claude-haiku-4-5-20251001", diff --git a/packages/modelparams/src/generated/params-by-id.ts b/packages/modelparams/src/generated/params-by-id.ts index 88b821b..67765f8 100644 --- a/packages/modelparams/src/generated/params-by-id.ts +++ b/packages/modelparams/src/generated/params-by-id.ts @@ -112,6 +112,18 @@ export type ParamsById = { top_p: number; top_k: number; }; + "anthropic/claude-fable-5": { + max_tokens: number; + "thinking.type": "adaptive"; + "thinking.display": "summarized" | "omitted"; + "output_config.effort": "low" | "medium" | "high" | "xhigh" | "max"; + }; + "anthropic/claude-fable-5-subscription": { + max_tokens: number; + "thinking.type": "adaptive"; + "thinking.display": "summarized" | "omitted"; + "output_config.effort": "low" | "medium" | "high" | "xhigh" | "max"; + }; "anthropic/claude-haiku-4": { max_tokens: number; temperature: number;