Ridgecall

Setup · MiniMax M4 Pro

MiniMax M4 Pro in coding agents

Coding agents that accept an OpenAI-compatible provider can run MiniMax M4 Pro with three settings: the base URL https://minimaxm4.pro/v1, your API key and the model ID minimax-m4-pro. A good setup uses M4 Pro for planning and hard edits, and standard minimax-m4 at low or medium effort for quick helper calls.

Get your API key

In short

  • Base URL https://minimaxm4.pro/v1, model minimax-m4-pro.
  • Works in Cline, Roo Code, Kilo Code, Continue, Aider, OpenCode and LangChain.
  • Tool calls are supported; send assistant turns back unchanged so M4 can continue its reasoning.
  • 1M-token context; this API accepts up to 512K input tokens per request.

Settings per tool

Every tool below needs the same three values. Create the key on the homepage first.

  • Cline, Roo Code, Kilo Code: API Provider “OpenAI Compatible”, Base URL, API Key, Model ID minimax-m4-pro.
  • Continue: provider openai with apiBase set to the base URL; use minimax-m4 for the autocomplete role.
  • Aider: export OPENAI_API_BASE and OPENAI_API_KEY, then aider --model openai/minimax-m4-pro --weak-model openai/minimax-m4.
  • OpenCode: a provider entry using @ai-sdk/openai-compatible with both model IDs.

Keeping agent runs affordable

Maximum reasoning on every step adds up in long agent loops. Use M4 Pro where the decision matters and the cheaper standard model elsewhere.

  1. Plan with Pro. Use minimax-m4-pro for the planning or architect role.
  2. Edit with standard M4. Use minimax-m4 at medium effort for routine file edits and summaries.
  3. Cap each step. Set a max_tokens limit in the tool so one step cannot run away.

Frequently asked questions

Does Claude Code work with this API?

Claude Code expects the Anthropic Messages format. This API uses the OpenAI Chat Completions format, so use an OpenAI-compatible agent such as Cline, Roo Code, Aider or OpenCode.

Why are agent replies slow with M4 Pro?

Every request thinks at maximum depth before it answers. Switch routine steps to minimax-m4 with a lower reasoning_effort to speed them up.

Can one key serve several tools?

Yes, but creating one key per tool makes it easy to revoke one without touching the others.

Is minimaxm4.pro run by MiniMax?

No. Ridgecall (minimaxm4.pro) is an independent service that forwards requests to MiniMax M4 through a hosted model provider. It is not affiliated with or endorsed by MiniMax.

Sources

Updated 2026-12-04. Ridgecall is an independent service and is not affiliated with or endorsed by MiniMax. MiniMax M4 Pro is this service’s name for MiniMax M4 at maximum reasoning effort, not a separate MiniMax product. Model output can be wrong; review it before you rely on it.