Skip to content

GPT-5.2 Codex

Tools
openai/gpt-5.2-codex

Vision · 400K context · Jan 2026 · 14 upstreams

GPT-5.2 Codex is OpenAI's Codex-environment variant of GPT-5.2, tuned for agentic coding workloads. It accepts text and image input and supports reasoning, streaming, function calling and structured outputs.

Needs your own keyTo use GPT-5.2 Codex, add your OpenAI key, or a key from another provider that serves it. AnyRouter adds no fee.
context
400K
input / 1M (list)
$1.75
output / 1M (list)
$14.00
routes
14
speed, 24h
No data yet

Upstreams

14
  1. 1OpenCode ZenYour keynot addedBilled to your key
  2. 2ClineYour keynot addedBilled to your key
  3. 3Vercel AI GatewayYour keynot addedBilled to your key
  4. 4OpenRouterYour keynot addedBilled to your key
  5. 5Nous ResearchYour keynot addedBilled to your key
  6. 6LLM GatewayYour keynot addedBilled to your key
  7. 7AI/ML APIYour keynot addedBilled to your key
  8. 8ZenMuxYour keynot addedBilled to your key
  9. 9AIHubMixYour keynot addedBilled to your key
  10. 10OcarRouterYour keynot addedBilled to your key
  11. 11OpenAIYour keynot addedBilled to your key
  12. 12NanoGPTYour keynot addedBilled to your key
  13. 13FluenceYour keynot addedBilled to your key
  14. 14Jiekou.AIYour keynot addedBilled to your key

Benchmarks

GPQA Diamond
89.9%
HLE
33.5%

Quick start

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

Details

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