UniRouteUniRoute
All models
OpenAI Codex
Text

OpenAI

OpenAI Codex

Access OpenAI Codex API with GPT-5, 5.1, 5.2, and GPT-5.3 Codex models. Generate code, debug complex systems, and handle long-context engineering tasks with scalable performance on UniRoute.

Pricing

Billing unitUniRouteMarket
Input$0.50$1.25
Output$4.00$10.00

per 1M tokens

About this model

GPT-5 Codex API provides stable code generation for everyday development tasks. It balances reasoning and speed, making it suitable for prototyping, structured implementation, and general engineering workflows.

Chat

Deep dive

GPT-5 Codex API for Reliable Coding Foundations

GPT-5 Codex API provides stable code generation for everyday development tasks. It balances reasoning and speed, making it suitable for prototyping, structured implementation, and general engineering workflows.

GPT-5.1 Codex API for More Consistent Output

GPT-5.1 Codex API improves instruction adherence and output stability. Developers benefit from more predictable results, cleaner structure, and fewer revisions when working on structured coding tasks.

GPT-5.2 Codex API for Deeper Debugging and Context

GPT-5.2 Codex API enhances reasoning depth and long-context handling. It performs better across multi-file systems, complex debugging scenarios, and iterative patch refinement in mid-to-large repositories.

Call it with one request

Works with the OpenAI SDK — just change the base URL.

api.uniroute.dev
curl https://api.uniroute.dev/v1/chat/completions \
  -H "Authorization: Bearer $UNIROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "codex",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'

Related models