How to use Codex CLI with OpenRouter
This story is from 2026-11-26. It is preserved in the archive; the latest stories are on the live feed.
Originally published at alwaysagent.app . The original is kept up to date. Yes, Codex CLI works with OpenRouter through a custom model provider. Set OpenRouter's API base URL in your user-level config.toml, export your key, and choose an OpenRouter model. Here is the setup, how to verify it, and wh…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-26 02:10 · DEV Community — AI
How to use Codex CLI with OpenRouter