Models / MiniMax
Model vendor
MiniMax
MiniMax builds the M-series chat models and production-grade speech synthesis.
12Models routed
−0%Average vs list price
0Channels serving MiniMax
MiniMax models on MirAPI
ModelTypeContextInputOutputCache r / wOff listChannels
Migration
A drop-in replacement for the OpenAI API
We speak the OpenAI wire format: official SDKs, LangChain, agent frameworks and your own wrapper all work as-is. Change the base URL and write model IDs the catalogue way: hailuo-3 becomes minimax/hailuo-3.
Endpoints
/v1/chat/completionsChat & tool callsimport os from openai import OpenAI client = OpenAI( base_url="https://api.mirapi.ai/v1", # changed api_key=os.environ["MIRAPI_API_KEY"], # changed ) resp = client.chat.completions.create( model="minimax/hailuo-3", messages=[{"role": "user", "content": "Hello"}], )
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.mirapi.ai/v1", // changed apiKey: process.env.MIRAPI_API_KEY, // changed }); const res = await client.chat.completions.create({ model: "minimax/hailuo-3", messages: [{ role: "user", content: "Hello" }], });
curl https://api.mirapi.ai/v1/chat/completions \ -H "Authorization: Bearer $MIRAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "minimax/hailuo-3", "messages": [{"role": "user", "content": "Hello"}] }'
One key covers MiniMax and 10 more vendors.
1M free tokens to start. No card required.