GPT-5.2

OpenAI · GPT-5

Current GPT-5 family flagship in OpenAI's API guide for coding, agentic, and general professional work.

Type
language
Context
400K tokens
Max Output
128K tokens
Status
current
Input
$1.75/1M tok
Output
$14/1M tok
API Access
Yes
License
proprietary
reasoning coding agentic tool-use long-context instruction-following
Released December 2025 · Updated March 27, 2026

Overview

Freshness note: Model capabilities, limits, and pricing can change quickly. This profile is a point-in-time snapshot last verified on March 27, 2026.

GPT-5.2 is still a current OpenAI API model, not just a historical stepping stone. OpenAI’s latest model guide and featured-model docs position it as the flagship GPT-5 family route for coding and agentic tasks across industries, even though GPT-5.4 now sits above it as the newer frontier option and ChatGPT itself defaults to GPT-5.3 Instant for everyday conversations.

Capabilities

GPT-5.2 is strongest on multi-step reasoning, technical writing, code generation, image-aware work, and structured task execution where strong instruction compliance matters. It is a sensible default model in routing setups that reserve smaller or cheaper variants for high-volume preprocessing.

Technical Details

OpenAI’s current model card lists GPT-5.2 with a 400K context window, 128K max output, image input support, and configurable reasoning effort. It supports modern tool-use and orchestration patterns in the current API stack, which makes it practical for long-context assistants and agent workflows.

Pricing & Access

Published API pricing (per 1M tokens):

  • Input: $1.75
  • Cached input: $0.175
  • Output: $14.00

Access is available through OpenAI API model endpoints and the latest-model guidance explicitly recommends GPT-5.2 for most new API users.

Best Use Cases

Use GPT-5.2 as a default for production assistants, coding agents, document workflows, and general professional applications where you want a strong current OpenAI route without immediately paying GPT-5.4 prices.

Comparisons

  • GPT-5.4 (OpenAI): Better choice for harder frontier reasoning and coding workflows.
  • GPT-5.2-Codex (OpenAI): Better choice for long-horizon software engineering work.
  • Claude Sonnet 4.6 (Anthropic): Contemporary alternative for broad production use.