Models / MiniMax

MiniMax M2.7 API pricing

$0.18 in, $0.72 out per million tokens, 40% under MiniMax's list price.

minimax-m2.7managed routeOpenAI SDK

Price · per million tokens, USD

TokensMiniMax list priceUplinkSwitchSaving
Input$0.30$0.18-40%
Cached input$0.06$0.036-40%
Output$1.20$0.72-40%
List price: MiniMax's published rate, read October 2026. Same price on every host.

MiniMax M2.7 specs

Context window
204,800 tokens
Max output
204,800 tokens
Input
text
Released
March 18, 2026

MiniMax M2.7 API · base URL and key

Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="minimax-m2.7",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
TypeScript · OpenAI SDK
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'minimax-m2.7',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
curl
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"minimax-m2.7","messages":[{"role":"user","content":"Hello"}]}'

What would it cost? · paste a prompt, priced before you send it

Input is counted at about 4 characters per token.

Cheapest first. A real request is billed on the provider's own token count. Same estimate as JSON: POST https://api.uplinkswitch.com/v1/estimate, no key needed.

MiniMax M2.7 questions

What is MiniMax M2.7?
MiniMax M2.7 is a model from MiniMax, released March 18, 2026, with a 204,800-token context window, taking text input. Through UplinkSwitch it answers the OpenAI SDK on one key as minimax-m2.7.
How much does the MiniMax M2.7 API cost?
$0.18 per million input tokens and $0.72 per million output tokens, with cached input at $0.036. MiniMax's list price is $0.30 and $1.20, so this is 40% under MiniMax's list price.
Is MiniMax M2.7 free?
It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0005.
What is the MiniMax M2.7 context window?
MiniMax M2.7 has a 204,800-token context window, with up to 204,800 output tokens per request. It takes text input.
What is the MiniMax M2.7 model id?
minimax-m2.7. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.
How do I get a MiniMax M2.7 API key?
Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls MiniMax M2.7 and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.
Is it the real MiniMax M2.7?
Every day each model gets the same test prompt, and a model always counts that prompt the same way; a swapped one would not. MiniMax M2.7's latest result: Same fingerprint since Oct 12.