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.

File InputImplicit CachingReasoningTool UseVision (Image)Web SearchWebsockets
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
Max Output
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
ZDR
No Training
Release Date
Azure
Legal:Terms
Privacy
400K128K
0.7s
144tps
$1.75/M
$14/M
Read:$0.17/M
Write:
$14/K
+ input costs
+3
12/18/2025
OpenAI
Legal:Terms
Privacy
400K128K
$1.75/M
$14/M
Read:$0.17/M
Write:
$10/K
+ input costs
+4
12/18/2025