Models

minimax-m2.7 β€” API, Pricing & Context Window | Vivgrid

minimax-m2.7 on Vivgrid: MiniMax's affordable coding model with a 205K context window, 131K max output, and APAC acceleration.

minimax-m2.7 is MiniMax's affordable coding model, offering a 205K-token context window and 131K-token max output at some of the lowest prices in the catalog. It's well suited to high-volume coding and reasoning on a tight budget.

Vivgrid serves minimax-m2.7 through its unified, OpenAI-compatible API with APAC acceleration, ideal for Asia-Pacific teams.

Specifications

ProviderMiniMax
Model IDminimax-m2.7
Best forCoding
Available onVibe coding
Context window204,800 tokens
Max output131,072 tokens
ModalitiesText, Image
Tool / function callingYes
Knowledge cutoff2026-03
Acceleration🌐 Global (Centralized)

Pricing

Pricing in USD per 1M tokens.

InputCached inputOutput
$0.30$0.06$1.20

What one request costs

The rates above applied to a 20K-token prompt with a 2K-token reply β€” a typical single agent turn, small enough that every request is billed at the base rate.

RequestCost
Cold prompt, nothing cached$0.00840
Warm prompt, 90% of the input served from cache$0.00408

API surfaces

The Vivgrid Console catalogs minimax-m2.7 on one surface, all behind the same API key. The endpoint shown is the one the Console previews for that surface.

SurfacePrimary endpointUse it for
Vibe coding/chat/completionsCoding CLIs and IDE agents that drive the model themselves β€” point the tool at Vivgrid and keep your own loop.

Quick start

Get an API key from the Vivgrid Console, then call minimax-m2.7 directly.

curl https://api.vivgrid.com/v1/chat/completions \
  -H "Authorization: Bearer $VIVGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m2.7",
    "messages": [
      { "role": "user", "content": "Say hello in English, Chinese and Spanish." }
    ],
    "stream": true
  }'

Ideal use cases

  • Budget-focused coding agents
  • High-volume code generation and review
  • APAC deployments needing low latency
  • Cost-efficient steps in larger pipelines

On this page