Skip to content

GPT-5.1 Codex

Tools
openai/gpt-5.1-codex

400K context · Nov 2025 · 6 upstreams

GPT-5.1 Codex is a version of GPT-5.1 optimized for agentic coding inside the Codex environment, with regular underlying model refreshes. It supports a 400,000-token input context with 128,000 output tokens, accepts text and image inputs, and exposes reasoning tokens, streaming, function calling, and structured outputs. Available exclusively through the Responses API.

Bring your own keyAnyRouter has no platform route for GPT-5.1 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
6
speed, 24h
—

Upstreams

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

Try it

Send a prompt

Details

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