MiniMax M2,专为 Agent 和代码而生,仅 Claude Sonnet 8% 价格,2倍速度。
| Provider | Input | Output | Cache read | Context length | Latency | Uptime | Status |
|---|---|---|---|---|---|---|---|
minimax minimax/MiniMax-M2 | ¥2.10 | ¥8.40 | — | 205K | 2.0s | 0.00% | Lowest |
from openai import OpenAI
client = OpenAI(
base_url="https://api.openroute.cn/v1",
api_key="<ONTOROUTE_API_KEY>",
)
completion = client.chat.completions.create(
model="minimax/MiniMax-M2",
messages=[
{
"role": "user",
"content": "Write a one-sentence bedtime story about a unicorn.",
}
],
)
print(completion.choices[0].message.content)Prices are CNY (¥) per million tokens, billed as you go. Cache reads can cut the cost of repeated context.
This model does not publish tunable parameters.