Skip to main content
kRouter
All providers

OAuth subscription

cx/

OpenAI Codex

OpenAI Codex (Plus/Pro) — GPT-5.x series.

chatgpt.com

Quick setup

  1. Open the kRouter dashboard at http://localhost:20128

  2. Go to Providers → click the OpenAI Codex tile

  3. Click Connect and complete the OAuth flow in your browser

  4. Test the connection — kRouter auto-refreshes tokens from here on

Use in your IDE

Point any OpenAI-compatible client at kRouter using your local API key.

ide configbash
# Endpoint
http://localhost:20128/v1

# API key (from Dashboard → API Keys)
sk-krouter-XXXX

# Model
cx/gpt-5.5

How OpenAI Codex billing works with kRouter

OpenAI Codex connects with your existing subscription — kRouter signs in with OAuth and reuses the plan you already pay for, so there is no per-token bill. kRouter authenticates it via oauth. 21 models are routable as cx/<model>.

Through kRouter, OpenAI Codex serves chat and code completion and image generation, exposed on /v1/images/generations. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from OpenAI Codex is a one-line model change in your client rather than a rewrite.

OpenAI Codex models & pricing

Prices are USD per 1M tokens, cheapest first. You are not billed per token on this provider — the figures show what the same model costs elsewhere, which is what routing here saves you.

ModelRoute asInput /1MOutput /1M
GPT 5.5cx/gpt-5.5$3.00$12.00
GPT 5.5 Reviewcx/gpt-5.5-review$3.00$12.00
GPT 5.4cx/gpt-5.4$3.00$12.00
GPT 5.4 Reviewcx/gpt-5.4-review$3.00$12.00
GPT 5.4 Minicx/gpt-5.4-mini$3.00$12.00
GPT 5.4 Mini Reviewcx/gpt-5.4-mini-review$3.00$12.00
GPT 5.3 Codex (None)cx/gpt-5.3-codex-none$3.00$12.00
GPT 5.3 Codex Sparkcx/gpt-5.3-codex-spark$3.00$12.00
GPT 5.5 Imagecx/gpt-5.5-image$3.00$12.00
GPT 5.4 Imagecx/gpt-5.4-image$3.00$12.00
GPT 5.3 Codex (Low)cx/gpt-5.3-codex-low$4.00$16.00
GPT 5.3 Codexcx/gpt-5.3-codex$6.00$24.00
GPT 5.3 Codex Reviewcx/gpt-5.3-codex-review$6.00$24.00
GPT 5.3 Codex (xHigh) Reviewcx/gpt-5.3-codex-xhigh-review$6.00$24.00
GPT 5.3 Codex (High) Reviewcx/gpt-5.3-codex-high-review$6.00$24.00
GPT 5.3 Codex (Low) Reviewcx/gpt-5.3-codex-low-review$6.00$24.00
GPT 5.3 Codex (None) Reviewcx/gpt-5.3-codex-none-review$6.00$24.00
GPT 5.3 Codex Spark Reviewcx/gpt-5.3-codex-spark-review$6.00$24.00
GPT 5.3 Imagecx/gpt-5.3-image$6.00$24.00
GPT 5.3 Codex (High)cx/gpt-5.3-codex-high$8.00$32.00
GPT 5.3 Codex (xHigh)cx/gpt-5.3-codex-xhigh$10.00$40.00

OpenAI Codex links

OpenAI Codex FAQ

Is OpenAI Codex free through kRouter?

OpenAI Codex does not bill per token here — kRouter uses your existing subscription via OAuth, so the only cost is whatever you already pay OpenAI Codex directly. kRouter itself is MIT-licensed and free.

How do I use OpenAI Codex with Claude Code or Cursor?

Connect OpenAI Codex in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as cx/<model>.

Which OpenAI Codex models can kRouter route to?

21 models, including GPT 5.5, GPT 5.5 Review, GPT 5.4. Every one is addressed as cx/<model> from any client.

What happens when OpenAI Codex is rate limited?

kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.