Skip to content

GPT-5.1 Codex Max

Tools
openai/gpt-5.1-codex-max

Vision · 400K context · Dec 2025 · 10 upstreams

GPT-5.1 Codex Max is OpenAI's maximum-effort variant of GPT-5.1 Codex for long-horizon agentic coding in the Codex environment. It has extended context and reasoning support, accepts text and image input, and supports streaming and function calling.

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

Upstreams

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

Benchmarks

GPQA Diamond
88.0%

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

Details

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