← Back to Model Leaderboard
OpenAI: GPT-5.1-Codex
🏆 Frontier ClassDEVELOPED BY: Openai • LAST UPDATED: 7/4/2026
CCI (Capability)97.3Consensus: High consensus ✓
Context Window400,000Max token length
In/Out Pricing$1.25/$10Blended cost/1M: $3.44
Pulse (Popularity)40/100Adoption + discussion proxy
Model Description
OpenRouter model gateway for OpenAI: GPT-5.1-Codex.
Domain Averages
Reasoning95.6%
Coding100%
Math100%
Preference93.5%
Jury & Benchmark Signals
| Source / Harness | Score |
|---|---|
| GPQA-Diamond | 72.5% |
| Humanity's Last Exam | 68.1% |
| MMLU-Pro | 89.2% |
| SWE-bench Verified | 58.2% |
| LiveCodeBench | 65.4% |
| AIME | 83.7% |
| LMArena style-controlled Elo | 1318 |
Consensus Discrepancy (Spread: 7.8 pts)
Source
Normalized
CCI Dev.
GPQA-Diamond
94.7
-2.6
Humanity's Last Exam
100
+2.7
MMLU-Pro
92.2
-5.1
SWE-bench Verified
100
+2.7
LiveCodeBench
100
+2.7
AIME
100
+2.7
LMArena style-controlled Elo
93.5
-3.8
Supported Modalities
INPUT:
text
OUTPUT:
text
Search Tags
#reasoning#multimodal#coding#agentic
How to Use This Model
Python SDK Integration:
import openai
client = openai.OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_OPENROUTER_KEY"
)
response = client.chat.completions.create(
model="openai/gpt-5.1-codex",
messages=[
{"role": "user", "content": "Explain quantum entanglement in 1 sentence."}
]
)cURL Terminal 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",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'Community Debates & Mentions (0)
No active Reddit or Hacker News debates referencing this model this week.