openai/gpt-5.2-2025-12-11

openai/gpt-5.2-2025-12-11
ZDR
VisionToolsJSONReasoning
by openai

OpenAI's GPT-5.2-2025-12-11 is a large language model designed for tasks requiring long context, multimodal input, and high mathematical reasoning. It supports a context window of 400,000 tokens and a maximum output of 128,000 tokens, accepting file, image, and text inputs. This model is accessed through OrcaRouter's OpenAI-compatible API at the base URL https://api.orcarouter.ai/v1 using the model ID "openai/gpt-5.2-2025-12-11". Key highlights include a headline benchmark score of 99.0 on the AA Math evaluation, indicating strong mathematical performance. Pricing is billed at the provider rate with zero markup: $1.75 per 1M input tokens and $14.00 per 1M output tokens. The model is suitable for users who need extended context windows, complex reasoning, and the ability to process images and files alongside text.

Max output128K
Inputfile + image + text
Outputtext
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Runs inEuropean Union
Context window400Ktokens
INPUT$1.75/ 1M tokens
OUTPUT$14.00/ 1M tokens
p50 TTFTCollecting…
p95 TTFTCollecting…
TRAFFICCollecting…

Pricing

Pricing
Input / 1M tokens$1.75
Output / 1M tokens$14.00
Cache read / 1M$0.175
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $8.40 · With prompt caching $7.14

1.6M input × $1.75/M + 400K output × $14/M

Prompt caching assumes half of the input tokens are read from cache at $0.17/M.

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0045$4.55
Summarize a long doc30K / 1K$0.067$66.50
Code review8K / 2K$0.042$42.00

Token & cost estimator

Input tokens: 20Cost per request: $0.007035

Estimate only — actual token counts depend on the provider's tokenizer.

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="openai/gpt-5.2-2025-12-11",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "openai/gpt-5.2-2025-12-11",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
max_completion_tokensUpper limit on generated tokens, reasoning tokens included.
tool_choiceWhether the model must, may or must not call a tool.

Full API reference

Use cases and examples

  • Long context — 400K-token context window: whole codebases, long reports or chat histories in one request.
  • Multimodal input — Takes file + image + text in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Reasoning — Works through a problem before answering: math, science and multi-step tasks.
  • Strong benchmarks — AA Math 99
  • Long-document analysis and summarization (e.g., legal contracts, research papers)
  • Complex mathematical and scientific reasoning (AA Math score 99.0)
  • Multimodal tasks combining images, files, and text (e.g., diagram analysis, document parsing)
  • Large-scale code generation with extensive context (e.g., entire codebases)
  • Detailed conversation agents that maintain long conversation history

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
Collecting…
Output speedHow many tokens per second the model streams once it starts answering.
Collecting…
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
Collecting…
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
100.0%

Benchmarks

OrcaRouter leaderboard
48.7
AA CodingArtificial Analysis Coding Index: one 0–100 score that combines its coding evaluations.
Better than 51% of models compared
#65 of 138
30.4
AA IntelligenceArtificial Analysis Intelligence Index: one 0–100 score that combines its evaluations of reasoning, knowledge, math and coding.
Better than 66% of models compared
#50 of 153
99.0
AA MathArtificial Analysis Math Index: one 0–100 score that combines its competition-math evaluations.
Better than 96% of models compared
#1 of 82
AIME 2025AIME: problems from the American Invitational Mathematics Examination, a high-school olympiad qualifier.
99.0#1 of 52
GPQA DiamondGPQA Diamond: graduate-level biology, physics and chemistry questions written to be hard to look up.
90.3#41 of 137
Humanity's Last ExamHumanity's Last Exam: expert-written questions at the frontier of human knowledge, across dozens of subjects.
37.7#51 of 141
IFBenchIFBench: how precisely the model follows new, checkable instructions about the shape of its answer.
75.4#25 of 104
LiveCodeBenchLiveCodeBench: recent competitive-programming problems, published after most models were trained.
88.9#3 of 56
Long-Context RecallLong-Context Recall: answering questions that need facts found and combined across long documents.
82.7#18 of 136
MMLU-ProMMLU-Pro: hard ten-option multiple-choice questions across 14 academic subjects.
87.4#4 of 91
SciCodeSciCode: writing code that solves research-level problems in physics, chemistry, biology and math.
52.1#41 of 141
TerminalBench HardTerminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
47.0#19 of 99
τ²-Benchτ²-Bench: acting as a customer-service agent that uses tools and follows policy while talking to a simulated user.
84.8#43 of 104
Source: artificialanalysis.ai

Human preference and real-world tasks

71.8%
SWE-bench VerifiedSWE-bench Verified: the share of real GitHub issues, checked by human annotators, that the model resolves.
#8 of 29
Source: swebench.com

Compare models

openai/gpt-5.2-2025-12-11GPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$1.75$21.00$60.00$5.00
Output $/M$14.00$168.00$270.00$30.00
Context400K400K1.1M—
Quality9/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost per token for this model?
Input tokens cost $1.75 per 1M tokens; output tokens cost $14.00 per 1M tokens. There is no markup; these are the provider rates passed through by OrcaRouter.
How large is the context window?
The context window is 400,000 tokens total (input + output). The maximum output length is 128,000 tokens.
What are the main strengths of this model?
Its main strengths are mathematical reasoning (AA Math score of 99.0), a very long context window (400K), high output limit (128K), and multimodal input support (file, image, text).
How does it compare to GPT-4 Turbo?
GPT-5.2 has a larger context (400K vs 128K), higher output (128K vs 8K), higher math benchmark score (99.0 vs ~80), and lower input pricing ($1.75 vs $10) but higher output pricing ($14 vs $30 per 1M).
How do I call this model via an OpenAI-compatible API?
Use base URL https://api.orcarouter.ai/v1, model ID "openai/gpt-5.2-2025-12-11", and standard OpenAI Chat Completion parameters. Authenticate with an API key in the Authorization header.
Does the model handle images and files?
Yes, it accepts input modalities of file, image, and text. You can include images or file attachments in the message content using OpenAI's content parts format.
Is there any caching to reduce cost?
OrcaRouter offers caching for repeated input tokens, which can reduce input costs for identical prefixes. Output tokens are not cached. Check OrcaRouter's documentation for configuration details.
What is the AA Math benchmark?
AA Math is a test of mathematical reasoning covering algebra, arithmetic, calculus, and logic. A score of 99.0 means the model correctly solves nearly all problems, indicating top-tier math ability.
Can I stream responses?
Yes, set the stream parameter to true in your API call. The response will be sent as a stream of data chunks, following the OpenAI streaming format.
How does data handling work when using OrcaRouter?
Data handling depends on OrcaRouter's privacy policy and your agreement. Generally, data transmitted to the API is processed to generate responses and may be logged for billing and abuse prevention. For sensitive data, review OrcaRouter's data retention policies.

Embed this badge

openai/gpt-5.2-2025-12-11•$1.75/M in•—•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-5.2-2025-12-11" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-5.2-2025-12-11.svg" alt="openai/gpt-5.2-2025-12-11 on OrcaRouter" /> </a>
Markdown [![openai/gpt-5.2-2025-12-11](https://www.orcarouter.ai/embed/openai/gpt-5.2-2025-12-11.svg)](https://www.orcarouter.ai/models/openai/gpt-5.2-2025-12-11)

Model card as data

GET /api/public/models/openai/gpt-5.2-2025-12-11Open
Machine-readable:/llms.txt/llms-full.txt