Skip to content
OmniRail
← All models

OpenAI · Language model

GPT-5.1-Codex

openai/gpt-5.1-codex
  • Language
Released Nov 13, 2025

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Specifications

Context window
400,000 tokens
Max output
128,000 tokens
Input
text, image
Output
text
Reasoning effort
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
  • verbosity

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","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'