diff --git a/core/llm/llms/MiniMax.ts b/core/llm/llms/MiniMax.ts index 5892b444d6c..ee0921e9b71 100644 --- a/core/llm/llms/MiniMax.ts +++ b/core/llm/llms/MiniMax.ts @@ -6,7 +6,7 @@ class MiniMax extends OpenAI { static providerName = "minimax"; static defaultOptions: Partial = { apiBase: "https://api.minimax.io/v1/", - model: "MiniMax-M2.7", + model: "MiniMax-M3", useLegacyCompletionsEndpoint: false, }; diff --git a/docs/customize/model-providers/more/minimax.mdx b/docs/customize/model-providers/more/minimax.mdx index e0a56e2cfbc..03d6b8e6441 100644 --- a/docs/customize/model-providers/more/minimax.mdx +++ b/docs/customize/model-providers/more/minimax.mdx @@ -17,9 +17,9 @@ sidebarTitle: "MiniMax" schema: v1 models: - - name: MiniMax M2.7 + - name: MiniMax M3 provider: minimax - model: MiniMax-M2.7 + model: MiniMax-M3 apiKey: ``` @@ -28,9 +28,9 @@ sidebarTitle: "MiniMax" { "models": [ { - "title": "MiniMax M2.7", + "title": "MiniMax M3", "provider": "minimax", - "model": "MiniMax-M2.7", + "model": "MiniMax-M3", "apiKey": "" } ] @@ -43,10 +43,9 @@ sidebarTitle: "MiniMax" | Model | Description | | :---- | :---------- | -| `MiniMax-M2.7` | Latest flagship model with enhanced reasoning and coding. 204K context window. | +| `MiniMax-M3` | Latest flagship model with 512K context window, 128K max output, and image input support. | +| `MiniMax-M2.7` | Previous flagship model with enhanced reasoning and coding. 204K context window. | | `MiniMax-M2.7-highspeed` | High-speed version of M2.7 for low-latency scenarios. 204K context window. | -| `MiniMax-M2.5` | Peak performance with ultimate value. 204K context window. | -| `MiniMax-M2.5-highspeed` | Same performance, faster and more agile. 204K context window. | ## Notes diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index 1de77b13af1..c7288e350e9 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -2699,10 +2699,22 @@ export const models: { [key: string]: ModelPackage } = { providerOptions: ["sambanova"], isOpenSource: true, }, + minimaxM3: { + title: "MiniMax M3", + description: + "Latest flagship model with a 512K context window, 128K max output, and image input support.", + params: { + title: "MiniMax M3", + model: "MiniMax-M3", + contextLength: 524_288, + }, + providerOptions: ["minimax"], + isOpenSource: false, + }, minimaxM27: { title: "MiniMax M2.7", description: - "Latest flagship model with enhanced reasoning and coding capabilities. 204K context window.", + "Previous flagship model with enhanced reasoning and coding capabilities. 204K context window.", params: { title: "MiniMax M2.7", model: "MiniMax-M2.7", @@ -2723,30 +2735,6 @@ export const models: { [key: string]: ModelPackage } = { providerOptions: ["minimax"], isOpenSource: false, }, - minimaxM25: { - title: "MiniMax M2.5", - description: - "Peak performance with ultimate value. Excels at complex reasoning, code generation, and multi-step tasks with a 204K context window.", - params: { - title: "MiniMax M2.5", - model: "MiniMax-M2.5", - contextLength: 204_800, - }, - providerOptions: ["minimax"], - isOpenSource: false, - }, - minimaxM25Highspeed: { - title: "MiniMax M2.5 Highspeed", - description: - "Same performance as M2.5, faster and more agile for latency-sensitive tasks with a 204K context window.", - params: { - title: "MiniMax M2.5 Highspeed", - model: "MiniMax-M2.5-highspeed", - contextLength: 204_800, - }, - providerOptions: ["minimax"], - isOpenSource: false, - }, // ClawRouter Models clawrouterAuto: { diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 82f1e15c7a0..afc51385373 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -576,10 +576,9 @@ Select the \`GPT-4o\` model below to complete your provider configuration, but n }, ], packages: [ + models.minimaxM3, models.minimaxM27, models.minimaxM27Highspeed, - models.minimaxM25, - models.minimaxM25Highspeed, { ...models.AUTODETECT, params: { diff --git a/packages/llm-info/src/providers/minimax.ts b/packages/llm-info/src/providers/minimax.ts index 7899f2b0a3c..28cbe559319 100644 --- a/packages/llm-info/src/providers/minimax.ts +++ b/packages/llm-info/src/providers/minimax.ts @@ -2,13 +2,23 @@ import { ModelProvider } from "../types.js"; export const MiniMax: ModelProvider = { models: [ + { + model: "MiniMax-M3", + displayName: "MiniMax M3", + contextLength: 524288, + maxCompletionTokens: 131072, + description: + "Latest flagship model with a 512K context window, 128K max output, and image input support.", + regex: /MiniMax-M3$/i, + recommendedFor: ["chat"], + }, { model: "MiniMax-M2.7", displayName: "MiniMax M2.7", contextLength: 204800, maxCompletionTokens: 192000, description: - "Latest flagship model with enhanced reasoning and coding capabilities.", + "Previous flagship model with enhanced reasoning and coding capabilities.", regex: /MiniMax-M2\.7$/i, recommendedFor: ["chat"], }, @@ -21,26 +31,6 @@ export const MiniMax: ModelProvider = { regex: /MiniMax-M2\.7-highspeed/i, recommendedFor: ["chat"], }, - { - model: "MiniMax-M2.5", - displayName: "MiniMax M2.5", - contextLength: 204800, - maxCompletionTokens: 192000, - description: - "Peak performance with ultimate value. Excels at complex reasoning, code generation, and multi-step tasks.", - regex: /MiniMax-M2\.5$/i, - recommendedFor: ["chat"], - }, - { - model: "MiniMax-M2.5-highspeed", - displayName: "MiniMax M2.5 Highspeed", - contextLength: 204800, - maxCompletionTokens: 192000, - description: - "Same performance as M2.5, faster and more agile for latency-sensitive tasks.", - regex: /MiniMax-M2\.5-highspeed/i, - recommendedFor: ["chat"], - }, ], id: "minimax", displayName: "MiniMax",