GPT-5.2

GPT-5.2

by OpenAI · Currently available; previous flagship model

OpenAI GPT-5.2 is a reasoning-focused model for complex professional and agentic work. It supports text and image input, a 400,000-token context window, 128,000-token outputs, configurable reasoning effort, tool calling, streaming, structured outputs, and batch processing.

Text Reasoning Coding
GPT-5.2 is a general-purpose reasoning model from OpenAI designed for demanding professional and agentic workloads. It combines a 400,000-token context window, support for image input, configurable reasoning effort, tool calling, structured outputs, and a maximum output of 128,000 tokens.
Outputs

What GPT-5.2 can produce

Text
Inputs

What it can understand

Text Images Multimodal input
Capabilities

Supported features

Tool use Web search Streaming Structured output Prompt caching Batch API
Model profile

Performance characteristics

9/10 Reasoning
9/10 Coding
7/10 Speed
7/10 Cost efficiency
Specifications

Technical details

Model family GPT-5.2
Model type Reasoning
Context window 400K tokens
Maximum output 128K tokens
Knowledge cutoff 2025-08-31
Release date 2025-12-11
Status Currently available; previous flagship model
Knowledge cutoff notes

OpenAI’s official model page specifies August 31, 2025 as the knowledge cutoff for GPT-5.2. This cutoff is separate from the model’s December 11, 2025 release date and is not changed by web-search or retrieval tools.

Model notes

GPT-5.2 is the canonical API model for the GPT-5.2 Thinking experience. It supports reasoning effort values none, low, medium, high, and xhigh. The model accepts text and image input and returns text. OpenAI lists gpt-5.2-2025-12-11 as an available snapshot. The model is currently accessible but is described by OpenAI as a previous flagship model because newer generations are available. Structured outputs are supported; a separate legacy JSON-mode capability was not independently verified. Web search can be used through supported OpenAI web-search tool integrations.

Cost

Model pricing

Input $1.75 per 1M input tokens; $0.175 per 1M cached input tokens
Output $14.00 per 1M output tokens
Model guide

GPT-5.2: Features, Pricing, Context Window, and Capabilities

GPT-5.2 is OpenAI’s reasoning-focused model for complex professional work, long-context analysis, coding, spreadsheet tasks, vision-enabled understanding, and multi-step agentic workflows.

What is GPT-5.2?

GPT-5.2 is a reasoning-focused language model from OpenAI for complex professional and technical work. It is designed to handle tasks that require more than a short answer, including long-document analysis, software development, spreadsheet work, visual interpretation, planning, and multi-step workflows that use external tools.

In OpenAI’s current catalog, GPT-5.2 is available through the API under the canonical model identifier gpt-5.2. OpenAI describes it as a previous flagship model because newer generations are available, but the model remains accessible through the API according to the supplied research. OpenAI also lists the dated snapshot gpt-5.2-2025-12-11, which can be useful when an application needs a more stable model reference.

The model is intended for developers and organizations that need a broad general-purpose system with substantial context capacity and deliberate reasoning. It is not a specialized image, speech, video, embedding, or moderation model.

GPT-5.2 specifications at a glance

SpecificationVerified detail
ProviderOpenAI
Model IDgpt-5.2
Model typeReasoning model
Release dateDecember 11, 2025
Knowledge cutoffAugust 31, 2025
Context window400,000 tokens
Maximum output128,000 tokens
InputText and images
OutputText
Reasoning effortnone, low, medium, high, and xhigh
Tool supportFunction and tool calling, including supported web-search integrations
Structured outputSupported
Fine-tuningNot supported according to the supplied model documentation

The context window is the amount of text and other supported input the model can consider in one interaction. At 400,000 tokens, GPT-5.2 can work with very large collections of documents or extended conversations, subject to the limits and behavior of the specific API endpoint and application.

Input and output modalities

GPT-5.2 accepts text and images and returns text. Image input allows it to interpret material such as screenshots, diagrams, charts, scanned documents, and other visual content alongside written instructions. The model does not natively produce images, audio, video, speech, music, or embeddings.

This distinction matters when selecting a model. GPT-5.2 can describe or analyze a chart, but it is not an image-generation model. It can process a screenshot of an interface or document, but it does not return a spoken response or a generated video. Applications requiring those outputs need a separate service or model designed for that modality.

The model supports structured outputs, which can help an application request responses that follow a defined schema. The supplied research does not independently verify a separate legacy JSON-mode capability, so structured outputs and legacy JSON mode should not be treated as the same feature without checking the relevant API documentation.

Reasoning, coding, and performance

GPT-5.2 is built for tasks where the model must connect multiple pieces of information, make a plan, inspect intermediate details, or follow a longer chain of instructions. Its configurable reasoning effort gives developers a way to trade response depth against latency and token consumption. The available settings range from none through xhigh.

Lower reasoning settings can be appropriate for straightforward transformations, classification, or routine text generation where fast responses matter. Higher settings are better suited to difficult analysis, planning, mathematical or scientific work, complex code review, and workflows where the additional reasoning is worth the extra time and cost. The supplied research does not provide benchmark scores, so performance claims here describe the model’s documented positioning rather than an independent ranking.

For software work, GPT-5.2 can generate and explain code, review existing code, reason about implementation choices, and participate in tool-using development workflows. Its combination of a large context window, reasoning controls, structured outputs, and tool calling is particularly relevant when a task involves a sizeable codebase, lengthy technical requirements, or several stages of investigation.

The model is also suitable for spreadsheet and document workflows. For example, an application could provide a lengthy report and supporting tables, ask for a structured risk summary, and then use a tool call to retrieve additional information or perform a follow-up operation. These are practical use cases for the model’s long context and agentic workflow support, not evidence of a guaranteed result on every document or dataset.

Tool calling and agentic workflows

GPT-5.2 supports function and tool calling. In simple terms, this allows an application to give the model access to defined operations, such as querying a database, looking up an internal record, running a calculation, or invoking another software service. The model can decide when a tool is relevant and produce arguments in the format expected by the application.

OpenAI supports GPT-5.2 through both the Responses API and the Chat Completions API. OpenAI recommends the Responses API for new GPT-5.2 integrations because it can preserve reasoning context across turns and improve token efficiency, caching, and latency in multi-turn workflows. The model also supports allowed-tool controls, custom tools, reasoning summaries, streaming responses, and context-management features such as compaction according to the supplied research.

Web search can be used through supported OpenAI web-search tool integrations. That gives an application a way to retrieve current information, but it does not change GPT-5.2’s underlying knowledge cutoff, which is August 31, 2025. Retrieved information should still be checked for accuracy, relevance, and source quality.

GPT-5.2 pricing and availability

GPT-5.2 API pricing is listed at $1.75 per million input tokens and $14.00 per million output tokens. Cached input tokens cost $0.175 per million tokens. Batch API processing may provide additional savings compared with standard processing.

Input and output tokens are not equally priced: generated output costs substantially more than input, so applications that request very long responses or use high reasoning settings may incur higher costs. Caching can reduce the cost of repeatedly sending unchanged context, while batch processing may be preferable for workloads that do not require immediate responses.

As of September 23, 2026, the supplied research describes GPT-5.2 as still accessible through the OpenAI API, while positioning it as a previous flagship model. Availability, pricing, rate limits, and model access can change, so developers should confirm current details in OpenAI’s model and pricing documentation before deployment.

Best use cases for GPT-5.2

GPT-5.2 is a strong fit when a task combines substantial context, deliberate reasoning, and the need to produce a useful textual result. Appropriate use cases include:

  • Complex professional knowledge work: Analyze policies, reports, contracts, technical documents, or research material and produce a structured explanation.
  • Long-document synthesis: Compare multiple documents, identify inconsistencies, extract requirements, or prepare a concise briefing from a large source set.
  • Software engineering: Generate code, review implementation details, explain errors, plan changes, or reason across a larger code context.
  • Spreadsheet and data workflows: Interpret tables, explain trends, create structured summaries, and coordinate calculations or other tools.
  • Visual question answering: Inspect charts, screenshots, diagrams, and scanned documents together with written instructions.
  • Research and planning: Break down multi-step questions, use supported tools, and produce a reasoned plan or decision-support document.
  • Agentic applications: Coordinate several tool calls while maintaining context across a longer workflow.

Limitations and trade-offs

GPT-5.2’s main advantage is depth and context capacity, but those features can also make it less suitable for simple, latency-sensitive, or highly cost-constrained workloads. A smaller or cost-optimized model may be a better choice when the task is repetitive, short, and easy to verify. GPT-5.2’s documented pricing also makes output-heavy workloads more expensive than workloads that generate only brief responses.

Reasoning does not guarantee correctness. The model can produce inaccurate or overconfident answers, particularly when instructions are ambiguous, source material is incomplete, or the task requires information beyond its knowledge cutoff. Important legal, financial, medical, operational, and security decisions require appropriate human review and verification.

The model’s modality limitations are also significant. It accepts images but does not generate images, audio, video, speech, music, or embeddings. It is therefore not the right standalone choice for media-generation pipelines, speech interfaces, vector search, or content moderation. Fine-tuning is not supported according to the supplied documentation, so applications needing a customized trained model may need another approach.

Finally, GPT-5.2 is described as a previous flagship model. Newer OpenAI models may be more appropriate for new deployments if they offer better speed, lower cost, or capabilities that match the workload more closely. The relevant comparison is not simply whether GPT-5.2 can perform a task, but whether its context capacity and reasoning depth justify its latency and token costs.

When to choose GPT-5.2

Choose GPT-5.2 when the work benefits from a large context window, careful multi-step reasoning, image understanding, and tool-enabled workflows in one text-producing model. It is especially reasonable for professional analysis, complex coding, long documents, spreadsheet interpretation, visual question answering, and agents that need to preserve context over several steps.

Choose a different option when the priority is the lowest possible cost, minimum latency, native media generation, speech output, embeddings, moderation, or fine-tuning. A newer model may also be preferable for a new application if it delivers a better capability-to-cost ratio or has replaced GPT-5.2 for the target workload. Within the OpenAI lineup, GPT-5.2 should therefore be evaluated as a capable previous flagship rather than automatically treated as the default model for every new project.

For a practical evaluation, test representative prompts using the intended reasoning setting, context size, tool pattern, and output length. Measure not only answer quality, but also latency, input and output token usage, tool-call reliability, and the amount of human correction required. That process will show whether GPT-5.2’s deeper reasoning and large context justify its cost for the specific application.


Answers to Frequently Asked Questions

Which reasoning settings and APIs does GPT-5.2 support?
GPT-5.2 supports the reasoning-effort settings none, low, medium, high, and xhigh. It is available through the Responses API and Chat Completions API, although OpenAI recommends the Responses API for new integrations because it can preserve reasoning context and improve efficiency in multi-turn workflows.
What can GPT-5.2 do, and which input and output formats does it support?
GPT-5.2 accepts text and images and produces text. It can analyze documents, charts, screenshots, diagrams, and code; generate structured outputs; perform multi-step reasoning; and call external tools or functions. It does not natively generate images, audio, video, speech, music, or embeddings.
How much does GPT-5.2 cost?
GPT-5.2 API pricing is $1.75 per million input tokens, $14.00 per million output tokens, and $0.175 per million cached input tokens. Batch processing may provide additional savings, and current pricing and availability should be confirmed in OpenAI's documentation.
What is GPT-5.2?
GPT-5.2 is an OpenAI reasoning-focused language model designed for complex professional and technical work, including long-document analysis, software development, spreadsheet workflows, visual interpretation, planning, and tool-using applications.
What is GPT-5.2's context window and maximum output size?
GPT-5.2 has a 400,000-token context window and supports a maximum output of 128,000 tokens. This allows it to process large document collections, extended conversations, and sizeable codebases, subject to API and application limits.


Sources 5
Provider

About OpenAI