GPT-5.1 Codex

GPT-5.1 specialized for code generation and software development tasks.

gpt-5.1-codex
STABLE
400,000 context
Starting at $1.25/M input tokens
Starting at $10.00/M output tokens
Streaming
Vision
Tools
Reasoning
JSON Output

Providers for GPT-5.1 Codex

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

OpenAI

openai/gpt-5.1-codex
Context Size
400k
Stability
STABLE
Pricing
Input
$1.25
/M
Cached
$0.13
/M
Output
$10.00
/M
Capabilities
Streaming
Vision
Tools
Reasoning
JSON Output
Try in Playground
    GPT-5.1 Codex – AI Model on LLM Gateway