Integrations
Codex CLI
Point OpenAI's Codex CLI at Roteo and run GPT models from your wallet.
Codex CLI 0.121 and later speaks the Responses wire and ignores base-URL overrides, so it connects through a custom provider to Roteo's /v1/responses endpoint.
1. Install
Skip this if you already have Codex 0.121 or later (codex --version).
2. Sign out
If Codex is signed in with your own ChatGPT account, sign out so it uses your Roteo key. A stored sign-in keeps working, so without this step a correct config looks like it does nothing.
3. Configure
Add a provider to ~/.codex/config.toml. Codex writes its own settings into this file, so add to it rather than replacing it:
To keep the key out of the file, replace the experimental_bearer_token line with env_key = "OPENAI_API_KEY" and set that variable in the shell you launch Codex from. env_key is the stable option; experimental_bearer_token could change in a future Codex release.
4. Run
The session header should read provider: roteo. If it does not, Codex is still signed in elsewhere: go back to step 2.
Switch models
Use /model inside Codex, or change model in config.toml. Any gpt-* id from Models works, for example gpt-6-astra. Codex runs on GPT models; for Claude, use Claude Code.
models field. It expects its own model-list format, falls back to its built-in defaults and runs normally.