Choose Auto, TokenLab Verified, or Official for each request, with prices shown up front. See what's new

OpenAI: GPT-5.2

Reliable GPT generation for broad coding, writing, and tool-assisted product work
Compare models
gpt-5.2
AvailableOpenAIChatCached input 90% less
Input / Output-30%
$1.75 / $14.00$1.23 / $9.80
Context
400K
Max output
128K
Modalities
VisionChat
Capabilities
Tool usePrompt CacheReasoning

About GPT-5.2

GPT-5.2 is OpenAI's earlier flagship for complex professional work, now listed as a previous model. It accepts text and images and offers five reasoning effort levels from none to xhigh. Its knowledge reaches August 2025. It supports function calling, structured outputs, hosted shell, patch application, skills, and MCP, which makes it a fit for long agent runs.

Where it works well

  • Five reasoning effort levels, none through xhigh, give wide control over depth versus speed.
  • Knowledge extends to August 2025, later than GPT-5.1.
  • Tool support includes hosted shell, patch application, skills, and MCP in addition to search and a code interpreter.
  • Takes text and images and returns structured outputs on request.

When to choose another model

  • OpenAI's docs now describe it as the previous flagship and recommend upgrading.
  • Later GPT releases raise capability further for the same professional workloads.
  • It returns text only, never images or audio.

Getting started

  1. Create API key

    Create a key in Console, then use it with every model on the platform.

  2. Send your first request

    Copy the example for your language and run it against the endpoint.

    Text to textResponses API
    POST/v1/responses
    API format:
    curl https://api.tokenlab.sh/v1/responses \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer sk-xxx" \
      -d '{
        "model": "gpt-5.2",
        "input": "Hello!"
      }'

Pricing

The Verified price applies to Verified, which costs less on most models. The Official price is the model maker's published price and applies to the more reliable Official route. Auto bills the route that completes the request.

Default spec

per 1M tokens
Official price
Input $1.75 / Output $14.00 / Cache read $0.175
Verified price
Input $1.23 / Output $9.80 / Cache read $0.1225
Discount
-30%
Prompt cache pricing

Cache read

Official price
$0.175
Verified price
$0.1225
Discount
-30%
Tool fees

Charged per call, only when the model uses the tool.

Web search

Official price
$0.01/search
Verified price
$0.007/search
Discount
-30%

Usage & activity

Success rate is the share of requests that completed. Latency is how long a full response takes; P95 means 95% of requests finished within that time.

Usage & availability

Last 24 hours
Requests
Success rate
P95 latency
Total tokens
Model performance
Metrics appear once privacy and data volume thresholds are met.

Data is based on aggregate user requests, excluding status checks.

Open in Console

Open GPT-5.2 in Console with a prompt ready to edit or send.

Help me try gpt-5.2 with a short message at /v1/responses. Show the reply, latency, and cost.

Use cases

Best for
  • Reasoning
  • Vision
  • Professional document work

    Draft and revise reports, briefs, and memos from long source material while keeping the structure the reader needs.

  • Multi-step coding agents

    Use the shell and patch tools to apply changes, run commands, and check the results.

  • Data analysis

    Run the code interpreter over uploaded data files, find patterns or outliers, and explain the findings in plain language.

  • Workflow automation

    Chain functions and MCP servers to complete business processes with minimal human steps.

Prompt examples

Draft a one-page brief from these three research notes, flagging anywhere they disagree.

Apply this refactor across the module, run the test suite, and report what still fails.

Analyze this CSV for outliers and write the cleaning steps as a script.

This model has conditional pricing. Monthly token totals alone cannot produce a reliable estimate; use the detailed pricing for the request specification, cache, and applicable time window.

FAQ

What is OpenAI's GPT-5.2 model?

GPT-5.2 is an OpenAI model for complex professional work. It was positioned as a flagship at release and OpenAI's docs now mark it as a previous model.

What reasoning levels does GPT-5.2 support?

It supports none, low, medium, high, and xhigh. Use none or low for quick steps and xhigh only for problems that justify the added thinking.

What is GPT-5.2's knowledge cutoff?

OpenAI lists August 31, 2025 as the knowledge cutoff for this model. Later events need web search, attached files, or context in the prompt. Check recent facts against search when the answer depends on dates.

Which tools can GPT-5.2 use?

Function calling, web search, file search, image generation, a code interpreter, hosted shell, patch application, skills, and MCP servers, according to its OpenAI model page.

How is GPT-5.2 different from GPT-5.2 Pro?

GPT-5.2 is the standard tier with five effort levels. GPT-5.2 Pro spends more compute on each answer, and it offers medium to xhigh effort only.

How much does GPT-5.2 cost?

On TokenLab, GPT-5.2 costs Input $1.23 / Output $9.80 per 1M tokens. The pricing table above shows the full breakdown. Rates depend on the billing unit, specification, and usage. Compare matching conditions in the model's detailed pricing; a single rate does not determine the total cost.

What are the context window and output limit of GPT-5.2?

GPT-5.2 accepts up to 400,000 tokens of context and returns up to 128,000 tokens in one response.

Which endpoint should GPT-5.2 use?

Use https://api.tokenlab.sh/v1/responses for GPT-5.2. The request example below shows the matching code shape.

Which operations does GPT-5.2 support?

GPT-5.2 supports Text to text. Select an operation above to see its endpoint and request example.

Compare GPT-5.2

Sources

Reviewed Oct 2, 2026

More from GPT-5

Related models