All integrations
OpenAI Codex CLI
Coding agents & IDEsOpenAI's terminal coding agent, talking to our Responses API.
Base URL
https://api.ultragpt.pro/v1
Fill the guide with your values
Stays in this browser tab — never sent or stored by us. Sign in to create one
Your system Setup
- 1Install Codex:
npm install -g @openai/codex. - 2Add an UltraGPT provider to your user-level
~/.codex/config.toml (project configs cannot define providers) and make it the default. - 3Export
ULTRAGPT_API_KEY and run codex.
# ~/.codex/config.toml
model = "claude-opus-4.6"
model_provider = "ultragpt"
[model_providers.ultragpt]
name = "UltraGPT"
base_url = "https://api.ultragpt.pro/v1"
env_key = "ULTRAGPT_API_KEY"
wire_api = "responses"
Tips
- Any model id from Models works; suffixes like :online (web search) and :nitro work too.
- Give each tool its own key with a spend limit, so usage shows separately in Activity.
- Something off? Error codes · Support