Skip to content

GPT-5 Codex

Tools
openai/gpt-5-codex

400K context · Sep 2025 · 3 upstreams

GPT-5 Codex is a version of GPT-5 optimized for agentic coding in Codex or similar environments, available exclusively through the Responses API with regular underlying snapshot refreshes. It supports a 400,000-token input context with 128,000 output tokens, text and image inputs, and exposes reasoning tokens, streaming, function calling, and structured outputs.

Bring your own keyAnyRouter has no platform route for GPT-5 Codex. Requests use your key and bill your provider account. AnyRouter adds no fee.
context
400K
input / 1M (list)
$1.25
output / 1M (list)
$10.00
routes
3
speed, 24h
—

Upstreams

3
  1. 1OpenAIYour key · not addedyour planTPS —TTFT ——
  2. 2OpenCode ZenYour key · not addedyour planTPS —TTFT ——
  3. 3Vercel AI GatewayYour key · not addedyour planTPS —TTFT ——
  • Up
  • No traffic
  • Down

Try it

Send a prompt

Details

Owner
OpenAI
Kind
Vision
Released
Sep 2025
Context
400K
Data policy
Provider retention
Endpoint
/api/v1/chat/completions

Quick start

curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/gpt-5-codex",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'