
MiniMax AI
MiniMax's China API platform for text, speech, image, video, and music. Current text APIs center on MiniMax-M2.7, with OpenAI- and Anthropic-compatible endpoints.
getModelKey links official API key pages only. We do not sell, generate, or broker API keys.
Overview
MiniMax's official China platform manages API keys under Account Management → Interface Keys. The current text lineup is led by MiniMax-M2.7 and its high-speed variant; both have a documented 204,800-token context window.
Verified pay-as-you-go text prices are quoted in CNY per million tokens. MiniMax-M2.7 costs ¥2.1 input, ¥8.4 output, ¥0.42 cache read and ¥2.625 cache write. M2.7-highspeed costs ¥4.2 input and ¥16.8 output, with the same cache prices.
How to Get an API Key
- Register or sign in at platform.minimaxi.com.
- Open Account Management → Interface Keys, or use the official direct key URL.
- Create and copy the key, then store it as a server-side environment variable.
- Use https://api.minimaxi.com/v1 with the OpenAI SDK, or https://api.minimaxi.com/anthropic with the Anthropic SDK.
Common Models
FAQ
What is the current MiniMax text model?
The current official API documentation leads with MiniMax-M2.7 and MiniMax-M2.7-highspeed. M2.5 remains available, while M2.1 and M2 are listed as older models in pricing documentation.
Does MiniMax support the OpenAI SDK?
Yes. Set the OpenAI-compatible base URL to https://api.minimaxi.com/v1 and use your MiniMax API key.
Does MiniMax support the Anthropic SDK?
Yes. MiniMax recommends its Anthropic-compatible endpoint for current text models at https://api.minimaxi.com/anthropic.