Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
O

GPT-5.2 Pro

Entrada:$16.8/M
Salida:$134.4/M
Contexto:400,000
Salida Mรกxima:128,000
Publicado:Dec 11, 2025

gpt-5.2-pro is the highest-capability, production-oriented member of OpenAIโ€™s GPT-5.2 family, exposed through the Responses API for workloads that demand maximal fidelity, multi-step reasoning, extensive tool use and the largest context/throughput budgets OpenAI offers.

Nuevo
Uso comercial

Playground para GPT-5.2 Pro

Explora el Playground de GPT-5.2 Pro โ€” un entorno interactivo para probar modelos y ejecutar consultas en tiempo real. Prueba prompts, ajusta parรกmetros e itera instantรกneamente para acelerar el desarrollo y validar casos de uso.

What is GPT-5.2-Pro

GPT-5.2-Pro is the โ€œProโ€ tier of OpenAIโ€™s GPT-5.2 family intended for the hardest problems โ€” multi-step reasoning, complex code, large document synthesis, and professional knowledge work. Itโ€™s made available in the Responses API to enable multi-turn interactions and advanced API features (tooling, reasoning modes, compaction, etc.). The Pro variant trades throughput and cost for maximum answer quality and stronger safety/consistency in hard domains.

Main features (what gpt-5.2-pro brings to applications)

  • Highest-fidelity reasoning: Pro supports OpenAIโ€™s top reasoning settings (including xhigh) to trade latency and compute for deeper internal reasoning passes and improved chain-of-thought-style solution refinement.
  • Large-context, long-document proficiency: engineered to maintain accuracy across very long contexts (OpenAI benchmarked up through 256k+ tokens for family variants), making the tier suitable for legal/technical document review, enterprise knowledge bases, and long-running agent states.
  • Stronger tool & agent execution: designed to call toolsets reliably (allowed-tools lists, auditing hooks, and richer tool integrations) and to act as a โ€œmega-agentโ€ that can orchestrate multiple subtools and multi-step workflows.
  • Improved factuality & safety mitigations: OpenAI reports notable reductions in hallucination and undesirable responses on internal safety metrics for GPT-5.2 vs prior models, supported by updates in the system card and targeted safety training.

Technical capabilities & specifications (developer-oriented)

  • API endpoint & availability: Responses API is the recommended integration for Pro-level workflows; developers can set reasoning.effort to none|medium|high|xhigh to tune internal compute devoted to reasoning. Pro exposes the highest xhigh fidelity.
  • Reasoning effort levels: none | medium | high | xhigh (Pro and Thinking support xhigh for quality-prioritized runs). This parameter lets you trade cost/latency for quality.
  • Compaction & context management: New compaction features allow the API to manage what the model โ€œremembersโ€ and reduce token usage while preserving relevant contextโ€”helpful for long conversations and document workflows.
  • Tooling & custom tools: Models can call custom tools (send raw text to tools while constraining model outputs); stronger tool-calling and agentic patterns in 5.2 reduce the need for elaborate system prompts.

Benchmark performance

Below are the most relevant, reproducible headline numbers for GPT-5.2 Pro (OpenAIโ€™s verified/internal results):

  • GDPval (professional work benchmark): GPT-5.2 Pro โ€” 74.1% (wins/ties) on the GDPval suite โ€” a marked improvement over GPT-5.1. This metric is designed to approximate value in real economic tasks across many occupations.
  • ARC-AGI-1 (general reasoning): GPT-5.2 Pro โ€” 90.5% (Verified); Pro was reported as the first model to cross 90% on this benchmark.
  • Coding & software engineering (SWE-Bench): strong gains in multi-step code reasoning; e.g., SWE-Bench Pro public and SWE-Lancer (IC Diamond) show material improvements over GPT-5.1 โ€” representative family numbers: SWE-Bench Pro public ~55.6% (Thinking; Pro results reported higher on internal runs).
  • Long-context factuality (MRCRv2): GPT-5.2 family shows high retrieval and needle-finding scores across 4kโ€“256k ranges (examples: MRCRv2 8 needles at 16kโ€“32k: 95.3% for GPT-5.2 Thinking; Pro maintained high accuracy at larger windows). These show the familyโ€™s resilience to long-context tasks, a Pro selling point.

How gpt-5.2-pro compares with peers and other GPT-5.2 tiers

  • vs GPT-5.2 Thinking / Instant:: gpt-5.2-pro prioritizes fidelity and maximal reasoning (xhigh) over latency/cost. gpt-5.2 (Thinking) sits in the middle for deeper work, and gpt-5.2-chat-latest (Instant) is tuned for low-latency chat. Choose Pro for highest-value, compute-intensive tasks.
  • Versus Google Gemini 3 and other frontier models: GPT-5.2 (family) as OpenAIโ€™s competitive response to Gemini 3. Leaderboards show task-dependent winners โ€” on some graduate-level science and professional benchmarks GPT-5.2 Pro and Gemini 3 are close; in narrow coding or specialized domains outcomes can vary.
  • Versus GPT-5.1 / GPT-5: Pro shows material gains in GDPval, ARC-AGI, coding benchmarks and long-context metrics vs GPT-5.1, and adds new API controls (xhigh reasoning, compaction). OpenAI will keep earlier variants available during transition.

High-value use cases where Pro makes sense

  • Complex financial modeling, large spreadsheet synthesis and analysis where accuracy and multi-step reasoning matter (OpenAI reported improved investment banking spreadsheet task scores).
  • Long-document legal or scientific synthesis where the 400k token context preserves entire reports, appendices, and citation chains.
  • High-quality code generation and multi-file refactoring for enterprise codebases (Proโ€™s higher xhigh reasoning helps with multi-step program transformations).
  • Strategic planning, multi-stage project orchestration, and agentic workflows that use custom tools and require robust tool calling.

When to choose Thinking or Instant instead

  • Choose Instant for fast, lower-cost conversational tasks and editor integrations.
  • Choose Thinking for deeper but latency-sensitive work where cost is constrained but quality still matters.

How to access and use GPT-5.2 pro API

Step 1: Sign Up for API Key

Log in to cometapi.com. If you are not our user yet, please register first. Sign into your CometAPI console. Get the access credential API key of the interface. Click โ€œAdd Tokenโ€ at the API token in the personal center, get the token key: sk-xxxxx and submit.

Step 2: Send Requests to GPT-5.2 pro API

Select the โ€œgpt-5.2-proโ€ endpoint to send the API request and set the request body. The request method and request body are obtained from our website API doc. Our website also provides Apifox test for your convenience. Replace <YOUR_API_KEY> with your actual CometAPI key from your account. Where to call it: Responses-style APIs.

Insert your question or request into the content fieldโ€”this is what the model will respond to . Process the API response to get the generated answer.

Step 3: Retrieve and Verify Results

Process the API response to get the generated answer. After processing, the API responds with the task status and output data.

See also Gemini 3 Pro Preview API

Preguntas frecuentes

Precios para GPT-5.2 Pro

Explora precios competitivos para GPT-5.2 Pro, diseรฑado para adaptarse a diversos presupuestos y necesidades de uso. Nuestros planes flexibles garantizan que solo pagues por lo que uses, facilitando el escalado a medida que crecen tus requisitos. Descubre cรณmo GPT-5.2 Pro puede mejorar tus proyectos mientras mantienes los costos manejables.

Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Entrada:$16.8/M
Salida:$134.4/M
Entrada:$21/M
Salida:$168/M
-20%

Cรณdigo de ejemplo y API para GPT-5.2 Pro

GPT-5.2-Pro is OpenAIโ€™s highest-quality variant of the GPT-5.2 family designed for the hardest, highest-value knowledge and technical tasks.

curl https://api.cometapi.com/v1/responses \
     --header "Authorization: Bearer $COMETAPI_KEY" \
     --header "content-type: application/json" \
     --data \
'{
    "model": "gpt-5.2-pro",
    "input": "How much gold would it take to coat the Statue of Liberty in a 1mm layer?",
    "reasoning": {
        "effort": "high"
    }
}'

cURL Code Example

curl https://api.cometapi.com/v1/responses \
     --header "Authorization: Bearer $COMETAPI_KEY" \
     --header "content-type: application/json" \
     --data \
'{
    "model": "gpt-5.2-pro",
    "input": "How much gold would it take to coat the Statue of Liberty in a 1mm layer?",
    "reasoning": {
        "effort": "high"
    }
}'

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)

response = client.responses.create(
    model="gpt-5.2-pro",
    input="How much gold would it take to coat the Statue of Liberty in a 1mm layer?",
    reasoning={"effort": "high"},
)

print(response.output_text)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const COMETAPI_KEY = process.env.COMETAPI_KEY || "<YOUR_COMETAPI_KEY>";
const BASE_URL = "https://api.cometapi.com/v1";

const client = new OpenAI({
  apiKey: COMETAPI_KEY,
  baseURL: BASE_URL,
});

async function main() {
  const response = await client.responses.create({
    model: "gpt-5.2-pro",
    input: "How much gold would it take to coat the Statue of Liberty in a 1mm layer?",
    reasoning: {
    effort: "high"
  }
  });

  console.log(response.output_text);
}

main();