Flatrouter
Codex

Codex CLI Setup

Point Codex CLI at Flatrouter and reach 100+ models through a single API key.

Codex CLI is OpenAI's AI coding command-line tool. Running it through Flatrouter gets you high rate limits, low latency, and a single endpoint for 100+ models.

Why Flatrouter?

  • High rate limits — generous RPM by default, sized for heavy coding sessions
  • Low latency — global edge nodes with automatic best-route selection
  • 100+ models — OpenAI, Claude, Gemini and other major models behind one endpoint
  • Full protocol support — 100% compatible with the OpenAI protocol

Before you start

Quick start

On this page