From a422c4866d6bfbc4d4e9a0961b308f6a90bfae4b Mon Sep 17 00:00:00 2001 From: Bruno Perez Date: Sat, 23 May 2026 12:14:13 +0200 Subject: [PATCH 1/2] feat: add MiniMax models to the catalog --- models/minimax/minimax-m2.1-highspeed.yaml | 40 +++++++++++++++++++ models/minimax/minimax-m2.1.yaml | 40 +++++++++++++++++++ models/minimax/minimax-m2.5-highspeed.yaml | 40 +++++++++++++++++++ models/minimax/minimax-m2.5.yaml | 40 +++++++++++++++++++ .../minimax-m2.7-highspeed-subscription.yaml | 34 ++++++++++++++++ models/minimax/minimax-m2.7-highspeed.yaml | 40 +++++++++++++++++++ models/minimax/minimax-m2.7-subscription.yaml | 34 ++++++++++++++++ models/minimax/minimax-m2.7.yaml | 40 +++++++++++++++++++ models/minimax/minimax-m2.yaml | 40 +++++++++++++++++++ src/client/logos/minimax.svg | 3 ++ src/data/display.ts | 8 ++++ 11 files changed, 359 insertions(+) create mode 100644 models/minimax/minimax-m2.1-highspeed.yaml create mode 100644 models/minimax/minimax-m2.1.yaml create mode 100644 models/minimax/minimax-m2.5-highspeed.yaml create mode 100644 models/minimax/minimax-m2.5.yaml create mode 100644 models/minimax/minimax-m2.7-highspeed-subscription.yaml create mode 100644 models/minimax/minimax-m2.7-highspeed.yaml create mode 100644 models/minimax/minimax-m2.7-subscription.yaml create mode 100644 models/minimax/minimax-m2.7.yaml create mode 100644 models/minimax/minimax-m2.yaml create mode 100644 src/client/logos/minimax.svg diff --git a/models/minimax/minimax-m2.1-highspeed.yaml b/models/minimax/minimax-m2.1-highspeed.yaml new file mode 100644 index 0000000..bceb702 --- /dev/null +++ b/models/minimax/minimax-m2.1-highspeed.yaml @@ -0,0 +1,40 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: api_key +model: minimax-m2.1-highspeed +params: + - path: max_completion_tokens + type: integer + label: Max completion tokens + description: Maximum number of tokens to generate in the 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: reasoning_split + type: boolean + label: Split reasoning + description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + default: false + group: reasoning diff --git a/models/minimax/minimax-m2.1.yaml b/models/minimax/minimax-m2.1.yaml new file mode 100644 index 0000000..e6b1a14 --- /dev/null +++ b/models/minimax/minimax-m2.1.yaml @@ -0,0 +1,40 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: api_key +model: minimax-m2.1 +params: + - path: max_completion_tokens + type: integer + label: Max completion tokens + description: Maximum number of tokens to generate in the 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: reasoning_split + type: boolean + label: Split reasoning + description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + default: false + group: reasoning diff --git a/models/minimax/minimax-m2.5-highspeed.yaml b/models/minimax/minimax-m2.5-highspeed.yaml new file mode 100644 index 0000000..00b72c1 --- /dev/null +++ b/models/minimax/minimax-m2.5-highspeed.yaml @@ -0,0 +1,40 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: api_key +model: minimax-m2.5-highspeed +params: + - path: max_completion_tokens + type: integer + label: Max completion tokens + description: Maximum number of tokens to generate in the 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: reasoning_split + type: boolean + label: Split reasoning + description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + default: false + group: reasoning diff --git a/models/minimax/minimax-m2.5.yaml b/models/minimax/minimax-m2.5.yaml new file mode 100644 index 0000000..e85f070 --- /dev/null +++ b/models/minimax/minimax-m2.5.yaml @@ -0,0 +1,40 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: api_key +model: minimax-m2.5 +params: + - path: max_completion_tokens + type: integer + label: Max completion tokens + description: Maximum number of tokens to generate in the 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: reasoning_split + type: boolean + label: Split reasoning + description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + default: false + group: reasoning diff --git a/models/minimax/minimax-m2.7-highspeed-subscription.yaml b/models/minimax/minimax-m2.7-highspeed-subscription.yaml new file mode 100644 index 0000000..d948a86 --- /dev/null +++ b/models/minimax/minimax-m2.7-highspeed-subscription.yaml @@ -0,0 +1,34 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: subscription +model: minimax-m2.7-highspeed +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the response. + 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling diff --git a/models/minimax/minimax-m2.7-highspeed.yaml b/models/minimax/minimax-m2.7-highspeed.yaml new file mode 100644 index 0000000..7b7313e --- /dev/null +++ b/models/minimax/minimax-m2.7-highspeed.yaml @@ -0,0 +1,40 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: api_key +model: minimax-m2.7-highspeed +params: + - path: max_completion_tokens + type: integer + label: Max completion tokens + description: Maximum number of tokens to generate in the 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: reasoning_split + type: boolean + label: Split reasoning + description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + default: false + group: reasoning diff --git a/models/minimax/minimax-m2.7-subscription.yaml b/models/minimax/minimax-m2.7-subscription.yaml new file mode 100644 index 0000000..ab37c42 --- /dev/null +++ b/models/minimax/minimax-m2.7-subscription.yaml @@ -0,0 +1,34 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: subscription +model: minimax-m2.7 +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the response. + 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling diff --git a/models/minimax/minimax-m2.7.yaml b/models/minimax/minimax-m2.7.yaml new file mode 100644 index 0000000..957d44f --- /dev/null +++ b/models/minimax/minimax-m2.7.yaml @@ -0,0 +1,40 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: api_key +model: minimax-m2.7 +params: + - path: max_completion_tokens + type: integer + label: Max completion tokens + description: Maximum number of tokens to generate in the 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: reasoning_split + type: boolean + label: Split reasoning + description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + default: false + group: reasoning diff --git a/models/minimax/minimax-m2.yaml b/models/minimax/minimax-m2.yaml new file mode 100644 index 0000000..a4711a3 --- /dev/null +++ b/models/minimax/minimax-m2.yaml @@ -0,0 +1,40 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: minimax +authType: api_key +model: minimax-m2 +params: + - path: max_completion_tokens + type: integer + label: Max completion tokens + description: Maximum number of tokens to generate in the 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. Values must be greater than 0 and at most 1. + default: 1 + 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: 0.95 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: reasoning_split + type: boolean + label: Split reasoning + description: Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. + default: false + group: reasoning diff --git a/src/client/logos/minimax.svg b/src/client/logos/minimax.svg new file mode 100644 index 0000000..76bb877 --- /dev/null +++ b/src/client/logos/minimax.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/data/display.ts b/src/data/display.ts index e4e2b2c..1735797 100644 --- a/src/data/display.ts +++ b/src/data/display.ts @@ -8,6 +8,7 @@ const PROVIDER_LABELS: Record = { meta: "Meta", mistral: "Mistral", deepseek: "DeepSeek", + minimax: "MiniMax", cohere: "Cohere", perplexity: "Perplexity", }; @@ -20,6 +21,13 @@ const MODEL_LABEL_OVERRIDES: Record = { "openai/o3": "o3", "openai/o3-mini": "o3-mini", "openai/o4-mini": "o4-mini", + "minimax/minimax-m2": "MiniMax M2", + "minimax/minimax-m2.1": "MiniMax M2.1", + "minimax/minimax-m2.1-highspeed": "MiniMax M2.1 Highspeed", + "minimax/minimax-m2.5": "MiniMax M2.5", + "minimax/minimax-m2.5-highspeed": "MiniMax M2.5 Highspeed", + "minimax/minimax-m2.7": "MiniMax M2.7", + "minimax/minimax-m2.7-highspeed": "MiniMax M2.7 Highspeed", }; const AUTH_LABELS: Record = { From d55643b9abdb48b8d02767c44e055656a079944b Mon Sep 17 00:00:00 2001 From: Guillaume Gay Date: Sun, 24 May 2026 09:23:37 +0200 Subject: [PATCH 2/2] fix(minimax): tighten sampling parameter ranges --- models/minimax/minimax-m2.1-highspeed.yaml | 6 +++--- models/minimax/minimax-m2.1.yaml | 6 +++--- models/minimax/minimax-m2.5-highspeed.yaml | 6 +++--- models/minimax/minimax-m2.5.yaml | 6 +++--- models/minimax/minimax-m2.7-highspeed-subscription.yaml | 6 +++--- models/minimax/minimax-m2.7-highspeed.yaml | 6 +++--- models/minimax/minimax-m2.7-subscription.yaml | 6 +++--- models/minimax/minimax-m2.7.yaml | 6 +++--- models/minimax/minimax-m2.yaml | 6 +++--- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/models/minimax/minimax-m2.1-highspeed.yaml b/models/minimax/minimax-m2.1-highspeed.yaml index bceb702..3b2ca55 100644 --- a/models/minimax/minimax-m2.1-highspeed.yaml +++ b/models/minimax/minimax-m2.1-highspeed.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling diff --git a/models/minimax/minimax-m2.1.yaml b/models/minimax/minimax-m2.1.yaml index e6b1a14..4e432e0 100644 --- a/models/minimax/minimax-m2.1.yaml +++ b/models/minimax/minimax-m2.1.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling diff --git a/models/minimax/minimax-m2.5-highspeed.yaml b/models/minimax/minimax-m2.5-highspeed.yaml index 00b72c1..ce62674 100644 --- a/models/minimax/minimax-m2.5-highspeed.yaml +++ b/models/minimax/minimax-m2.5-highspeed.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling diff --git a/models/minimax/minimax-m2.5.yaml b/models/minimax/minimax-m2.5.yaml index e85f070..9788dbc 100644 --- a/models/minimax/minimax-m2.5.yaml +++ b/models/minimax/minimax-m2.5.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling diff --git a/models/minimax/minimax-m2.7-highspeed-subscription.yaml b/models/minimax/minimax-m2.7-highspeed-subscription.yaml index d948a86..6fe7b8d 100644 --- a/models/minimax/minimax-m2.7-highspeed-subscription.yaml +++ b/models/minimax/minimax-m2.7-highspeed-subscription.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling diff --git a/models/minimax/minimax-m2.7-highspeed.yaml b/models/minimax/minimax-m2.7-highspeed.yaml index 7b7313e..8c2134c 100644 --- a/models/minimax/minimax-m2.7-highspeed.yaml +++ b/models/minimax/minimax-m2.7-highspeed.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling diff --git a/models/minimax/minimax-m2.7-subscription.yaml b/models/minimax/minimax-m2.7-subscription.yaml index ab37c42..9596634 100644 --- a/models/minimax/minimax-m2.7-subscription.yaml +++ b/models/minimax/minimax-m2.7-subscription.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling diff --git a/models/minimax/minimax-m2.7.yaml b/models/minimax/minimax-m2.7.yaml index 957d44f..a8cf5df 100644 --- a/models/minimax/minimax-m2.7.yaml +++ b/models/minimax/minimax-m2.7.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling diff --git a/models/minimax/minimax-m2.yaml b/models/minimax/minimax-m2.yaml index a4711a3..2b38d09 100644 --- a/models/minimax/minimax-m2.yaml +++ b/models/minimax/minimax-m2.yaml @@ -18,9 +18,9 @@ params: varied. Values must be greater than 0 and at most 1. default: 1 range: - min: 0 + min: 0.01 max: 1 - step: 0.1 + step: 0.01 group: sampling - path: top_p type: number @@ -28,7 +28,7 @@ params: description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. default: 0.95 range: - min: 0 + min: 0.01 max: 1 step: 0.01 group: sampling