GPT-5.1 Codex Max

openai/gpt-5.1-codex-max

GPT-5.1 Codex Max is a maximum-effort variant of GPT-5.1 Codex optimized for long-horizon agentic coding inside the Codex environment, with extended context and reasoning support. Served through OpenAI's Codex surfaces.

Upstream Providers
ZDR only
opencode-zen-byok
In$2.50Out$20.00
No ZDRToolsVisionReasoning
API Details
Uptime & Health
No uptime data yet

These providers haven't been health-probed for this model yet. The router still routes around upstreams that fail live requests — uptime fills in once probe history accrues.

Code samples
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."}
    ]
  }'
No API key yetSet ANYROUTER_API_KEY Dashboard → Keys
Request example
{
  "model": "openai/gpt-5.1-codex-max",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}

Change sort, ZDR, effort, or pin a provider to add routing params.