Skip to main content
Providers

MiniMax (China)

Use minimax-cn/<model> with VoltAgent's model router. This provider routes to the China-region endpoint at https://api.minimaxi.com/v1.

Quick start

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",
});

Environment variables

  • MINIMAX_API_KEY

Provider package

@ai-sdk/openai-compatible

Default base URL

https://api.minimaxi.com/v1

You can override the base URL by setting MINIMAX_CN_BASE_URL.

Provider docs

Models

ModelContextDescription
MiniMax-M2.71M tokensLatest flagship model
MiniMax-M2.7-highspeed1M tokensOptimized for speed
MiniMax-M2.51M tokensPrevious generation
MiniMax-M2.5-highspeed204K tokensFast inference
MiniMax-M2.11M tokensLegacy
MiniMax-M21M tokensLegacy

Table of Contents