MiniMax-M3.1-Flash API
Call MiniMax-M3.1-Flash through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
MiniMaxChatReasoningCodingVisionPricing
Input$0.15 / 1M tokens (¥1.00)
Output$0.62 / 1M tokens (¥4.00)
Output multiplier×4.00
Context window1M tokens
Max output131K tokens
Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY
MiniMax
MiniMax models are built for throughput. The highspeed variants are tuned for very low latency, which makes them a good fit for interactive products where perceived speed matters more than the last point of benchmark score.
When to use it
At $0.15 per 1M input tokens it sits far below the catalogue median of $0.69 — a cost-first choice. Best for coding agents and repository-scale edits. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.
Code
from openai import OpenAI
client = OpenAI(
base_url="https://starseaapi.com/v1",
api_key="sk-your-key"
)
r = client.chat.completions.create(
model="MiniMax-M3.1-Flash",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)Other models from this provider
| Models | Input $/M | Output $/M | Intelligence index | Coding index |
|---|---|---|---|---|
| MiniMax-H3 | $0.0000 | $0.0000 | — | — |
| MiniMax-M2.5 | $0.32 | $1.29 | 22.8 | — |
| MiniMax-M2.7 | $0.32 | $1.29 | 22.8 | 52.6 |
| MiniMax-M2.5-highspeed | $0.65 | $2.58 | 22.8 | — |
| MiniMax-M2.7-highspeed | $0.65 | $2.58 | 22.8 | 52.6 |
| MiniMax-M3 | $0.65 | $2.58 | 29.2 | 58.6 |