Skip to main content
The pages above walk through the most popular AI coding tools step-by-step. For other tools that accept a custom Base URL + API Key, use the values below.

Configuration Reference

MiniMax exposes two protocols. Pick whichever your tool supports — most modern tools support at least one.

OpenAI-Compatible Protocol

FieldValue
ProviderOpenAI Compatible (sometimes called Custom or OpenAI-format)
Base URLhttps://api.minimax.io/v1
API KeyGet Token Plan API Key
Model IDMiniMax-M2.7 or MiniMax-M2.7-highspeed

Anthropic-Compatible Protocol

FieldValue
ProviderAnthropic Compatible (sometimes called Claude or Custom Anthropic)
Base URLhttps://api.minimax.io/anthropic
API KeyGet Token Plan API Key
Model IDMiniMax-M2.7 or MiniMax-M2.7-highspeed

Which Protocol Should I Pick?

Tool styleRecommended protocolTypical env vars
Claude Code-style (TUI / CLI written for Anthropic)Anthropic-CompatibleANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN
Cursor / Continue / Aider / OpenAI-format IDE pluginsOpenAI-CompatibleOPENAI_BASE_URL + OPENAI_API_KEY
Tools that ask for bothEither works — Anthropic-Compatible is recommended for prompt-cache benefits

Cherry Studio

Install Cherry Studio per the official docs. Open Cherry Studio → click Choose other Providers → search MiniMax, then pick MiniMax. Enter your Token Plan API Key (the API Host is prefilled), then click Check to verify. Pick MiniMax-M2.7 from the model list.