Blog · Pricing

MiniMax API Pricing (2026)

MiniMax M2 offers competitive pricing with strong Chinese and English language support. One key for MiniMax M2 and more — 26 models in total through one OpenAI-compatible API.

Why MiniMax?

MiniMax has become a serious contender. MiniMax M2 offers competitive pricing with strong Chinese and English language support. Through AI24X, access MiniMax M2 alongside DeepSeek, Qwen, GPT-6 and more through one API key.

Pricing overview

MiniMax publishes a flat USD rate for the M2 tier: no peak window, no weekday surcharge, no context-tier cliff on the published line. Input and output meter separately and output is priced 4× input, so the shape of your traffic decides the bill more than the sticker price does.

TierInput / 1MOutput / 1MPeak surcharge
MiniMax M2from $0.15from $0.60None published

Rates as published by MiniMax (verified 2026-10-02). "from" marks the entry tier — confirm the current line on the provider pricing page before budgeting. AI24X is an independent gateway and is not affiliated with MiniMax.

What a workload actually costs

Token counts alone say nothing, because input and output are priced differently and the ratio varies by task. Three common shapes, priced at the published rate:

WorkloadInputOutputCost
Chat / assistant (1M in, 1M out)$0.15$0.60$0.75
RAG / document Q&A (4M in, 0.5M out)$0.60$0.30$0.90
Agent / code generation (1M in, 3M out)$0.15$1.80$1.95

Three things that move the bill

  • Output length, not prompt length. At 4× the input rate, trimming 500 output tokens saves as much as trimming 2,000 input tokens.
  • Re-sent context. An agent loop re-sends the same history every turn: a 20k-token history sent ten times is 200k billed input tokens for one answer.
  • Retries. A failed call still bills its input. Validate JSON shape and tool arguments before the call, not after.

Through AI24X, get managed credits at competitive rates or bring your own key. The pricing page carries the current published rates — check it before budgeting a workload, since model prices change.

Best for text generation, chat, long context processing

MiniMax excels at text generation, chat, long context processing. Teams using OpenAI SDK can switch by changing just the base URL.

Payment and signup from outside China

Getting direct access to MiniMax from outside China often stalls on account and payment setup rather than the API itself. Through AI24X the path is shorter: create an account, top up AI Gateway credits with PayPal or an international card, and start calling — no Chinese phone number required. If you already hold a MiniMax key you are happy with, the BYOK gateway keeps it in play behind the same OpenAI-compatible interface.

Migrating an existing codebase

Switching from an OpenAI-compatible setup is a two-line change: point base_url at https://api.ai24x.com/v1 and set the model id to MiniMax M2. Requests keep the same JSON shape, so streaming and tool-calling code that already works against OpenAI-style endpoints needs no rewrite. Run one smoke test before moving real traffic — the curl quickstart and OpenAI SDK guide walk through the first call and the settings that matter.

Common errors and fixes

  • 401 Unauthorized — the key is wrong, truncated, or from another account. Re-paste the full key.
  • 402 Payment Required — your AI Gateway credits balance has run out. Top up in the console and retry.
  • 404 on the endpoint — the base URL must end at /v1. Check the path segment is not missing.
  • Model not found — confirm the exact model id on the MiniMax model page.

Getting started

  1. Sign up free
  2. Get an API key
  3. Set base_url to https://api.ai24x.com/v1
  4. Start calling MiniMax M2 and other models

Compare with DeepSeek, other alternatives, and pricing comparison.

FAQ

Do I need a separate MiniMax account?

No. One AI24X key covers MiniMax M2 and the rest of the catalog, with billing and usage managed in one console.

Can I pay with PayPal?

Yes. AI24X accepts PayPal and international cards, and signup does not require a Chinese phone number.

Where do I check the current price?

Prices are configured in the platform and shown in the user console; the pricing page reflects the current published rates. Check there before budgeting a workload, since published rates can change.

Chinese model API pricing hub

Cheapest option for a given workload: cheapest LLM API rates and cost per workload.

All six providers in one table — published rates per 1M tokens, peak windows, context tiers and payment options: Chinese LLM API pricing 2026.
Compare: DeepSeek · GLM · Kimi · MiMo.