Skip to main content

Documentation Index

Fetch the complete documentation index at: https://platform.minimax.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Codex is OpenAI’s official AI coding agent for the desktop.

Install Codex

Download and install the Codex desktop app from the OpenAI Codex page.

Configure MiniMax API

1

Edit the config file

Open ~/.codex/config.toml and add the following, replacing <MINIMAX_API_KEY> with your key from the MiniMax Developer Platform:
model = "MiniMax-M3"
model_provider = "minimax"
model_context_window = 512000

[model_providers.minimax]
name = "MiniMax"
base_url = "https://api.minimax.io/v1"
experimental_bearer_token = "<MINIMAX_API_KEY>"
wire_api = "responses"
2

Restart Codex and start using MiniMax-M3

Restart Codex — MiniMax-M3 is now ready to use.