GPT-Image 2.6 Flare & Sunburst are liveImages from $0.025 each

MiniMax M2.7 API

LLM

The MiniMax M2.7 API is MiniMax's standard text route for agent workloads, with a 200K context and tool use.

  • Input · USD / 1M tokens$0.07 USDOfficial price$0.35 USD
  • Output · USD / 1M tokens$0.28 USDOfficial price$1.4 USD
  • Savings80%
  • Context200K
  • ReleasedMar 18, 2026
  • View tool pricing and billing rules

What are we making today?

Bring an idea, a question, or a first draft.

Enter to send · Shift + Enter for a new line

01

What this model is for

The MiniMax M2.7 API is MiniMax's standard text route for agent workloads, with a 200K context and tool use.

MiniMax M2.7 is the 200K entry in MiniMax's text family, served under the id MiniMax-M2.7. The catalog lists tool use for it, no fast marker, and the same five clients as the rest of the family: Claude Code, Codex, Cursor, Cline and Aider. It sits in the same listed token tier as MiniMax M3.

M2.7 suits teams whose prompts, caches and evaluations were already built around a 200K budget and who want to avoid re-tuning them. Its sibling M3 offers five times that window for the same listed rate, so new work should start there, while M3.1 Flash undercuts both on listed rates. Pick M2.7 when a stable, narrow context is the goal, keep retrieval tight, and treat the window as a hard cap rather than a suggestion.

Choose it for high-volume agent loops where a low per-token rate matters more than peak throughput.

Best-fit coding workloads

Frozen prompt migrations

Keep a production prompt that was written for a 200K budget and move it across without rewriting the retrieval step. Tip: replay a stored set of real conversations first and diff the answers, because a different model name can shift tone even when the prompt is untouched.

Multi-file code edits

Load a service directory plus the interfaces it consumes, ask for a patch, and let the model call your test runner. Tip: send interfaces and types rather than whole modules, so the 200K budget goes to the files that actually change.

Report field extraction

Pull named fields out of operations reports into a fixed JSON shape, then write them to a warehouse table through a tool call. Tip: give one field per schema key with an explicit type, and send malformed answers to a review queue instead of retrying blindly.

02

Hands-on notes

Checked on 2026-10-27 through the OmniaKey API with one standard coding prompt (median of 3 runs) and three capability probes.

Output tokens for our standard coding prompt, reasoning included
1,405
Cost of that output at current prices
$0.00039
JSON mode
Passed
Tool calling
Passed
Image input
Not listed

03

Technical specification

Catalog facts and integration details verified for this route.

Model ID
MiniMax-M2.7
Context
200K
Inputs and tools
Tool use
API endpoint
/v1/chat/completions
Cache hit / 1M
$0.014 USD
Coding clients
Claude Code · Codex · Cursor · Cline · Aider

Limits to plan around

  • The window is 200K, a fifth of what MiniMax M3 and M3.1 Flash list, so repository-wide or multi-document prompts need chunking that the larger siblings avoid.
  • The catalog gives M2.7 tool use without a vision entry, so screenshots and scanned reports must be converted to text before you send them.
  • M2.7 shares its listed token tier with M3, which offers a much larger window, so there is no rate advantage in staying on the older id.
  • No fast marker is listed for M2.7. Work that depends on the catalog's fast tier has to use MiniMax M2.7 Highspeed or M3.1 Flash.

04

Compare nearby models

Compare workload fit and current listed token rates before choosing a route.

ModelBest forContextInputOutput
MiniMax M2.7This page
MiniMax-M2.7
Settled 200K pipelines that should not be re-tuned, with tool use and the standard client list.200K
$0.07 USD
Official price $0.35 USD
$0.28 USD
Official price $1.4 USD
MiniMax M3
minimax-m3
New long-document and repository work that wants a far bigger window at the same listed tier.1M
$0.07 USD
Official price $0.35 USD
$0.28 USD
Official price $1.4 USD
MiniMax M3.1 Flash
minimax-m3.1-flash
High-volume calls that need 1M context or the fast marker on a lower listed tier.1M
$0.0333 USD
Official price $0.1665 USD
$0.1333 USD
Official price $0.6665 USD
MiniMax M2.7 Highspeed
MiniMax-M2.7-highspeed
The same 200K behaviour when interactive sessions need the fast marker instead of the standard tier.200K
$0.14 USD
Official price $0.7 USD
$0.56 USD
Official price $2.8 USD

05

SDK quickstarts

Use one base URL and model ID from cURL, Python, or TypeScript.

Streaming chat completion
curl https://api.omniakey.com/v1/chat/completions \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMax-M2.7",
    "messages": [
      {"role": "user", "content": "Review this pull request"}
    ],
    "stream": true
  }'

06

Estimate token cost

Enter expected input and output tokens to compare current listed rates.

OmniaKey estimate
$0.0126
Official-rate estimate
$0.063
Estimated savings
$0.0504

Estimate covers input and output tokens only. Cache usage, retries, tools, and client-side token accounting can change the final charge.

07

Related coding guides

Deeper selection, setup, and troubleshooting guidance for this model family.

08

Sources and verification

Model facts and links were checked on 2026-10-27. Provider documentation remains the authority for upstream behavior.

Common errors

The errors OmniaKey users hit most often, from our production logs. Each message appears as the API returns it.

HTTP 403

Insufficient quota
Cause
Your OmniaKey balance has run out.
Fix
Top up your balance. The same API key works again right away.

HTTP 403

insufficient quota for pre-charge
Cause
Before a request runs, OmniaKey reserves its largest possible cost, which grows with the prompt and max_tokens. Your balance is below that amount.
Fix
Top up, or lower max_tokens.

HTTP 401

Invalid token
Cause
The request carries no API key, or a key that does not exist.
Fix
Copy the key from your dashboard again and check that your client sends it.

HTTP 503

No available channel for model <model> under group <group>
Cause
The model name does not match one OmniaKey serves, often because of a dot or a capital letter, such as claude-sonnet-5.5 for claude-sonnet-5-5. It also appears when every supplier of the model is unavailable.
Fix
Use the exact model ID, MiniMax-M2.7. If it already matches, retry later or switch models.

HTTP 524

524: A timeout occurred
Cause
No data came back for about 100 seconds, so Cloudflare closed the connection. Long answers without streaming run into this.
Fix
Set stream to true, so tokens arrive while the answer is written.

Frequently asked questions

How much does MiniMax M2.7 cost on OmniaKey?

OmniaKey currently charges $0.07 USD per 1M input tokens and $0.28 USD per 1M output tokens, in USD. Direct provider rates are separate and may change with input context length.

What is the context window for MiniMax M2.7?

The listed context window is 200K. Actual usable limits can also depend on the client and upstream request format.

How large is the MiniMax M2.7 context window?

The catalog lists 200K tokens. MiniMax M3 and MiniMax M3.1 Flash list 1M, which is five times more, so the same prompt may fit one model and not another. Leave room for the reply inside the 200K budget, and trim retrieved passages before you add a new document.

Should I move from MiniMax M2.7 to MiniMax M3?

Move when prompts are being trimmed to fit 200K or when a task needs many documents at once, since M3 lists a far larger window in the same listed tier. Stay when the prompt, clients and evaluation set are settled and the extra window would go unused. Replay saved traffic before switching either way.

How is MiniMax M2.7 charged?

Each request is charged for its input tokens and its output tokens, with cached input at a separate lower rate, all against the account balance. Live figures sit in the price table on the model page. Prompt shape does not change the unit rate, so a shorter retrieved context is the most direct saving.

Which model id do I send for MiniMax M2.7?

Send MiniMax-M2.7 exactly, with capitals, to https://api.omniakey.com/v1/chat/completions, and pass the OmniaKey key as a bearer token. Clients in the catalog list, such as Cursor or Cline, take the same key plus the base URL https://api.omniakey.com/v1. A mismatched id is the usual cause of a not-found error.

Does MiniMax M2.7 support images or tool calls?

Tool use is listed, so function definitions and structured calls work. Vision is not listed, so an image has to arrive as text. Describe diagrams in prose, or run a vision model over the picture first and include the description. Keep the original file for a human check of the extract.