From 5527fde5ab26e6d0d6f427fe7a0c72bf2d854cf5 Mon Sep 17 00:00:00 2001 From: Bruno Perez Date: Sat, 23 May 2026 03:46:52 -0700 Subject: [PATCH 1/4] feat: add Moonshot AI (Kimi) model parameters --- models/moonshot/kimi-k2.5.yaml | 42 +++++++++++++ models/moonshot/kimi-k2.6.yaml | 43 ++++++++++++++ models/moonshot/moonshot-v1-128k.yaml | 86 +++++++++++++++++++++++++++ models/moonshot/moonshot-v1-32k.yaml | 86 +++++++++++++++++++++++++++ models/moonshot/moonshot-v1-8k.yaml | 86 +++++++++++++++++++++++++++ src/client/logos/moonshot.svg | 3 + src/data/display.ts | 6 ++ 7 files changed, 352 insertions(+) create mode 100644 models/moonshot/kimi-k2.5.yaml create mode 100644 models/moonshot/kimi-k2.6.yaml create mode 100644 models/moonshot/moonshot-v1-128k.yaml create mode 100644 models/moonshot/moonshot-v1-32k.yaml create mode 100644 models/moonshot/moonshot-v1-8k.yaml create mode 100644 src/client/logos/moonshot.svg diff --git a/models/moonshot/kimi-k2.5.yaml b/models/moonshot/kimi-k2.5.yaml new file mode 100644 index 0000000..115b417 --- /dev/null +++ b/models/moonshot/kimi-k2.5.yaml @@ -0,0 +1,42 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: moonshot +authType: api_key +model: kimi-k2.5 +params: + - path: max_completion_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the chat completion. + range: + min: 1 + group: generation_length + - path: thinking.type + type: enum + label: Thinking mode + description: >- + Controls whether Kimi reasons step by step before answering, or responds directly when set to + disabled. + values: + - enabled + - disabled + group: reasoning + - path: tool_choice + type: enum + label: Tool choice + description: >- + Controls whether the model may call tools. Moonshot supports auto and none; required is not + supported. + default: auto + values: + - auto + - none + group: tooling + - path: response_format.type + type: enum + label: Response format + description: Forces the response into plain text or a JSON object. + default: text + values: + - text + - json_object + group: output_format diff --git a/models/moonshot/kimi-k2.6.yaml b/models/moonshot/kimi-k2.6.yaml new file mode 100644 index 0000000..1db8197 --- /dev/null +++ b/models/moonshot/kimi-k2.6.yaml @@ -0,0 +1,43 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: moonshot +authType: api_key +model: kimi-k2.6 +params: + - path: max_completion_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the chat completion. + range: + min: 1 + group: generation_length + - path: thinking.type + type: enum + label: Thinking mode + description: >- + Controls whether Kimi reasons step by step before answering. Thinking is enabled by default; + set disabled to respond directly. + default: enabled + values: + - enabled + - disabled + group: reasoning + - path: tool_choice + type: enum + label: Tool choice + description: >- + Controls whether the model may call tools. Moonshot supports auto and none; required is not + supported. + default: auto + values: + - auto + - none + group: tooling + - path: response_format.type + type: enum + label: Response format + description: Forces the response into plain text or a JSON object. + default: text + values: + - text + - json_object + group: output_format diff --git a/models/moonshot/moonshot-v1-128k.yaml b/models/moonshot/moonshot-v1-128k.yaml new file mode 100644 index 0000000..f8691bb --- /dev/null +++ b/models/moonshot/moonshot-v1-128k.yaml @@ -0,0 +1,86 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: moonshot +authType: api_key +model: moonshot-v1-128k +params: + - path: max_completion_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the chat completion. + 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: 0.3 + range: + min: 0 + max: 1 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: >- + Controls nucleus sampling by limiting generation to tokens within the selected cumulative + probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: n + type: integer + label: Number of completions + description: How many chat completion choices to generate for the request. + default: 1 + range: + min: 1 + max: 5 + group: generation_length + - path: presence_penalty + type: number + label: Presence penalty + description: >- + Penalizes tokens that have already appeared, encouraging the model to talk about new topics. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes tokens by how often they have appeared, reducing verbatim repetition. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: tool_choice + type: enum + label: Tool choice + description: >- + Controls whether the model may call tools. Moonshot supports auto and none; required is not + supported. + default: auto + values: + - auto + - none + group: tooling + - path: response_format.type + type: enum + label: Response format + description: Forces the response into plain text or a JSON object. + default: text + values: + - text + - json_object + group: output_format diff --git a/models/moonshot/moonshot-v1-32k.yaml b/models/moonshot/moonshot-v1-32k.yaml new file mode 100644 index 0000000..5a0d4fd --- /dev/null +++ b/models/moonshot/moonshot-v1-32k.yaml @@ -0,0 +1,86 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: moonshot +authType: api_key +model: moonshot-v1-32k +params: + - path: max_completion_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the chat completion. + 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: 0.3 + range: + min: 0 + max: 1 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: >- + Controls nucleus sampling by limiting generation to tokens within the selected cumulative + probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: n + type: integer + label: Number of completions + description: How many chat completion choices to generate for the request. + default: 1 + range: + min: 1 + max: 5 + group: generation_length + - path: presence_penalty + type: number + label: Presence penalty + description: >- + Penalizes tokens that have already appeared, encouraging the model to talk about new topics. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes tokens by how often they have appeared, reducing verbatim repetition. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: tool_choice + type: enum + label: Tool choice + description: >- + Controls whether the model may call tools. Moonshot supports auto and none; required is not + supported. + default: auto + values: + - auto + - none + group: tooling + - path: response_format.type + type: enum + label: Response format + description: Forces the response into plain text or a JSON object. + default: text + values: + - text + - json_object + group: output_format diff --git a/models/moonshot/moonshot-v1-8k.yaml b/models/moonshot/moonshot-v1-8k.yaml new file mode 100644 index 0000000..913c851 --- /dev/null +++ b/models/moonshot/moonshot-v1-8k.yaml @@ -0,0 +1,86 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: moonshot +authType: api_key +model: moonshot-v1-8k +params: + - path: max_completion_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the chat completion. + 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: 0.3 + range: + min: 0 + max: 1 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: >- + Controls nucleus sampling by limiting generation to tokens within the selected cumulative + probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: n + type: integer + label: Number of completions + description: How many chat completion choices to generate for the request. + default: 1 + range: + min: 1 + max: 5 + group: generation_length + - path: presence_penalty + type: number + label: Presence penalty + description: >- + Penalizes tokens that have already appeared, encouraging the model to talk about new topics. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes tokens by how often they have appeared, reducing verbatim repetition. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: tool_choice + type: enum + label: Tool choice + description: >- + Controls whether the model may call tools. Moonshot supports auto and none; required is not + supported. + default: auto + values: + - auto + - none + group: tooling + - path: response_format.type + type: enum + label: Response format + description: Forces the response into plain text or a JSON object. + default: text + values: + - text + - json_object + group: output_format diff --git a/src/client/logos/moonshot.svg b/src/client/logos/moonshot.svg new file mode 100644 index 0000000..97eb2b3 --- /dev/null +++ b/src/client/logos/moonshot.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/data/display.ts b/src/data/display.ts index e4e2b2c..d6505f6 100644 --- a/src/data/display.ts +++ b/src/data/display.ts @@ -10,6 +10,7 @@ const PROVIDER_LABELS: Record = { deepseek: "DeepSeek", cohere: "Cohere", perplexity: "Perplexity", + moonshot: "Moonshot AI", }; const MODEL_LABEL_OVERRIDES: Record = { @@ -20,6 +21,11 @@ const MODEL_LABEL_OVERRIDES: Record = { "openai/o3": "o3", "openai/o3-mini": "o3-mini", "openai/o4-mini": "o4-mini", + "moonshot/kimi-k2.6": "Kimi K2.6", + "moonshot/kimi-k2.5": "Kimi K2.5", + "moonshot/moonshot-v1-8k": "Moonshot v1 8K", + "moonshot/moonshot-v1-32k": "Moonshot v1 32K", + "moonshot/moonshot-v1-128k": "Moonshot v1 128K", }; const AUTH_LABELS: Record = { From 5e0eda93a861680c6411d75296d9ea5b882e9ffb Mon Sep 17 00:00:00 2001 From: Bruno Perez Date: Sat, 23 May 2026 04:09:20 -0700 Subject: [PATCH 2/4] chore: use the official Moonshot AI logo --- src/client/logos/moonshot.svg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/logos/moonshot.svg b/src/client/logos/moonshot.svg index 97eb2b3..3cdf7c8 100644 --- a/src/client/logos/moonshot.svg +++ b/src/client/logos/moonshot.svg @@ -1,3 +1,3 @@ - - + + From 47be1ed343bdc23e96a6faccb5340c7b0320a054 Mon Sep 17 00:00:00 2001 From: Guillaume Gay Date: Sun, 24 May 2026 09:24:18 +0200 Subject: [PATCH 3/4] fix(moonshot): include required tool choice --- models/moonshot/kimi-k2.5.yaml | 4 ++-- models/moonshot/kimi-k2.6.yaml | 4 ++-- models/moonshot/moonshot-v1-128k.yaml | 4 ++-- models/moonshot/moonshot-v1-32k.yaml | 4 ++-- models/moonshot/moonshot-v1-8k.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/models/moonshot/kimi-k2.5.yaml b/models/moonshot/kimi-k2.5.yaml index 115b417..a6af376 100644 --- a/models/moonshot/kimi-k2.5.yaml +++ b/models/moonshot/kimi-k2.5.yaml @@ -24,12 +24,12 @@ params: type: enum label: Tool choice description: >- - Controls whether the model may call tools. Moonshot supports auto and none; required is not - supported. + Controls whether the model may call tools. Moonshot supports auto, none, and required. default: auto values: - auto - none + - required group: tooling - path: response_format.type type: enum diff --git a/models/moonshot/kimi-k2.6.yaml b/models/moonshot/kimi-k2.6.yaml index 1db8197..c546fa2 100644 --- a/models/moonshot/kimi-k2.6.yaml +++ b/models/moonshot/kimi-k2.6.yaml @@ -25,12 +25,12 @@ params: type: enum label: Tool choice description: >- - Controls whether the model may call tools. Moonshot supports auto and none; required is not - supported. + Controls whether the model may call tools. Moonshot supports auto, none, and required. default: auto values: - auto - none + - required group: tooling - path: response_format.type type: enum diff --git a/models/moonshot/moonshot-v1-128k.yaml b/models/moonshot/moonshot-v1-128k.yaml index f8691bb..40e113b 100644 --- a/models/moonshot/moonshot-v1-128k.yaml +++ b/models/moonshot/moonshot-v1-128k.yaml @@ -68,12 +68,12 @@ params: type: enum label: Tool choice description: >- - Controls whether the model may call tools. Moonshot supports auto and none; required is not - supported. + Controls whether the model may call tools. Moonshot supports auto, none, and required. default: auto values: - auto - none + - required group: tooling - path: response_format.type type: enum diff --git a/models/moonshot/moonshot-v1-32k.yaml b/models/moonshot/moonshot-v1-32k.yaml index 5a0d4fd..395fa78 100644 --- a/models/moonshot/moonshot-v1-32k.yaml +++ b/models/moonshot/moonshot-v1-32k.yaml @@ -68,12 +68,12 @@ params: type: enum label: Tool choice description: >- - Controls whether the model may call tools. Moonshot supports auto and none; required is not - supported. + Controls whether the model may call tools. Moonshot supports auto, none, and required. default: auto values: - auto - none + - required group: tooling - path: response_format.type type: enum diff --git a/models/moonshot/moonshot-v1-8k.yaml b/models/moonshot/moonshot-v1-8k.yaml index 913c851..8306caa 100644 --- a/models/moonshot/moonshot-v1-8k.yaml +++ b/models/moonshot/moonshot-v1-8k.yaml @@ -68,12 +68,12 @@ params: type: enum label: Tool choice description: >- - Controls whether the model may call tools. Moonshot supports auto and none; required is not - supported. + Controls whether the model may call tools. Moonshot supports auto, none, and required. default: auto values: - auto - none + - required group: tooling - path: response_format.type type: enum From 8286043aa9ad40aa18614f115f1dd4ed46981c8b Mon Sep 17 00:00:00 2001 From: Guillaume Gay Date: Sun, 24 May 2026 09:29:38 +0200 Subject: [PATCH 4/4] fix(moonshot): omit tool selection capability --- models/moonshot/kimi-k2.5.yaml | 11 ----------- models/moonshot/kimi-k2.6.yaml | 11 ----------- models/moonshot/moonshot-v1-128k.yaml | 11 ----------- models/moonshot/moonshot-v1-32k.yaml | 11 ----------- models/moonshot/moonshot-v1-8k.yaml | 11 ----------- 5 files changed, 55 deletions(-) diff --git a/models/moonshot/kimi-k2.5.yaml b/models/moonshot/kimi-k2.5.yaml index a6af376..9bb3ada 100644 --- a/models/moonshot/kimi-k2.5.yaml +++ b/models/moonshot/kimi-k2.5.yaml @@ -20,17 +20,6 @@ params: - enabled - disabled group: reasoning - - path: tool_choice - type: enum - label: Tool choice - description: >- - Controls whether the model may call tools. Moonshot supports auto, none, and required. - default: auto - values: - - auto - - none - - required - group: tooling - path: response_format.type type: enum label: Response format diff --git a/models/moonshot/kimi-k2.6.yaml b/models/moonshot/kimi-k2.6.yaml index c546fa2..9bb30a1 100644 --- a/models/moonshot/kimi-k2.6.yaml +++ b/models/moonshot/kimi-k2.6.yaml @@ -21,17 +21,6 @@ params: - enabled - disabled group: reasoning - - path: tool_choice - type: enum - label: Tool choice - description: >- - Controls whether the model may call tools. Moonshot supports auto, none, and required. - default: auto - values: - - auto - - none - - required - group: tooling - path: response_format.type type: enum label: Response format diff --git a/models/moonshot/moonshot-v1-128k.yaml b/models/moonshot/moonshot-v1-128k.yaml index 40e113b..f9290cf 100644 --- a/models/moonshot/moonshot-v1-128k.yaml +++ b/models/moonshot/moonshot-v1-128k.yaml @@ -64,17 +64,6 @@ params: max: 2 step: 0.1 group: sampling - - path: tool_choice - type: enum - label: Tool choice - description: >- - Controls whether the model may call tools. Moonshot supports auto, none, and required. - default: auto - values: - - auto - - none - - required - group: tooling - path: response_format.type type: enum label: Response format diff --git a/models/moonshot/moonshot-v1-32k.yaml b/models/moonshot/moonshot-v1-32k.yaml index 395fa78..a0c3df4 100644 --- a/models/moonshot/moonshot-v1-32k.yaml +++ b/models/moonshot/moonshot-v1-32k.yaml @@ -64,17 +64,6 @@ params: max: 2 step: 0.1 group: sampling - - path: tool_choice - type: enum - label: Tool choice - description: >- - Controls whether the model may call tools. Moonshot supports auto, none, and required. - default: auto - values: - - auto - - none - - required - group: tooling - path: response_format.type type: enum label: Response format diff --git a/models/moonshot/moonshot-v1-8k.yaml b/models/moonshot/moonshot-v1-8k.yaml index 8306caa..3d09595 100644 --- a/models/moonshot/moonshot-v1-8k.yaml +++ b/models/moonshot/moonshot-v1-8k.yaml @@ -64,17 +64,6 @@ params: max: 2 step: 0.1 group: sampling - - path: tool_choice - type: enum - label: Tool choice - description: >- - Controls whether the model may call tools. Moonshot supports auto, none, and required. - default: auto - values: - - auto - - none - - required - group: tooling - path: response_format.type type: enum label: Response format