Skip to content
Dashboard

GPT-5.1-Codex

GPT-5.1-Codex is a GPT-5.1 generation coding agent model designed for autonomous software engineering, combining improved reasoning over the GPT-5 codex generation with the ability to read, write, execute, and verify code in sandboxed environments.

File InputTool UseReasoningVision (Image)Web SearchImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5.1-codex',
prompt: 'Why is the sky blue?'
})

More models by OpenAI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
1M
3.0s
59tps
$5.00/M
$30.00/M
Read:
$0.5/M
Write:
$10.00/K
+ input costs
+4
azure logo
bedrock logo
openai logo
04/24/2026
400K
1.7s
130tps
$0.75/M$4.50/M
Read:$0.07/M
Write:
$10.00/K
+ input costs
+4
azure logo
openai logo
03/17/2026
1.1M
2.9s
79tps
$2.50/M
$15.00/M
Read:
$0.25/M
Write:
$10.00/K
+ input costs
+4
azure logo
openai logo
03/05/2026
400K
4.7s
127tps
$0.25/M$2.00/M
Read:$0.03/M
Write:
$14/K
+ input costs
+4
azure logo
openai logo
08/07/2025
131K
0.2s
266tps
$0.35/M$0.75/M
Read:$0.25/M
Write:
baseten logo
bedrock logo
cerebras logo
+5
08/05/2025
128K
0.7s
59tps
$0.15/M$0.60/M
Read:$0.07/M
Write:
$14/K
+ input costs
+3
azure logo
openai logo
07/18/2024