← All models
OpenAI · Language model
GPT-5.1-Codex-Max
openai/gpt-5.1-codex-max- Language
GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic...
Specifications
- Context window
- 400,000 tokens
- Max output
- 128,000 tokens
- Input
- text, image
- Output
- text
- Reasoning effort
- xhigh, high, medium, low (always on)
- Tokenizer
- GPT
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- max_completion_tokens
- reasoning
- reasoning_effort
- response_format
- seed
- structured_outputs
- tool_choice
- tools
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5.1-codex-max","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'