MiniMaxOpen-weight·197K context· params

MiniMax M2minimax/minimax-m2

MiniMax-M2 is a compact, high-efficiency large language model optimized for end-to-end coding and agentic workflows. With 10 billion activated parameters (230 billion total), it delivers near-frontier intelligence across general reasoning,...

Cheapest blended:$0.44 / 1M tokenson MiniMax · 1 provider listed

Pricing across providers

Sort by:
ProviderInput /1MOutput /1MBlended /1MLatency p50FormatFreshnessAction
MiniMax
minimax-m2
$0.26$1.00$0.44OpenAI-compatibleNeeds 27d agoTry →

Affiliate disclosure: We may earn a commission from qualified signups. Pricing independence is enforced at the data layer — see our Editorial Independence Policy.

Works with

Point any of these clients at a hosting's base URL — they all speak at least one of this model's endpoint protocols (OPENAI_COMPATIBLE).

Capabilities

Code samples

Example using MiniMax — the cheapest hosting for this model as of last verification. Swap base_url and model to use a different provider from the matrix above.

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.minimax.io/v1",
)

response = client.chat.completions.create(
    model="minimax-m2",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Technical specs

Context
197K
Max output
197K
Parameters
Release
Training cutoff
License

Similar models

Compare with

  • MiniMax M2 vs DeepSeek V3
    Comparison planned — not yet published
  • MiniMax M2 vs DeepSeek V3 0324
    Comparison planned — not yet published
  • MiniMax M2 vs DeepSeek V3.1
    Comparison planned — not yet published

Frequently asked

How much does MiniMax M2 cost?+
The cheapest public hosting is $0.44 per 1M blended tokens on MiniMax. 1 total providers are listed above with per-input / per-output / cached pricing.
How do I access MiniMax M2 from outside China?+
All hostings listed above support global access. The official API (e.g. api.deepseek.com, dashscope-intl.aliyuncs.com) accepts international credit cards and does not require a Chinese mobile number. For privacy-sensitive workloads, third-party aggregators like Together.ai host the model on US/EU infrastructure.
Is MiniMax M2 open-source? Can I fine-tune it?+
Yes. MiniMax M2 is open-weight under the unspecified license. Weights are available on Hugging Face for local inference, fine-tuning, and commercial use (see license for specific terms).
Is MiniMax M2 OpenAI-compatible?+
Most listed hostings expose an OpenAI-compatible API, so you can point an existing openai SDK client at the Provider's base_url and use the Provider's model name. See the Code Samples above for a copy-pasteable example.
What's the maximum context window for MiniMax M2?+
The model supports up to 196,608 tokens of context (input + output). Some hosted versions may impose a smaller limit — check the "Context" column in the pricing matrix for each provider.