Coding
Supported Coding Environments
- Claude Code CLI
- VS Code with Claude Code Extension
- Antigravity with Claude Code Extension
- Gemini CLI
- Codex Desktop (Experimental)
- You may use other tools with the MiniMax series of coding models only.
Installing Claude Code
- Refer to the Claude Code documentation for installation.
All you need to do is EITHER
Set three environment variables (Linux and WSL), recommend adding to your profile to be persistent.
export ANTHROPIC_BASE_URL="https://chat.ultimateai.org"export ANTHROPIC_AUTH_TOKEN="<your api key>"export API_TIMEOUT_MS="3000000"
Or save settings in a config file (recommended for Windows)
- File located at
- %userprofile%\.claude\settings.json (Windows)
- ~/.claude/settings.json (Linux)
{ "env": { "ANTHROPIC_AUTH_TOKEN": "<your API key>", "ANTHROPIC_BASE_URL": "https://chat.ultimateai.org", "API_TIMEOUT_MS": "3000000" }}
Run claude.exe.
Claude Code Extension for VS Code and Antigravity
- Install Claude Code as shown earlier.
- Install Claude Code Extension for VS Code

That's it.
Installing Gemini CLI
- Refer to the Gemini CLI installation, execution, and releases | Gemini CLI Documentation for installation.
- Set the below environment variables;
GOOGLE_GEMINI_BASE_URL=https://chat.ultimateai.orgGOOGLE_GENAI_USE_VERTEXAI=falseGEMINI_API_KEY=<your api key>
Important when launching gemini append the MiniMax model, example;
gemini –m MiniMax-M2.7
Failure to do this, will result in degraded performance, as Gemini client will try and connect back to Google. MiniMax usage is not metered and supports all tool use.
Codex Desktop Client (same config for codex CLI)
- Download and Install the Codex Desktop Client
- Select "Enter API Key"

- Enter your API Key from UltimateAI (settings -> account)

- Add a single line to the top of your config.toml (hint: file-> settings -> open config)
Add this single line to the top of your "~/.codex/config.toml"
openai_base_url = "https://chat.ultimateai.org/v1"
Start a NEW chat\window.
Note: For the first message, there may be a few re-tries while the protocol is negotiated.
Troubleshooting: If you already had Codex configured with another provider and you were not prompted for an API key, also edit "~/.codex/auth.json" then restart.
{ "auth_mode": "apikey", "OPENAI_API_KEY": "<your key>"}
Start a NEW chat\window.
Troubleshooting:
Claude: Check you do not already have a config file, if so edit\replace as per above;
- ~/.claude/settings.json (Linux)
- %userprofile%\.claude\settings.json (Windows)
- ensure environment variable ANTHROPIC_API_TOKEN does NOT exist
- MAC: Add to path
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
Codex: if you already had Codex Installed or Previously Installed, reboot after modifying the token in auth.json. Closing\Restarting the client is not sufficient.