Buying with Codex
Codex needs one thing the other tools do not — a model chosen up front — because it picks from its own list rather than from the request.
Codex is the tool that needs the most attention, for one structural reason.
Turning it on
Buy → switch on Codex → pick a model → restart Codex.
What changes on disk
| File | Keys |
|---|---|
~/.codex/config.toml | model_provider, [model_providers.asale], model, model_catalog_json |
~/.codex/auth.json | OPENAI_API_KEY |
config.toml is edited in a format-preserving way, so your own comments and layout survive. Both files are backed up before the first write.
Why you must pick a model
Every other tool names the model in the request. Codex takes it from a built-in catalog. With nothing selected it stays on its built-in GPT models, which the market cannot serve — and you get failures rather than an obvious error.
Selecting a model writes it into config.toml and into the catalog Codex reads, so it appears in the app's model menu.
Things to watch
- Restart is not optional here. The desktop app reads its catalog at launch; a model written while it is running will not appear in the menu.
- If the picker still shows only built-in models after a restart, re-apply from the Buy page and restart once more.
- While this switch is on, the Codex account imported from this machine stops being offered for sale.