fast codex on adds an inference-net provider to ~/.codex/config.toml
(Responses API at https://api.inference.net/v1) and makes it the default.
The lines it manages are wrapped in # inference-fast comments.
Connect Codex
Install
npm install -g @inference/fastActivate
fast codex onThe first run signs you in through the browser and creates an API key for this machine. The command backs up Codex's config before editing it.
Restart Codex
Restart Codex and send a prompt; the request appears under Usage.
Choose a model
Codex uses kimi-k3-fast unless you pick another ID from the
model catalog:
fast codex on --model kimi-k3-fastRun on again to change the default. Restart Codex afterward.
Switch models in Codex
on writes every model from the model catalog into a Codex model
catalog (~/.codex/inference-fast-models.json), so /model lists them all
with the same system prompt and tools Codex uses for its own models. A
/model choice lasts for the session; run fast codex on --model <id> to
change the default. Codex must be installed when you run on, otherwise the
picker is not configured.
Check status
fast codex statusShows the connection, model, and config paths.
Disconnect
fast codex offRestores config.toml to the backup taken by on, so edits made after
connecting are lost. Restart Codex afterward.
Troubleshooting
fast codex statussaysoffbut Codex is connected — runfast codexcommands with the sameCODEX_HOMEyou used foron.- Requests return 401 — run
fast status, thenfast codex on. - Model rejected — pick an ID from the model catalog.