Knowledge Base Sections ▾
Navigation
▸ Start here By rolesCategories
- Gonka Network Architecture: Sprint, Transfer Agents, DiLoCo
- Developers: How to Earn GNK
- Self-hosting: Step-by-step guide
- Choosing a GPU for Gonka: Hardware Recommendations
- Qwen3-235B: the model previously served by Gonka
- Kimi K2.6: a model previously hosted by Gonka
- MiniMax M2.7 API: pricing and free start
- DeepSeek V4 Flash 0731 API: Pricing and Free Start
- GLM-5.3 Flash API: Pricing and a Free Start
API and pricing
MiniMax M2.7 API: pricing and free start
In short: MiniMax is retiring M2.7 from its API: as of October 19, 2026 the model is no longer sold to new users, and as of November 18, 2026 requests to it stop working. At MiniMax it cost $0.30 per million input and $1.20 per million output tokens, and at the cheapest provider on OpenRouter — $0.21 and $0.84. Through JoinGonka Gateway the same model costs $0.0062 and $0.019: it's served by the decentralized Gonka network.
If your code runs on M2.7 at MiniMax, you can move it to JoinGonka by changing the address and the key — as long as the model is available in the Gonka network. Whether it's there right now is shown by the live list in the Gonka API documentation. New accounts get 3M free tokens, and the API is compatible with OpenAI and Anthropic.
MiniMax M2.7 API price calculator
What your month on MiniMax M2.7 costs: on the official API, on the cheapest OpenRouter provider, and on JoinGonka. Everywhere — pay only for tokens, no subscription.
Example workload:
Chatbot or service: short history, responses of noticeable length, no cache considered.
| Where to pay | Per month |
|---|---|
| MiniMax API (MiniMax-M2.7)$0.30 input, $0.06 from cache · $1.20 output per 1MUnavailable to new users since October 19, 2026, retires November 18, 2026 | $12.00 |
| OpenRouter, cheapest provider (GMICloud)MiniMax M2.7·$0.21 input, $0.042 from cache · $0.84 output per 1M | $8.40 |
| JoinGonka GatewayMiniMax M2.7·$0.0062 input · $0.019 output per 1MContext 180 000 tokens, output up to 8 192.Cache input — at the regular input price. | $0.22 |
Fine-tune the calculation
The resent part of a request — dialogue history, system prompt — costs less on official APIs and many providers. On JoinGonka all input is at one price, and the calculation accounts for that.
Free start: new JoinGonka accounts get 3M tokens, and the key is issued right after sign-up.
Prices outside JoinGonka verified on November 2, 2026 (model status at MiniMax · MiniMax price and providers on OpenRouter). The JoinGonka price is pulled from the gateway API and updates automatically. Cache write fees charged by others are not included.
How much MiniMax M2.7 API costs: MiniMax, OpenRouter and JoinGonka
Prices per 1 million tokens as of November 2, 2026:
| Where to buy | Input | Cached input | Output |
|---|---|---|---|
| MiniMax — existing customers only, until November 18, 2026 | $0.30 | $0.06 | $1.20 |
| OpenRouter — cheapest provider (GMICloud) | $0.21 | $0.042 | $0.84 |
| JoinGonka Gateway | $0.0062 | at the input price | $0.019 |
The difference from the cheapest provider of the same model is roughly ×34 on input and ×45 on output. JoinGonka's price on the page is live: it comes from the gateway API and changes with the GNK rate.
MiniMax is moving subscriptions to M3.1 Flash and offering M3 to new users — those are different models, not available on the Gonka network.
How to connect MiniMax M2.7 via API
1. Key. Sign up at JoinGonka Gateway and create a jg-… key in your dashboard. New accounts get 3M free tokens.
2. Request. The endpoint is https://gate.joingonka.ai/v1, the model is MiniMaxAI/MiniMax-M2.7. If your code already worked with the MiniMax API through the OpenAI SDK, all you change is the endpoint, the key and the model name:
from openai import OpenAI
client = OpenAI(api_key="jg-your-key", base_url="https://gate.joingonka.ai/v1")
stream = client.chat.completions.create(
model="MiniMaxAI/MiniMax-M2.7",
messages=[{"role": "user", "content": "Summarize this support chat in three sentences: ..."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)For clients on the Anthropic Messages API — including code written for https://api.minimax.io/anthropic — the endpoint is https://gate.joingonka.ai, without /v1.
3. Coding tools. npx @joingonka/setup --model minimax writes the gateway and model into the config of Claude Code, Codex CLI, OpenCode and other tools, and prints values to paste for Cursor, Cline and Aider.
MiniMax M2.7 specs on the Gonka network
MiniMax M2.7 is an MoE model from the Shanghai lab MiniMax. The hallmark of the M series is efficient linear attention, which makes long context cheaper. On the Gonka network the model has been running since May 2026, and its working parameters are set by the deployment on the hosts:
- Context — 180,000 tokens, input and answer combined: that's how the network's hosts are configured. At MiniMax and OpenRouter providers the window is around 200,000.
- Answer — up to 8,192 tokens, verified with long generations right up to the ceiling.
- Text only: the network doesn't accept images yet.
Current limits are returned by GET https://gate.joingonka.ai/v1/models, availability — by the gateway status page.
MiniMax M2.7, GLM-5.3 Flash and DeepSeek V4 Flash
| GLM-5.3 Flash | DeepSeek V4 Flash 0731 | MiniMax M2.7 | |
|---|---|---|---|
| Context in JoinGonka | 390,000 | 380,000 | 180,000 |
| Answer up to | 8,192, including reasoning | 32,768 | 8,192 |
| Strength | Tasks that need thinking: logic, bug hunting, code review | Long answers, large documents, long agent sessions | Fast short answers |
| Official API | Z.ai: $0.15 / $0.50 | V4 Flash discontinued, V4.1 Flash — from $0.15 / $0.60 | Shutting down November 18, 2026 |
| JoinGonka | one price — $0.0062 input / $0.019 output per 1M | ||
M2.7 is still handy for short, fast answers, but its generation is on the way out: MiniMax has already replaced it with new models, and the model lineup on the Gonka network is changing too. For a new project it makes more sense to start with GLM-5.3 Flash or DeepSeek V4 Flash — the price in JoinGonka is the same, and switching is one model line.
When to choose MiniMax M2.7
- Code written for M2.7 at MiniMax. It moves to JoinGonka by changing the endpoint, key and model name, with no need to rework prompts for a new model — as long as M2.7 is available on the Gonka network.
- Short answers and bulk requests: classification, fact extraction, drafts.
- Transcripts and logs: lots on the input, a short summary on the output, so the 8,192-token answer ceiling isn't a problem.
When you need a different model: long answers — DeepSeek V4 Flash, up to 32,768 tokens; reasoning tasks — GLM-5.3 Flash. The network's lineup changes by vote of its participants, and the current list is returned by GET https://gate.joingonka.ai/v1/models.
Want to learn more?
Explore other sections or start earning GNK right now.
Connect MiniMax M2.7 through JoinGonka →