Models / minimax-m2.7
minimax-m2.7 API on RelayRouter
minimax-m2.7 is a text generation (chat) model from MiniMax. On RelayRouter it is served by 1 public group, billed per token from a prepaid balance with no platform fee, through the same base URL as every other model: https://relayrouter.io.
Facts
| Model id | minimax-m2.7 |
|---|---|
| Provider | MiniMax |
| Modality | text generation (chat) |
| Protocols | OpenAI Chat Completions API (/v1/chat/completions) |
| Billing | Per token, prepaid balance, failed requests not billed, no platform fee |
| Payment | Credit or debit card via Stripe |
Groups and rates
| Group | Protocol | Rate |
|---|---|---|
| MiniMax | OpenAI Chat Completions API | ¥1.763 (about $0.259) per 1M input tokens, ¥7.058 (about $1.04) per 1M output tokens |
Rates are indicative and settle from your prepaid balance; the rate shown in the console at request time is authoritative. Market reference ¥6.8 per $1. Full table on the models page and pricing.
How to call it
Create a key in the console for a group that lists minimax-m2.7, then call it with that group's native protocol. The quick start covers all three protocols.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RELAYROUTER_API_KEY,
baseURL: "https://relayrouter.io/v1",
});
const res = await client.chat.completions.create({
model: "minimax-m2.7",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(res.choices[0].message.content);Questions
How much does minimax-m2.7 cost on RelayRouter?
The cheapest public group serving minimax-m2.7 is "MiniMax": ¥1.763 (about $0.259) per 1M input tokens, ¥7.058 (about $1.04) per 1M output tokens. Usage is deducted from your prepaid balance and the exact rate at request time is shown in the console.
Which API protocol do I use for minimax-m2.7?
Use the native protocol of the group you pick: OpenAI Chat Completions API at /v1/chat/completions. The base URL is always https://relayrouter.io and the key goes in the usual header for that SDK.
Are failed requests billed?
No. Only successfully completed calls are billed, and there is no platform fee on top of token usage.