Skip to content

GPT-5.2 Codex

Tools
openai/gpt-5.2-codex

400K context · Jan 2026 · 5 upstreams

GPT-5.2 Codex is the Codex-environment variant of GPT-5.2, tuned for agentic coding workloads with streaming, function calling, and structured outputs. Available through OpenAI's Responses API.

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

Upstreams

5
  1. 1OpenCode ZenYour key · not addedyour planTPS —TTFT ——
  2. 2ClineYour key · not addedyour planTPS —TTFT ——
  3. 3Vercel AI GatewayYour key · not addedyour planTPS —TTFT ——
  4. 4OpenRouterYour key · not addedyour planTPS —TTFT ——
  5. 5Nous ResearchYour key · not addedyour planTPS —TTFT ——
  • Up
  • No traffic
  • Down

Try it

Send a prompt

Details

Owner
OpenAI
Kind
Vision
Released
Jan 2026
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.2-codex",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'