NewHow we catch a seller listing the wrong model, and refund you if one does.
UberLLM

How do I use Codex CLI with my own API key and provider?

Codex CLI can use a custom model provider: a model_providers entry in ~/.codex/config.toml with base_url, env_key (the environment variable that holds the key) and wire_api. For UberLLM, base_url is https://api.uberllm.dev/v1 and wire_api is "responses". On November 19, 2026, one UberLLM key reached 34 OpenAI models and the rest of the catalog, billed per token from prepaid credit. The full file is at uberllm.dev/docs/codex. A request that fails is not billed.

Prices as of November 19, 2026, 09:00 UTC. This page is rebuilt every hour.

base_url = "https://api.uberllm.dev/v1"
ModelInput / 1M tokensOutput / 1M tokensBelow list price
GPT-6.1 Sol$0.0422$0.211297.9%
GPT-6 Luna$0.00299$0.01597%
OpenAI: GPT-6.1 Terra$0.0276$0.138197.2%
GPT-6 Sol$0.0421$0.210597.9%
GPT-4o$0.325$1.3087%
GPT 5 Nano$0.035$0.2830%
GPT-5.4 Mini$0.0737$0.442490.2%
GPT 5.4 Nano$0.0338$0.211383.1%
GPT-6.2 Astra$0.7287$3.643590.9%
OpenAI: GPT-6.1 Terra Pro$0.80$4.0020%
GPT 5 Mini$0.05$0.399980%
GPT-5.6 Luna$0.00806$0.048496%
GPT-4o Mini$0.0264$0.105682.4%
GPT-6 Luna Pro$0.08$0.4020%
GPT-6 Astra$0.2118$1.058897.9%
GPT-6.2 Sol Pro$1.60$8.0020%
GPT-5.4$0.4753$2.851581%
GPT-5.6 Terra$0.0416$0.249897.9%
GPT-5.6 Sol$0.1269$0.634496.8%
GPT-6.2 Astra Pro$6.40$32.0020%

UberLLM: the price a request is billed at now, no fee added. Other prices from each provider's public price list: Codex configuration reference · every model and price →

More questions

Where does the provider entry go?

In the user-level file ~/.codex/config.toml. Codex ignores provider definitions in a project’s own .codex/config.toml.

Can Codex CLI use models that are not from OpenAI?

Yes. Through UberLLM the Responses API serves the other chat models in the catalog too; set the model id in the Codex config.