provider
MiniMax
Direct answerThe mainland OpenAI-compatible base is https://api.minimaxi.com/v1 and Anthropic compatibility uses /anthropic. Pay-as-you-go and Token Plan have separate keys, while this gateway uses its own token and adapted route.
Updated · Reviewed
Direct access versus this gateway
The mainland OpenAI-compatible base is https://api.minimaxi.com/v1; Anthropic compatibility uses https://api.minimaxi.com/anthropic, both with a MiniMax key. This gateway uses its own base URL and Bearer token and declares only /v1/chat/completions; provider Responses, Anthropic, and media APIs are not gateway routes.
Keys, models, and thinking
Pay-as-you-go and Token Plan subscriptions use separate keys and cannot be mixed. Current text documentation centers on MiniMax-M3/M2.x, while abab remains mainly a legacy search alias. M3 can disable or adapt thinking, whereas M2.x cannot disable it; match the exact model, key type, and parameters to the current page.
Multi-turn tools and Responses
New integrations use tools; the old function_call shape is deprecated. Preserve the assistant's complete tool_calls and return tool results with the same tool_call_id. M3/M2.x reasoning may appear in content or split fields, and must remain in later turns even with reasoning_split=true. Official Responses supports SSE and tools, but gateway clients use only the paths listed here.
Limits, errors, and cost
Limits can be measured by RPM, TPM, and connections and are shared across primary and subaccounts. Code 1002 commonly covers rate limits, 1008 insufficient balance, and 1041 connection limits; retain trace_id for support. The official guide bills service_tier=priority at 1.5 times the normal rate, so enable it only intentionally.
Media and production safety
Speech, video, and music use separate tasks, billing units, rights, and moderation rules rather than text Chat. Cap output, concurrency, polling, and retries, and alert on balance. Move generated media into controlled storage and verify voice, likeness, and music rights.
Reviewed provider catalog
Latest models by capability
These are provider-catalog models, not a promise of availability on this site. Confirm callable IDs, endpoints, and pricing in the model marketplace.
Text, reasoning, and code
-
MiniMax-M2.7StableMiniMax's current flagship text model for coding, reasoning, tool use, and agents.
-
MiniMax-M2.7-highspeedStableA high-speed M2.7 variant that reduces latency while retaining core capabilities.
Image generation and editing
-
image-01StableMiniMax's general-purpose image generation model.
-
image-01-liveStableAn image generation variant oriented toward people and photorealistic subjects.
Video generation and editing
-
MiniMax-Hailuo-2.3StableThe high-quality Hailuo 2.3 video generation model.
-
MiniMax-Hailuo-2.3-FastStableThe faster video generation variant of Hailuo 2.3.
Speech and audio
-
speech-2.8-hdStableThe high-fidelity speech synthesis model in MiniMax's 2.8 family.
-
speech-2.8-turboStableThe low-latency speech synthesis model in MiniMax's 2.8 family.
-
music-2.6StableMiniMax's current music generation model.
Use cases
- Engineering and productivity
- Natural speech synthesis
- Video and music generation
API protocols
/v1/chat/completions
FAQ
What are the MiniMax OpenAI- and Anthropic-compatible base URLs?
The mainland OpenAI-compatible base is https://api.minimaxi.com/v1 and Anthropic compatibility uses https://api.minimaxi.com/anthropic. This gateway currently declares only /v1/chat/completions; provider Responses or Anthropic support does not expose matching gateway routes.
Can a pay-as-you-go key be used for Token Plan?
No. Pay-as-you-go and Token Plan subscriptions use separate keys and billing scopes. A mismatched key or base URL can fail authentication or create unintended usage billing. Gateway clients use only this site's Bearer token, not a MiniMax key.
Why must multi-turn thinking or tool calls preserve the complete assistant message?
M3/M2.x can return reasoning and tool messages contain tool_calls; later turns need the complete assistant response and matching tool_call_id. Preserve it even with reasoning_split=true, and use tools instead of the deprecated function_call.
How do service_tier=priority and 429 affect cost and retries?
The official guide bills priority at 1.5 times the normal rate. Limits can use RPM, TPM, or connections and are shared by primary and subaccounts. Handle business codes such as 1002 and 1041 separately, retain trace_id, and never retry without a concurrency bound.
Related guides
Official sources
- MiniMax API Preparation Official
- MiniMax OpenAI Chat API Official
- MiniMax Responses API Official
- MiniMax Text Model Parameters Official
- MiniMax Rate Limits Official
- MiniMax Error Codes Official
兔子API