From 3f7768ff7a5b783ddc06b8a2bde68603c70dd5e4 Mon Sep 17 00:00:00 2001 From: Guillaume Gay Date: Sat, 11 Jul 2026 12:10:59 +0000 Subject: [PATCH] feat: add anthropic/claude-sonnet-5 --- models/anthropic/claude-sonnet-5.yaml | 94 +++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 models/anthropic/claude-sonnet-5.yaml diff --git a/models/anthropic/claude-sonnet-5.yaml b/models/anthropic/claude-sonnet-5.yaml new file mode 100644 index 0000000..1de85ad --- /dev/null +++ b/models/anthropic/claude-sonnet-5.yaml @@ -0,0 +1,94 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: anthropic +authType: api_key +model: claude-sonnet-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: temperature + type: number + label: Temperature + description: >- + Controls randomness. Lower values make outputs more focused; higher values make them more + varied. + default: 1 + range: + min: 0 + max: 1 + step: 0.1 + group: sampling + applicability: + except: + - thinking.type: + - adaptive + - top_p: + not: null + - path: top_p + type: number + label: Top P + description: >- + Controls nucleus sampling by limiting generation to tokens whose cumulative probability + reaches this value. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + applicability: + except: + - thinking.type: + - adaptive + - temperature: + not: null + - path: top_k + type: integer + label: Top K + description: Limits token sampling to the top K most likely next tokens. + default: 0 + range: + min: 0 + group: sampling + applicability: + except: + thinking.type: + - adaptive + - 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: summarized + 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 + - max + group: reasoning