Skip to content

GPT 5.2

GPT 5.2 is the standard tier of the GPT-5.2 model family, advancing the GPT-5 series with improved reasoning, coding, and multimodal capabilities across the board.

Tool UseVision (Image)File InputReasoningImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5.2',
prompt: 'Why is the sky blue?'
})

Playground

Try out GPT 5.2 by OpenAI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

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
0.5s
61tps
$1.75/M$14.00/M
Read:$0.18/M
Write:
$14/K
+ input costs
12/11/2025
OpenAI
Legal:Terms
Privacy
400K
0.9s
49tps
$1.75/M$14.00/M
Read:$0.17/M
Write:
$10.00/K
+ input costs
12/11/2025
Throughput

P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.

Latency

P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.

Uptime

Direct request success rate on AI Gateway and per-provider. Visit the docs for more info.

More models by OpenAI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
1M
3.3s
69tps
$5.00/M
$30.00/M
Read:
$0.5/M
Write:
$10.00/K
+ input costs
azure logo
openai logo
04/24/2026
400K
1.2s
221tps
$0.75/M$4.50/M
Read:$0.07/M
Write:
$10.00/K
+ input costs
azure logo
openai logo
03/17/2026
400K
0.7s
131tps
$0.20/M$1.25/M
Read:$0.02/M
Write:
$10.00/K
+ input costs
azure logo
openai logo
03/17/2026
1.1M
1.6s
56tps
$2.50/M
$15.00/M
Read:
$0.25/M
Write:
$10.00/K
+ input costs
azure logo
openai logo
03/05/2026
128K
1.0s
81tps
$1.25/M$10.00/M
Read:$0.13/M
Write:
$10.00/K
+ input costs
azure logo
openai logo
11/12/2025
400K
4.8s
291tps
$0.25/M$2.00/M
Read:$0.03/M
Write:
$14/K
+ input costs
azure logo
openai logo
08/07/2025

About GPT 5.2

GPT 5.2 became available on December 11, 2025 on AI Gateway as the GPT-5.2 generation of OpenAI's general-purpose model series. It builds on the GPT-5 and GPT-5.1 generations with further improvements across reasoning depth, coding capability, instruction following, and multimodal understanding.

As the standard tier in the GPT-5.2 family, it provides the balance of capability and accessibility that most demanding applications require. The context window of 400K tokens supports extensive inputs, and the model handles text, image, and mixed-modality inputs with GPT-5.2 generation quality.

If you already use GPT-5 or GPT-5.1, GPT 5.2 offers an upgrade path with measurable improvements across key benchmarks.

What To Consider When Choosing a Provider

  • Configuration: GPT 5.2 builds on the GPT-5 and GPT-5.1 generations with further improvements across reasoning, coding, and instruction following.
  • Configuration: It launches alongside chat, codex, and pro variants, each specialized for different workloads while sharing the same generational improvements.
  • Zero Data Retention: AI Gateway supports Zero Data Retention for this model via direct gateway requests (BYOK is not included). To configure this, check the documentation.
  • Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.

When to Use GPT 5.2

Best For

  • Complex reasoning: Analytical and strategic tasks that benefit from GPT-5.2 generation improvements
  • Advanced code generation: Strong coding performance for development tools and agents
  • Multimodal applications: Vision, text, and mixed-modality workflows with GPT-5.2 generation improvements
  • Research and analysis: Deep document analysis, research synthesis, and complex question answering
  • New projects: Applications that benefit from GPT-5.2 generation capability over GPT-5 or GPT-5.1

Consider Alternatives When

  • Cost optimization: GPT-5 mini or GPT-5.1 instant for production workloads where cost efficiency matters
  • Specialized coding: GPT-5.2 codex for autonomous software engineering workflows
  • Pure reasoning: O3 for chain-of-thought mathematical and scientific reasoning
  • High-volume lightweight tasks: Nano-tier models for classification and routing

Conclusion

GPT 5.2 advances the GPT-5 series with measurable improvements in reasoning, coding, and multimodal capability. Available through AI Gateway, it is the standard tier of the GPT-5.2 family for general-purpose workloads.

Frequently Asked Questions

  • How does GPT 5.2 improve over GPT-5.1?

    It advances reasoning, coding, and multimodal capabilities over GPT-5.1, representing a generational improvement in the GPT series.

  • What context window does GPT 5.2 support?

    400K tokens, supporting extensive document and codebase processing.

  • Should I migrate from GPT-5 to GPT 5.2?

    If your application benefits from improved reasoning and coding quality, yes. Test with your specific workloads to confirm the improvement justifies any pricing differences.

  • Does GPT 5.2 support function calling and structured outputs?

    Yes. It supports the full API feature set including function calling, structured outputs, vision, and system messages.

  • How does AI Gateway handle authentication for GPT 5.2?

    AI Gateway accepts a single API key or OIDC token for all requests. You don't embed OpenAI credentials in your application; AI Gateway routes and authenticates on your behalf.

  • What are typical latency characteristics?

    This page shows live throughput and time-to-first-token metrics measured across real AI Gateway traffic.