OpenAI

GPT-5.2

Tool callingStructured outputReasoningImage input

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

Context
400K
Released
10mo ago
Input / 1M tokens
$1.75
Output / 1M tokens
$14.00
Cached input / 1M tokens
$0.18

Sources:models.devOpenRouter

Benchmarks

DeepSWE is the primary coding benchmark where an exact model evaluation exists. Other sourced evaluations appear below; missing scores are not zero.

Not evaluated in DeepSWE 1.1 as of 2026-09-22. Results are only shown for exact model versions in the official dataset. Official leaderboard.

No benchmark results have been matched to this model yet.

Specifications

Developer
OpenAI
Model family
GPT
Type
Language model
Predecessor
—
Successor
—
Released
December 11, 2025
Model ID
openai/gpt-5.2
Openness
Closed
License
—
Input modalities
file, image, text
Output modalities
text
Modality
text+image+file->text
Tokenizer
GPT
Max output tokens
128K
Knowledge cutoff
2025-08-31
Hugging Face
—
Source freshness
Metadata synced Oct 8, 2026, 10:17 PM UTC
Additional source evidence
Source model
openai/gpt-5.2
Source family
gpt
Last updated
2025-12-11
Knowledge cutoff
2025-08-31
Model context
400K
Maximum input
272K
Model output limit
128K
Open weights
No
File attachments
Yes
Reasoning
Yes
Tool calling
Yes
Structured output
Yes
Temperature control
Yes

Published benchmarks

BenchmarkScoreEvaluation detailsEvidence
SWE-Bench Pro29.94 · resolve ratepublicSource
Complete source record (JSON)
{
  "id": "openai/gpt-5.2",
  "name": "GPT-5.2",
  "description": "Reliable GPT generation for broad coding, writing, and tool-assisted product work",
  "family": "gpt",
  "last_updated": "2025-12-11",
  "knowledge": "2025-08-31",
  "attachment": true,
  "reasoning": true,
  "tool_call": true,
  "structured_output": true,
  "temperature": true,
  "modalities": {
    "input": [
      "text",
      "image"
    ],
    "output": [
      "text"
    ]
  },
  "limit": {
    "context": 400000,
    "input": 272000,
    "output": 128000
  },
  "benchmarks": [
    {
      "name": "SWE-Bench Pro",
      "score": 29.94,
      "source": "https://labs.scale.com/leaderboard/swe_bench_pro_public",
      "metric": "resolve rate",
      "dataset": "public"
    }
  ],
  "release_date": "2025-12-11",
  "open_weights": false
}

Infrastructure

Provider availability

All providers
ProviderEndpointContextInput /M tokensOutput /M tokensCached input /M tokensCache write /M tokensUptime 1dData handling
OpenAIopenai/flex400K$0.88$7.00$0.09—100.00%
ZDR: No

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

OpenAIopenai/flexBatch pricing400K$0.88$7.00$0.09—100.00%
ZDR: No

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

Azureazure400K$1.75$14.00$0.18—99.23%
ZDR: Yes

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

AzureazureBatch pricing400K$1.75$14.00$0.18—99.28%
ZDR: No

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

OpenAIopenai400K$1.75$14.00$0.18—100.00%
ZDR: No

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

OpenAIopenaiBatch pricing400K$1.75$14.00$0.18—100.00%
ZDR: No

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

OpenAIopenai/fast400K$3.50$28.00$0.35—100.00%
ZDR: No

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

OpenAIopenai/fastBatch pricing400K$3.50$28.00$0.35—100.00%
ZDR: No

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

Provider data:OpenRouter

Text provenance

EU · product-scoped

OpenAI textGrain watermarking

In the EU, ChatGPT-generated text uses textGrain. OpenAI says API customers can opt in globally for select models, so watermarking depends on the product surface and configuration.

Official explanation