Codex is OpenAI’s open-source CLI coding agent. Route your Codex traffic through Edgee to reduce token costs by up to 50% with lossless compression, and gain full observability over every coding session.Documentation Index
Fetch the complete documentation index at: https://www.edgee.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Edgee CLI setup (recommended)
The fastest way to connect Codex to Edgee is through the CLI, no config files to edit manually.
After the session ends, the CLI prints a link to view token usage, compression savings, and cost breakdown in the Edgee Console.
Manual setup (advanced)
If you prefer to configure Codex without the CLI, update your Codex configuration file at~/.codex/config.toml:
Replace
<YOUR_EDGEE_API_KEY> with your actual Edgee API key from the Edgee Console.
You’ll also need to enable Codex Token Compression on that key from the Dashboard section.Usage
Once launched, use Codex normally, compression is transparent:Benefits
Automatic Cost Reduction
If you are using API billing, you will see a significant reduction in your token costs by up to 50%.
More Work Per Session
Compression makes the effective context window stretch further, so Codex can tackle larger tasks before hitting limits.