MiniMax API relay: text, speech and video through one endpoint

OpenAI-compatible access to the full MiniMax line-up with transparent USD pricing. Change base_url to https://yiduochan.com/v1 and you are done.

MiniMax-M3

Flagship text model with a 1M-token context window. $0.3134 input / $1.2537 output per million tokens (≤512K tier), cache hits $0.0627.

MiniMax-M2.7 / M2.7-highspeed

Cost-efficient chat and coding model from $0.3134 per million input tokens, with a faster highspeed variant.

MiniMax-H3 video generation

Hailuo H3 multimodal video: $0.0746 per second at 768P, $0.1194 per second at 2K, text-to-video and image-to-video.

Speech 2.8 text to speech

speech-2.8-hd and speech-2.8-turbo, billed per character through the OpenAI-compatible /v1/audio/speech endpoint.

Why call MiniMax through YiduoChan

MiniMax model prices (USD)

ModelTypePrice
MiniMax-M3Chat, 1M context≤512K: $0.3134 in / $1.2537 out / $0.0627 cache read; 512K to 1M: $0.6269 in / $2.5075 out / $0.1254 cache read (per 1M tokens)
MiniMax-M2.7Chat$0.3134 in / $1.2537 out / $0.0627 cache read / $0.3918 cache write
MiniMax-M2.7-highspeedChat, high speed$0.6269 in / $2.5075 out / $0.0627 cache read / $0.3918 cache write
speech-2.8-hdTTS, high fidelity$0.5224 per 10k characters
speech-2.8-turboTTS, fast$0.2985 per 10k characters
MiniMax-H3Video generation768P $0.0746 per second, 2K $0.1194 per second; first 5 reference images free, then $0.0299 each

Three steps to your first call

  1. Create an account and open the console.
  2. Create an API key on the API keys page.
  3. Send requests to https://yiduochan.com/v1 with one of the model names above.
curl https://yiduochan.com/v1/chat/completions \
  -H "Authorization: Bearer $YIDUOCHAN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMax-M2.7",
    "messages": [{"role": "user", "content": "Introduce the MiniMax models in one sentence"}]
  }'

Model guides

FAQ

What does a MiniMax API relay do?

It sits between you and the MiniMax open platform: one OpenAI-compatible endpoint, one key, pay-as-you-go billing per token or per second, and no need to manage MiniMax accounts or their rate limits yourself.

Which MiniMax models are available?

Text models MiniMax-M3, MiniMax-M2.7 and MiniMax-M2.7-highspeed, the speech models speech-2.8-hd and speech-2.8-turbo, and the MiniMax-H3 video model. New MiniMax releases are added as they ship.

How is pricing set?

Prices are quoted and billed in US dollars, converted from MiniMax's official list prices. The pricing page always shows the rates currently in effect.

How do I use it with the OpenAI SDK?

Set base_url to https://yiduochan.com/v1, use a key created on this site as api_key and pass a MiniMax model name such as MiniMax-M2.7. Requests and responses follow the OpenAI format.

Can I use MiniMax models in Claude Code?

Yes. Set ANTHROPIC_BASE_URL to https://yiduochan.com, ANTHROPIC_AUTH_TOKEN to your key and ANTHROPIC_MODEL to MiniMax-M2.7 or MiniMax-M3.

Is streaming supported?

Yes. Set stream to true on chat completions to receive tokens over server-sent events.

Sign up and get an API key See full model pricing