GPT-5.2

OpenAIMCP Tool CallReasoning
openai/gpt-5.2Closed API

Reliable GPT generation for broad coding, writing, and tool-assisted product work

Benchmark Pricing$1.75 / 1M in$14.00 / 1M out$0.17 cache read
Context: 400,000 tokens•Max Output: 128,000 tokens•Knowledge: 2025-08-31•Released: 2025-12-11

TECHNICAL SPECIFICATIONS

Context Window400,000400K tokens
Max Output128,000128K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVision
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ GPT-5.2 natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 400,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

STANDARDIZED BENCHMARKS & EVALS

SWE-Bench Proresolve rate
29.94

API CALL INVOCATION EXAMPLE

// Example: Calling GPT-5.2 via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPENAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "openai/gpt-5.2",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

15 providers
OpenAIgpt-5.2
$1.75 / $14.00$0.17 cache
QiHanggpt-5.2-codex
$0.14 / $1.14
NanoGPTopenai/gpt-5.2-codex
$1.75 / $14.00$0.17 cache
SAP AI Coregpt-5.2
$1.75 / $14.00$0.17 cache
Snowflake Cortexopenai-gpt-5.2
$1.75 / $14.00$0.18 cache
302.AIgpt-5.2-chat-latest
$1.75 / $14.00
Vivgridgpt-5.2-codex
$1.75 / $14.00$0.17 cache
LLM Gatewayopenai/gpt-5.2-pro
$21.00 / $168.00
Poeopenai/gpt-5.2-instant
$1.60 / $13.00$0.16 cache
AI/ML APIopenai/gpt-5-2
$2.27 / $18.20$0.23 cache
Venice AIopenai-gpt-52
$1.75 / $14.00$0.17 cache
Databricksdatabricks-gpt-5-2
$1.75 / $14.00$0.17 cache
AIHubMixgpt-5.2-codex
$1.75 / $14.00$0.17 cache
Abacusgpt-5.2-chat-latest
$1.75 / $14.00
Vercel AI Gatewayopenai/gpt-5.2-fast
$3.50 / $28.00$0.35 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.17 / 1M tokens, saving up to 90% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES