GPT-5.1-codex

GPT-5.1-codex is a other model from Azure OpenAI with a context window of 272K tokens and max output of 128K tokens. Pricing starts at 1.25 per million input tokens and 10.00 per million output tokens (cheapest at Azure OpenAI).

Capabilities

Vision Function Calling Reasoning JSON Schema System Messages Web Search Prompt Caching Audio Input Audio Output

Specifications

Model Keyazure/gpt-5.1-codex-2025-11-13
ProviderAzure OpenAI
Provider IDazure
ModeOther
Canonical Namegpt-5.1-codex
Context Window272K tokens
Max Output128K tokens

Pricing

TypePer 1K TokensPer 1M Tokens
Input Tokens0.00131.25
Output Tokens0.01010.00
Cache Read (Input)0.0001250.125

Benchmarks

Intelligence Index43.1#18
Coding Index36.6#26
Math Index95.7#4
MMLU-Pro0.9#11
GPQA0.9#15
HLE0.2#21
LiveCodeBench0.8#9
IFBench0.7#26
Time to First Token4.62s#213
SciCode0.4#36
AIME 20251.0#4
LCR0.7#15
TerminalBench Hard0.3#21
TAU20.8#28

Price Comparison by Provider

Compare prices for GPT-5.1-codex across different providers. The same model may be available through multiple providers at different price points.

Provider
Model Key
Input Price, $
Output Price, $
OpenAIgpt-5.1-codex1.2510.00
Azure OpenAIazure/global/gpt-5.1-codex1.2510.00

All Variants

All available versions, regions, and API endpoints for GPT-5.1-codex.

Model Key
Provider
Mode
Input Price, $
Output Price, $
Context
Max Output
Vision
Functions
azure/eu/gpt-5.1-codexAzure OpenAIOther1.3811.00272K128Kyesyes
azure/global/gpt-5.1-codexAzure OpenAIOther1.2510.00272K128Kyesyes
azure/gpt-5-codexAzure OpenAIOther1.2510.00272K128Kyesyes
azure/gpt-5.1-codexAzure OpenAIOther1.2510.00272K128Kyesyes
azure/gpt-5.1-codex-2025-11-13Azure OpenAIOther1.2510.00272K128Kyesyes
azure/us/gpt-5.1-codexAzure OpenAIOther1.3811.00272K128Kyesyes
gpt-5.1-codexOpenAIOther1.2510.00272K128Kyesyes