From 5845c67ceb1423d3cc94ec5a2f3a357b521cac53 Mon Sep 17 00:00:00 2001 From: Octopus Date: Tue, 2 Jun 2026 08:53:21 +0800 Subject: [PATCH 1/3] docs: add MiniMax-M3 and update minimax default model MiniMax-M3 is the latest flagship model. Add it to the provider docs, make it the default in the quickstart examples for minimax and minimax-cn, and remove the older M2.5/M2.1/M2 variants that are no longer recommended for new integrations. Keep M2.7 and M2.7-highspeed as previous-generation options. Update the provider unit tests to use M3 as the default and verify that M3, M2.7, and M2.7-highspeed all resolve through the @ai-sdk/openai-compatible adapter. Signed-off-by: Octopus --- .changeset/MiniMax-m3-update.md | 5 +++++ .../model-provider-registry-minimax.spec.ts | 17 ++++++----------- website/models-docs/providers/minimax-cn.md | 15 ++++++--------- website/models-docs/providers/minimax.md | 15 ++++++--------- 4 files changed, 23 insertions(+), 29 deletions(-) create mode 100644 .changeset/MiniMax-m3-update.md diff --git a/.changeset/MiniMax-m3-update.md b/.changeset/MiniMax-m3-update.md new file mode 100644 index 000000000..23727b10b --- /dev/null +++ b/.changeset/MiniMax-m3-update.md @@ -0,0 +1,5 @@ +--- +"@voltagent/core": patch +--- + +docs: add MiniMax-M3 model and update default to M3 for minimax providers diff --git a/packages/core/src/registries/model-provider-registry-minimax.spec.ts b/packages/core/src/registries/model-provider-registry-minimax.spec.ts index 80c20e16d..f598764ad 100644 --- a/packages/core/src/registries/model-provider-registry-minimax.spec.ts +++ b/packages/core/src/registries/model-provider-registry-minimax.spec.ts @@ -74,7 +74,7 @@ describe("MiniMax provider registry", () => { const { ModelProviderRegistry } = await import("./model-provider-registry"); const registry = ModelProviderRegistry.getInstance(); - const model = await registry.resolveLanguageModel("minimax/MiniMax-M2.7"); + const model = await registry.resolveLanguageModel("minimax/MiniMax-M3"); expect(model).toBeDefined(); expect(createOpenAICompatibleCalls.length).toBeGreaterThan(0); @@ -91,7 +91,7 @@ describe("MiniMax provider registry", () => { const { ModelProviderRegistry } = await import("./model-provider-registry"); const registry = ModelProviderRegistry.getInstance(); - const model = await registry.resolveLanguageModel("minimax-cn/MiniMax-M2.7"); + const model = await registry.resolveLanguageModel("minimax-cn/MiniMax-M3"); expect(model).toBeDefined(); @@ -115,7 +115,7 @@ describe("MiniMax provider registry", () => { const { ModelProviderRegistry } = await import("./model-provider-registry"); const registry = ModelProviderRegistry.getInstance(); - await registry.resolveLanguageModel("minimax/MiniMax-M2.7"); + await registry.resolveLanguageModel("minimax/MiniMax-M3"); const minimaxCall = createOpenAICompatibleCalls.find((call) => { const config = call[0] as Record; @@ -137,7 +137,7 @@ describe("MiniMax provider registry", () => { const { ModelProviderRegistry } = await import("./model-provider-registry"); const registry = ModelProviderRegistry.getInstance(); - await expect(registry.resolveLanguageModel("minimax/MiniMax-M2.7")).rejects.toThrow( + await expect(registry.resolveLanguageModel("minimax/MiniMax-M3")).rejects.toThrow( /MINIMAX_API_KEY/, ); }); @@ -148,12 +148,7 @@ describe("MiniMax provider registry", () => { const { ModelProviderRegistry } = await import("./model-provider-registry"); const registry = ModelProviderRegistry.getInstance(); - const modelIds = [ - "MiniMax-M2.7", - "MiniMax-M2.7-highspeed", - "MiniMax-M2.5", - "MiniMax-M2.5-highspeed", - ]; + const modelIds = ["MiniMax-M3", "MiniMax-M2.7", "MiniMax-M2.7-highspeed"]; for (const modelId of modelIds) { const model = await registry.resolveLanguageModel(`minimax/${modelId}`); @@ -168,7 +163,7 @@ describe("MiniMax provider registry", () => { const { ModelProviderRegistry } = await import("./model-provider-registry"); const registry = ModelProviderRegistry.getInstance(); - await registry.resolveLanguageModel("minimax/MiniMax-M2.7"); + await registry.resolveLanguageModel("minimax/MiniMax-M3"); // Anthropic adapter should NOT have been called for MiniMax expect(createAnthropicCalls.length).toBe(anthropicCallsBefore); diff --git a/website/models-docs/providers/minimax-cn.md b/website/models-docs/providers/minimax-cn.md index 3f47facd8..54aea70ef 100644 --- a/website/models-docs/providers/minimax-cn.md +++ b/website/models-docs/providers/minimax-cn.md @@ -14,7 +14,7 @@ import { Agent } from "@voltagent/core"; const agent = new Agent({ name: "minimax-cn-agent", instructions: "You are a helpful assistant", - model: "minimax-cn/MiniMax-M2.7", + model: "minimax-cn/MiniMax-M3", }); ``` @@ -38,11 +38,8 @@ You can override the base URL by setting `MINIMAX_CN_BASE_URL`. ## Models -| Model | Context | Description | -|---|---|---| -| MiniMax-M2.7 | 1M tokens | Latest flagship model | -| MiniMax-M2.7-highspeed | 1M tokens | Optimized for speed | -| MiniMax-M2.5 | 1M tokens | Previous generation | -| MiniMax-M2.5-highspeed | 204K tokens | Fast inference | -| MiniMax-M2.1 | 1M tokens | Legacy | -| MiniMax-M2 | 1M tokens | Legacy | +| Model | Context | Description | +| ---------------------- | --------- | --------------------- | +| MiniMax-M3 | 1M tokens | Latest flagship model | +| MiniMax-M2.7 | 1M tokens | Previous generation | +| MiniMax-M2.7-highspeed | 1M tokens | Optimized for speed | diff --git a/website/models-docs/providers/minimax.md b/website/models-docs/providers/minimax.md index 3d269516b..064051527 100644 --- a/website/models-docs/providers/minimax.md +++ b/website/models-docs/providers/minimax.md @@ -16,7 +16,7 @@ import { Agent } from "@voltagent/core"; const agent = new Agent({ name: "minimax-agent", instructions: "You are a helpful assistant", - model: "minimax/MiniMax-M2.7", + model: "minimax/MiniMax-M3", }); ``` @@ -40,11 +40,8 @@ You can override the base URL by setting `MINIMAX_BASE_URL`. ## Models -| Model | Context | Description | -|---|---|---| -| MiniMax-M2.7 | 1M tokens | Latest flagship model | -| MiniMax-M2.7-highspeed | 1M tokens | Optimized for speed | -| MiniMax-M2.5 | 1M tokens | Previous generation | -| MiniMax-M2.5-highspeed | 204K tokens | Fast inference | -| MiniMax-M2.1 | 1M tokens | Legacy | -| MiniMax-M2 | 1M tokens | Legacy | +| Model | Context | Description | +| ---------------------- | --------- | --------------------- | +| MiniMax-M3 | 1M tokens | Latest flagship model | +| MiniMax-M2.7 | 1M tokens | Previous generation | +| MiniMax-M2.7-highspeed | 1M tokens | Optimized for speed | From 3b11827650803cf2ce5e06ba49decd5b6296d7be Mon Sep 17 00:00:00 2001 From: Octopus Date: Wed, 3 Jun 2026 22:20:21 +0800 Subject: [PATCH 2/3] docs: correct MiniMax context window (M3=512K, M2.7=192K; was mistakenly 1M) --- website/models-docs/providers/minimax-cn.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/models-docs/providers/minimax-cn.md b/website/models-docs/providers/minimax-cn.md index 54aea70ef..d236630b5 100644 --- a/website/models-docs/providers/minimax-cn.md +++ b/website/models-docs/providers/minimax-cn.md @@ -40,6 +40,6 @@ You can override the base URL by setting `MINIMAX_CN_BASE_URL`. | Model | Context | Description | | ---------------------- | --------- | --------------------- | -| MiniMax-M3 | 1M tokens | Latest flagship model | -| MiniMax-M2.7 | 1M tokens | Previous generation | -| MiniMax-M2.7-highspeed | 1M tokens | Optimized for speed | +| MiniMax-M3 | 512K context | Latest flagship model | +| MiniMax-M2.7 | 192K context | Previous generation | +| MiniMax-M2.7-highspeed | 192K context | Optimized for speed | From 3fa3c240877eb9ac4dafe7f2dc6d6d1cc9001467 Mon Sep 17 00:00:00 2001 From: Octopus Date: Wed, 3 Jun 2026 22:20:26 +0800 Subject: [PATCH 3/3] docs: correct MiniMax context window (M3=512K, M2.7=192K; was mistakenly 1M) --- website/models-docs/providers/minimax.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/models-docs/providers/minimax.md b/website/models-docs/providers/minimax.md index 064051527..b4de220be 100644 --- a/website/models-docs/providers/minimax.md +++ b/website/models-docs/providers/minimax.md @@ -42,6 +42,6 @@ You can override the base URL by setting `MINIMAX_BASE_URL`. | Model | Context | Description | | ---------------------- | --------- | --------------------- | -| MiniMax-M3 | 1M tokens | Latest flagship model | -| MiniMax-M2.7 | 1M tokens | Previous generation | -| MiniMax-M2.7-highspeed | 1M tokens | Optimized for speed | +| MiniMax-M3 | 512K context | Latest flagship model | +| MiniMax-M2.7 | 192K context | Previous generation | +| MiniMax-M2.7-highspeed | 192K context | Optimized for speed |