Skip to content

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.

ReasoningTool UseImplicit CachingVision (Image)File Input
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5.2-codex',
prompt: 'Why is the sky blue?'
})

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
Azure
400K
0.8s
4tps
$1.75/M$14.00/M
Read:$0.17/M
Write:
$14/K
+ input costs
+3
12/18/2025
OpenAI
400K
0.6s
259tps
$1.75/M$14.00/M
Read:$0.17/M
Write:
$10/K
+ input costs
+4
12/18/2025