OpenAI · model passport
OpenAI: GPT-5.1-Codex-Max
gpt-5-1-codex-max- 400,000 context
How to run it
Use it hosted
API model ID
openai/gpt-5.1-codex-maxContext length400,000 tokens
Max output128,000 tokens
Acceptstext, image
Input price$1.25 per 1M tokens
Cached input price$0.13 per 1M tokens
Output price$10 per 1M tokens
API parameters this endpoint supports
Include reasoningMax completion tokensReasoningReasoning effortResponse formatSeedStructured outputsTool choiceTool callingVerbosity
Example request
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5.1-codex-max","messages":[{"role":"user","content":"Hello"}]}'Identifiers, limits and prices are synced from the upstream source shown above. Any field we haven't synced is left out entirely rather than guessed.
No benchmark we track has published a result for this model yet, so there is no score card — only the run guide above. It will appear here once any board we ingest scores it.