Skip to main content
kRouter
All providers

Pay-per-token

minimax/

Minimax Coding

MiniMax M2.7 — cheapest 1M-context, $0.2 per 1M.

www.minimax.io

Quick setup

  1. Open the kRouter dashboard at http://localhost:20128

  2. Go to Providers → click Minimax Coding

  3. Paste your API key, click Save

  4. Test the connection

Use in your IDE

Point any OpenAI-compatible client at kRouter using your local API key.

ide configbash
# Endpoint
http://localhost:20128/v1

# API key (from Dashboard → API Keys)
sk-krouter-XXXX

# Model
minimax/MiniMax-M2.7

How Minimax Coding billing works with kRouter

Minimax Coding is pay-per-token. You bring your own API key and kRouter routes to it, so you keep your own rate limits and billing relationship. kRouter authenticates it via apikey. 5 models are routable as minimax/<model>.

Through kRouter, Minimax Coding serves chat and code completion, image generation, exposed on /v1/images/generations, image understanding (OCR / vision-to-text), web search, exposed on /v1/search so an agent can look things up mid-conversation, text-to-speech, exposed on /v1/audio/speech. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from Minimax Coding is a one-line model change in your client rather than a rewrite.

Minimax Coding models & pricing

Prices are USD per 1M tokens, cheapest first. kRouter bills nothing on top; this is the provider's own rate.

ModelRoute asInput /1MOutput /1M
MiniMax M3minimax/MiniMax-M3$0.30$1.20
MiniMax M2.7minimax/MiniMax-M2.7$0.50$2.00
MiniMax M2.5minimax/MiniMax-M2.5$0.50$2.00
MiniMax M2.1minimax/MiniMax-M2.1$0.50$2.00
MiniMax Image 01minimax/minimax-image-01$0.50$2.00

Minimax Coding FAQ

Is Minimax Coding free through kRouter?

Minimax Coding is pay-per-token: you bring your own API key and are billed by Minimax Coding at their rates. kRouter adds nothing on top and is free and MIT-licensed.

How do I use Minimax Coding with Claude Code or Cursor?

Connect Minimax Coding in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as minimax/<model>.

Which Minimax Coding models can kRouter route to?

5 models, including MiniMax M3, MiniMax M2.7, MiniMax M2.5. Every one is addressed as minimax/<model> from any client.

What happens when Minimax Coding is rate limited?

kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.