GPT 5.2
OpenAI logo

GPT 5.2

gpt-5.2llms.txt
OpenAI
GPT-5.2 is an advanced general-purpose model that improves on GPT-5.1 with more reliable, flexible, and user-friendly interactions. It delivers clearer responses, stronger instruction-following, and adaptive reasoning that scales from simple requests to complex, multi-step tasks. With enhanced control over tone and structure and support for extended context, GPT-5.2 is well suited for agent workflows, analysis, coding, and cross-domain applications.

Pricing

PricingCache ReadImage GenerationWeb Search
$1.75$14
$0.175/M tokens-$0.01/request

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Capabilities

  • Thinking
  • Web
  • Tools
  • Tool calling
  • Structured outputs

Providers

Azure gpt-5.2
Pricing$1.75$14
Cache Read$0.175/M tokens
Web Search$0.01/request
Context400K
Max output128K
Latency3.8S
Throughput42.5TPS
Uptime
100.00% uptime 2 days ago
99.93% uptime yesterday
100.00% uptime today
OpenAI gpt-5.2
Pricing$1.75$14
Cache Read$0.175/M tokens
Web Search$0.01/request
Context400K
Max output128K
Latency1.4S
Throughput50.6TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today

Performance for gpt-5.2

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="gpt-5.2",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is GPT 5.2?

GPT-5.2 is an advanced general-purpose model that improves on GPT-5.1 with more reliable, flexible, and user-friendly interactions. It delivers clearer responses, stronger instruction-following, and adaptive reasoning that scales from simple requests to complex, multi-step tasks. With enhanced control over tone and structure and support for extended context, GPT-5.2 is well suited for agent workflows, analysis, coding, and cross-domain applications.