Last updated

MiniMax in Codex — MiniMax M3 Token Plan | Codex Router

MiniMax in Codex means adding MiniMax’s models to the Codex model picker through Codex Router. Provider id minimax-token-plan points at https://api.minimax.io/v1 and authenticates with a MiniMax Token Plan API key.

What the MiniMax plan is

The minimax-token-plan provider represents the MiniMax Token Plan. It is a key-only route: store the plan key once and the registry models appear in the picker alongside your other providers. Set MINIMAX_BASE_URL to override the endpoint.

Enable MiniMax

Install Codex Router first (see the install guide), then store the key and enable the provider:

  1. Create a MiniMax Token Plan API key.
  2. Store it through the hidden prompt.
  3. Enable the provider and restart Codex.
./bin/model-router codex provider-key minimax-token-plan set
./bin/model-router codex providers enable minimax-token-plan

On Windows use ./model-router.ps1 codex with the same commands. Then fully quit Codex, reopen it, and create a new task.

Registry model

One model ships in the registry:

Picker labelModel ID
MiniMax M3minimax-token-plan/minimax-m3

The router publishes it to the picker once the provider is enabled and the key is present.

One model, many routes

MiniMax M3 also appears on other Codex Router providers:

  • Ollama Cloud, billed through an ollama.com account
  • ClinePass, billed through a ClinePass subscription
  • Command Code, billed through Command Code credits
  • opencode Go, billed through the opencode subscription

Those entries intentionally coexist. Selecting ollama-cloud/minimax-m3 spends your Ollama Cloud allowance, while minimax-token-plan/minimax-m3 spends your MiniMax plan. The model is the same; the account behind it is not.

Verify the integration

./bin/model-router codex doctor
./bin/model-router codex providers
./bin/test-model 'minimax-token-plan/minimax-m3' --live --yes

The provider must report SHOW and ready. If the entry is missing, see models missing from the picker.

Provider policy

MiniMax may restrict or block proxy traffic. Routing its models through Codex Router is at your own risk; check MiniMax’s terms before relying on it.

FAQ

What is the MiniMax route in Codex? It is Codex Router’s minimax-token-plan provider, which routes MiniMax models into the Codex picker from https://api.minimax.io/v1 using a MiniMax Token Plan API key.

Why does MiniMax M3 appear on several providers? MiniMax M3 is served by more than one provider, including Ollama Cloud, ClinePass, Command Code and opencode Go. Entries intentionally coexist because each provider owns its own billing and authentication.

Can I override the MiniMax endpoint? Yes. Set MINIMAX_BASE_URL to point the minimax-token-plan provider at a different endpoint.

Related: models overview, Ollama Cloud in Codex, ClinePass in Codex, installation.