MiniMax M2.7 API
Run MiniMax-M2.7 through FastInfra's API.
Pay per token, no subscription, routed to the cheapest available provider.
MiniMax M2.7 pricing
Billed per token used. Prices sync automatically from wholesale providers.
| Direction | Price per 1M tokens |
|---|---|
| Input | $0.26 |
| Output | $1.05 |
4 routes available
Requests route to route-21 by default (lowest cost). FastInfra fails over automatically if a route is unavailable.
| Route label | Model ID |
|---|---|
route-21 |
MiniMax-M2.7 |
route-07 |
MiniMax-M2.7 |
route-03 |
MiniMax-M2.7 |
route-04 |
MiniMax-M2.7 |
Call MiniMax M2.7 in 30 seconds
Works with any OpenAI SDK — change the base URL and API key only.
Python
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.fastinfra.ai/v1")
response = client.chat.completions.create(
model="MiniMax-M2.7",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl
curl https://api.fastinfra.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "MiniMax-M2.7",
"messages": [{"role": "user", "content": "Hello!"}]
}'
MiniMax M2.7 — common questions
How much does the MiniMax-M2.7 API cost?
On FastInfra, MiniMax-M2.7 costs $0.2625/1M input, $1.05/1M output tokens. Billing is per token used, with no subscription.
Is MiniMax-M2.7 compatible with the OpenAI SDK?
Yes. FastInfra exposes MiniMax-M2.7 through an OpenAI-compatible endpoint at https://api.fastinfra.ai/v1 — point any OpenAI SDK at that base URL with a FastInfra API key and keep your existing code.
How does routing work for MiniMax-M2.7?
MiniMax-M2.7 is available on 4 route(s): route-21, route-07, route-03, route-04. Requests use route-21 by default (lowest cost). FastInfra fails over automatically if a route is unavailable.
Related models
Compare side by side: MiniMax M2.7 vs Minimax m2 · MiniMax M2.7 vs Minimax 01 · MiniMax M2.7 vs Minimax M2.5