Skip to content
Dashboard

GPT 5.2 Codex

GPT 5.2 Codex is the GPT-5.2 generation coding agent model from OpenAI, combining GPT-5.2 advances in reasoning with purpose-built autonomous software engineering capabilities. Your use is subject to OpenAI's Terms & Privacy Policies.

File InputImplicit CachingReasoningTool UseVision (Image)Web Search
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5.2-codex',
prompt: 'Why is the sky blue?'
})
Read docs

Copy link to headingMore models by OpenAI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Free Tier
Release Date
1.1M
2.3s
162tps
$0.20/MFast $0.40/M+1 more
$1.20/MFast $2.40/M+1 more
Read:
$0.02/M+1 more
Write:
$0.25/M+1 more
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1.1M
3.1s
89tps
$4/M$2/M
Fast $4/M+1 more
$20/M$10/M
Fast $20/M+1 more
Read:
$0.40/M$0.20/M+1 more
Write:
$5/M$2.50/M+1 more
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1.1M
1.5s
109tps
$2/MFast $4/M+1 more
$12/MFast $24/M+1 more
Read:
$0.20/M+1 more
Write:
$2.50/M+1 more
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
07/09/2026
1M
0.7s
101tps
$5/MFast $12.50/M+1 more
$30/MFast $75/M+1 more
Read:
$0.50/M+1 more
Write:
$10/K
+ input costs
+4
azure logo
bedrock logo
openai logo
04/24/2026
400K
5.1s
119tps
$0.05/M
$0.40/M
Read:$0.005/M
Write:
$14/K
+ input costs
+3
azure logo
openai logo
08/07/2025
400K
3.9s
105tps
$0.25/MFast $0.45/M
$2/MFast $3.60/M
Read:$0.03/M
Write:
$14/K
+ input costs
+3
azure logo
openai logo
08/07/2025