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
Capabilities
Providers
ZDR
No Training
Release Date
1.1M
2.0s
155tps
$1/M
$6/M
Read:
$0.1/M
Write:
$1.25/M
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1.1M
2.2s
147tps
$5/M
$30/M
Read:
$0.5/M
Write:
$6.25/M
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1.1M
1.7s
92tps
$2.50/M
$15/M
Read:
$0.25/M
Write:
$3.13/M
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1.1M
1.9s
54tps
$2.50/M
$15/M
Read:
$0.25/M
Write:
$10/K
+ input costs
+4
azure logo
openai logo
03/05/2026
400K
6.1s
122tps
$0.05/M
$0.40/M
Read:$0.01/M
Write:
$14/K
+ input costs
+3
azure logo
openai logo
08/07/2025
400K
4.9s
107tps
$0.25/M
$2/M
Read:$0.03/M
Write:
$14/K
+ input costs
+3
azure logo
openai logo
08/07/2025