MiniMax model comparison: M2.7, M2.7-highspeed and M3

YiduoChan serves three MiniMax text models behind one OpenAI-compatible and one Anthropic-compatible endpoint. Picking between them is mostly a pricing and latency decision, and the rate card has three sharp edges worth understanding before you commit a workload.

The three MiniMax text models on YiduoChan — MiniMax-M2.7, MiniMax-M2.7-highspeed and MiniMax-M3 — are all reachable from the same base URL, with the same authentication and the same OpenAI-compatible request shapes. What separates them is the rate card, and that rate card has three edges you should design around: a 512K prompt-token price boundary on M3, an exact doubling of input and output on highspeed, and a hard 1,048,576-token ceiling on M3. The prices below are MiniMax's own published pay-as-you-go rates, which YiduoChan matches; every account currently sits in a group whose ratio is 0.95, so the amount actually billed is 5% below list.

The three text models at a glance

Rate (USD per 1M tokens) MiniMax-M2.7 MiniMax-M2.7-highspeed MiniMax-M3
prompt ≤ 512K
MiniMax-M3
prompt > 512K
Context window Not quoted on this page Not quoted on this page 1,048,576 tokens, a hard ceiling
Input $0.30 $0.60 $0.30 $0.60
Output $1.20 $2.40 $1.20 $2.40
Cache read $0.06 $0.06 $0.06 $0.12
Cache write $0.375 $0.375 Not published
Input / output after the current 5% group discount $0.285 / $1.14 $0.57 / $2.28 $0.285 / $1.14 $0.57 / $2.28
Cache read after the discount $0.057 $0.057 $0.057 $0.114

Two cells deserve a note. The M2.7 context window is not quoted here — see the M2.7 model page — and the M3 cache-write rate is not published, so if you cache heavily on M3, confirm what you were charged against your own usage records rather than assuming it matches M2.7. Model IDs are case-sensitive and must be sent exactly as written above.

M2.7 and M3 cost the same at or below 512K

This is the single most useful fact on the page. For any prompt at or below 512K tokens, M3 bills $0.30 input, $1.20 output and $0.06 cache read — identical to M2.7 on all three. Choosing M3 therefore costs you nothing at all until a prompt actually crosses the boundary. Above 512K and up to the 1M ceiling, input and output both double to $0.60 and $2.40, and cache read doubles to $0.12.

The practical rule: if your prompts might grow — a retrieval pipeline whose corpus is expanding, an agent that accumulates tool output, a document workflow whose inputs you do not control — set M3 as the default. You pay M2.7 rates in the common case and you keep headroom instead of hitting a wall. Reserve M2.7 for workloads whose prompt size you bound yourself and which will never approach 512K, where the extra headroom buys nothing.

What -highspeed actually buys

MiniMax-M2.7-highspeed is the same model quality at lower latency. On price it is exactly double M2.7 on input ($0.60 vs $0.30) and exactly double on output ($2.40 vs $1.20), while cache read is unchanged at $0.06. That asymmetry matters: the latency premium lands entirely on uncached input and on generated output, so a workload with a large, stable cached prefix pays a much smaller relative premium than an uncached one. The worked caching example below shows a case where switching to highspeed costs only 21.8% more rather than 100% more.

Treat highspeed as a latency purchase, not a capability purchase. If a slower response is merely mildly annoying, it is not worth the premium. If a response sits in a user-visible interactive loop — inline completion, a routing or classification hop in front of a bigger call, a voice-adjacent turn — it often is.

The 1M ceiling is hard

M3's 1,048,576-token context is a ceiling, not a soft target. There is no overflow tier above it and no graceful truncation to rely on: a prompt that exceeds it must be chunked, summarised or retrieved against before you send it. Note also that count_tokens is not available on the Anthropic-compatible endpoint, so any pre-flight size estimate has to come from your own tokenizer or a conservative character-based heuristic on your side.

Three worked monthly scenarios

All arithmetic below is at list price first, then multiplied by 0.95 for the current group discount. Rates are per 1,000,000 tokens.

1. Chat product on M2.7

120,000 requests per month, averaging 2,000 input tokens and 400 output tokens, no caching.

Run the same workload on M3 and the total is identical — $129.60 list, $123.12 discounted — because 2,000-token prompts sit far below 512K. Run it on highspeed and it doubles: 240M × $0.60 = $144.00 plus 48M × $2.40 = $115.20, giving $259.20 list and $246.24 discounted.

2. Long-context pipeline that crosses 512K

A document-analysis job on M3, 2,000 runs per month, 8,000 output tokens each. 1,200 runs have 400,000-token prompts (below the boundary) and 800 runs have 700,000-token prompts (above it).

Forty percent of the runs carry 69.3% of the bill ($351.36 of $506.88). Re-chunking those 800 runs so each prompt lands at 500,000 tokens instead of 700,000 moves them back into the cheaper band: 800 × 500,000 = 400M × $0.30 = $120.00 input, plus 6.4M × $1.20 = $7.68 output, a subtotal of $127.68 instead of $351.36. New list total $155.52 + $127.68 = $283.20, or $269.04 after the discount — $223.68 of list savings from a chunking change alone. The cost calculator is the fastest way to test variants of this.

3. Latency-sensitive endpoint on highspeed

An interactive endpoint on MiniMax-M2.7-highspeed: 900,000 requests per month, 800 input tokens and 120 output tokens each, no caching.

The same traffic on plain M2.7 is 720M × $0.30 = $216.00 plus 108M × $1.20 = $129.60, a list total of $345.60 and $328.32 discounted. The latency premium is $345.60 per month at list. Price that against what the latency is worth before shipping it.

ScenarioModelList total / monthAfter 5% discount
Chat productMiniMax-M2.7$129.60$123.12
Long-context pipelineMiniMax-M3$506.88$481.54
Latency endpointMiniMax-M2.7-highspeed$691.20$656.64

How prompt caching changes the arithmetic

Cache read at $0.06 is one fifth of the $0.30 input rate, and cache write at $0.375 is 1.25× input. That ratio rewards one specific design: a long, byte-stable prefix at the front of every request, with the variable part appended at the end. Reordering, re-serialising or timestamping the prefix breaks the hit and you pay full input again.

A coding assistant on M2.7 with a 40,000-token stable prefix, 1,000 tokens of fresh turn text and 600 output tokens, across 50,000 requests per month. With no caching at all:

Now at a 90% cache hit rate, billing the 10% of prefixes that must be written at the cache-write rate:

That is $417.00 of list savings, 64.1% off the uncached bill. Now run the cached version on highspeed: cache reads stay at $108.00 and cache writes stay at $75.00, only fresh input (50M × $0.60 = $30.00) and output (30M × $2.40 = $72.00) move. The list total becomes $285.00, or $270.75 discounted — just 21.8% above the M2.7 figure, not double. Verify the write-versus-input treatment against your own usage records before you budget on it.

Which model to set in Claude Code and Cursor

For Claude Code, point the Anthropic-compatible variables at YiduoChan. M3 is the sensible main model because agent sessions accumulate context, and highspeed is a good fit for the fast side-model slot:

export ANTHROPIC_BASE_URL=https://yiduochan.com
export ANTHROPIC_AUTH_TOKEN="<your key>"
export ANTHROPIC_MODEL=MiniMax-M3
export ANTHROPIC_DEFAULT_HAIKU_MODEL=MiniMax-M2.7-highspeed

# Use M2.7 instead when you bound prompt size yourself:
# export ANTHROPIC_MODEL=MiniMax-M2.7

For Cursor and anything else OpenAI-compatible, use the /v1 base URL and a bearer key. Streaming, tool calling and JSON mode all work through the standard shapes:

curl https://yiduochan.com/v1/chat/completions \
  -H "Authorization: Bearer $YIDUOCHAN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "model": "MiniMax-M2.7-highspeed",
        "messages": [{"role": "user", "content": "Reply with OK."}]
      }'

curl -s https://yiduochan.com/v1/models -H "Authorization: Bearer $YIDUOCHAN_API_KEY"

If you route per request, encode the two boundaries explicitly rather than leaving them implicit:

from openai import OpenAI

client = OpenAI(api_key="<your key>", base_url="https://yiduochan.com/v1")

M3_PRICE_BOUNDARY = 512 * 1024  # 524,288 tokens; above this M3 input/output/cache read double
M3_HARD_CEILING   = 1_048_576  # M3 will not accept more than this

def pick_model(prompt_tokens: int, latency_critical: bool = False) -> str:
    if prompt_tokens > M3_HARD_CEILING:
        raise ValueError("prompt exceeds the M3 1M ceiling & must be chunked")
    if latency_critical and prompt_tokens < HIGHSPEED_MAX_PROMPT:
        return "MiniMax-M2.7-highspeed"
    return "MiniMax-M3"

stream = client.chat.completions.create(
    model=pick_model(prompt_tokens=180_000),
    messages=[{"role": "user", "content": "Summarise the attached spec."}],
    stream=True,
)

Decision checklist

Billing notes

Billing is prepaid USD credits, pay-as-you-go, no subscription. The minimum top-up is $5, with presets at $5/$10/$20/$50/$100/$200/$500 or a custom amount, credits are valid for 12 months, and failed requests are never charged. There are no free credits and no trial, so plan a small first top-up while you validate the numbers above against real usage. The 5% group discount is the ratio currently applied to your account, not a permanent guarantee — check the pricing page for the live figures. Speech models are priced separately per input character; see speech-2.8 pricing. MiniMax-H3 video is temporarily unavailable on this platform. To start, see the MiniMax overview, the M3 model page, or create an account; questions go to [email protected].

FAQ

Is MiniMax-M3 more expensive than MiniMax-M2.7?

Not for prompts at or below 512K tokens — both bill $0.30 input, $1.20 output and $0.06 cache read per 1M tokens. Above 512K, M3 moves to $0.60 input, $2.40 output and $0.12 cache read.

What does MiniMax-M2.7-highspeed change compared with MiniMax-M2.7?

Latency only: it is the same model quality at exactly double the input and output rates, $0.60 and $2.40 per 1M tokens. Cache read is unchanged at $0.06, so heavily cached workloads pay a much smaller relative premium.

What is the maximum context on MiniMax-M3?

1,048,576 tokens, and it is a hard ceiling with no tier above it. Prompts larger than that must be chunked, summarised or retrieved against before you send them.

How is the 5% discount applied to my bill?

Every account currently sits in a group whose ratio is 0.95, so the amount billed is 5% below the list rates shown here. It is the setting in force right now, not a permanent guarantee.

Which model should I set in Claude Code?

Set ANTHROPIC_MODEL to MiniMax-M3 as the default, since agent sessions accumulate context and M3 costs the same as M2.7 below 512K. Optionally set ANTHROPIC_DEFAULT_HAIKU_MODEL to MiniMax-M2.7-highspeed for the fast side-model slot.

Can I test the models on free credits before topping up?

No — YiduoChan is prepaid pay-as-you-go with no free credits and no trial, and the minimum top-up is $5. Failed requests are never charged, and credits are valid for 12 months.

Sign up and get an API key See full model pricing