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
Legal:Terms
Privacy
400K
2.0s
2tps
$1.75/M$14.00/M
Read:$0.17/M
Write:
$14/K
+ input costs
12/18/2025
OpenAI
Legal:Terms
Privacy
400K
0.7s
5tps
$1.75/M$14.00/M
Read:$0.17/M
Write:
$10/K
+ input costs
12/18/2025