openai/gpt-5.1-2025-11-13

openai/gpt-5.1-2025-11-13
ZDR
VisionToolsJSONReasoning
by openai

OpenAI GPT-5.1-2025-11-13 is a large language model developed by OpenAI, released with a snapshot date of November 13, 2025. It supports a context window of 400,000 tokens and a maximum output of 128,000 tokens, making it suitable for processing extensive documents and generating lengthy responses. The model accepts input modalities including image, text, and file, enabling multimodal reasoning tasks such as analyzing images alongside text. Its headline benchmark score of 94.0 on the AA Math (Advanced Automated Math) evaluation demonstrates strong performance in mathematical reasoning. The 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.1-2025-11-13". Pricing is billed at the provider rate with zero markup: $1.25 per 1 million input tokens and $10.00 per 1 million output tokens. This model is designed for users who need high-capacity context, multimodal input, and advanced reasoning, particularly in mathematical domains.

Max output128K
Inputimage + text + file
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.25/ 1M tokens
OUTPUT$10.00/ 1M tokens
p50 TTFTCollecting…
p95 TTFTCollecting…
TRAFFICCollecting…

Pricing

Pricing
Input / 1M tokens$1.25
Output / 1M tokens$10.00
Cache read / 1M$0.125
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $6.00 · With prompt caching $5.10

1.6M input × $1.25/M + 400K output × $10/M

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

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0032$3.25
Summarize a long doc30K / 1K$0.048$47.50
Code review8K / 2K$0.030$30.00

Token & cost estimator

Input tokens: 20Cost per request: $0.005025

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.1-2025-11-13",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "openai/gpt-5.1-2025-11-13",
  "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 image + text + file 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 94
  • Advanced mathematical reasoning and problem-solving in scientific research
  • Long-document analysis (e.g., legal contracts, academic papers) with up to 400k tokens
  • Multimodal tasks combining images and text, such as chart interpretation or diagram-based QA
  • Complex code generation and debugging across large codebases
  • File-based knowledge extraction from uploaded documents (PDFs, spreadsheets, etc.)

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
49.4
AA CodingArtificial Analysis Coding Index: one 0–100 score that combines its coding evaluations.
Better than 54% of models compared
#61 of 138
24.7
AA IntelligenceArtificial Analysis Intelligence Index: one 0–100 score that combines its evaluations of reasoning, knowledge, math and coding.
Better than 48% of models compared
#76 of 153
94.0
AA MathArtificial Analysis Math Index: one 0–100 score that combines its competition-math evaluations.
Better than 84% of models compared
#11 of 82
AIME 2025AIME: problems from the American Invitational Mathematics Examination, a high-school olympiad qualifier.
94.0#11 of 52
GPQA DiamondGPQA Diamond: graduate-level biology, physics and chemistry questions written to be hard to look up.
87.3#60 of 137
Humanity's Last ExamHumanity's Last Exam: expert-written questions at the frontier of human knowledge, across dozens of subjects.
28.5#70 of 141
IFBenchIFBench: how precisely the model follows new, checkable instructions about the shape of its answer.
72.9#42 of 104
LiveCodeBenchLiveCodeBench: recent competitive-programming problems, published after most models were trained.
86.8#7 of 56
Long-Context RecallLong-Context Recall: answering questions that need facts found and combined across long documents.
80.0#40 of 136
MMLU-ProMMLU-Pro: hard ten-option multiple-choice questions across 14 academic subjects.
87.0#10 of 91
SciCodeSciCode: writing code that solves research-level problems in physics, chemistry, biology and math.
43.3#85 of 141
tau_bankingτ²-Bench: acting as a customer-service agent that uses tools and follows policy while talking to a simulated user.
15.9#51 of 80
TerminalBench HardTerminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
45.5#25 of 99
terminalbench_v2_1Terminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
52.4#54 of 80
τ²-Benchτ²-Bench: acting as a customer-service agent that uses tools and follows policy while talking to a simulated user.
81.9#55 of 104
Source: artificialanalysis.ai

Human preference and real-world tasks

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

Compare models

openai/gpt-5.1-2025-11-13GPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$1.25$21.00$60.00$5.00
Output $/M$10.00$168.00$270.00$30.00
Context400K400K1.1M—
Quality8/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost to use openai/gpt-5.1-2025-11-13 on OrcaRouter?
The pricing is $1.25 per 1 million input tokens and $10.00 per 1 million output tokens, billed at the provider rate with zero markup. This means you pay exactly the OpenAI provider rate with no additional fees from OrcaRouter.
What is the context window size for this model?
The context window is 400,000 tokens. The maximum output is 128,000 tokens. These limits apply to each API request.
What are the main strengths of GPT-5.1-2025-11-13?
Its primary strength is mathematical reasoning, as indicated by its AA Math score of 94.0. It also supports a large context window and multimodal inputs (image, text, file), making it suitable for complex tasks combining different data types.
How does GPT-5.1-2025-11-13 compare to GPT-4o?
GPT-5.1 offers a larger context window (400k vs ~128k), longer max output (128k vs 16k), and higher AA Math score (94.0). Input pricing is cheaper ($1.25/M vs $2.50/M), output pricing is the same ($10/M). It also supports file inputs. However, GPT-4o may have lower latency.
How do I call this model via OrcaRouter's API?
Use the base URL https://api.orcarouter.ai/v1 and the model ID "openai/gpt-5.1-2025-11-13" in your request. The API is OpenAI-compatible, so you can use standard SDKs. Include your OrcaRouter API key in the Authorization header.
Does OrcaRouter handle data privacy for this model?
Data processing follows OrcaRouter's privacy policy. Since the model is accessed via API, you should review OrcaRouter's terms regarding data handling. Typically, providers do not train on customer API data unless explicitly stated.
What are the limitations of this model?
Limitations include potential errors on very complex math problems, recency bias in long contexts, and higher cost compared to smaller models. The model's knowledge is current only up to its snapshot date (November 13, 2025).
Can I stream responses from this model?
Yes, you can set the 'stream' parameter to true in your request to receive partial responses incrementally. This is useful for real-time applications.
What input modalities are supported?
The model accepts image, text, and file inputs. You can include images as URLs or base64 encoded data, and files as file references (if supported) or text extraction.
Where can I find more details about the token limits?
The total context window is 400,000 tokens, including system, user, and assistant messages. The maximum number of output tokens is 128,000. Ensure your input prompt does not exceed the context limit.

Embed this badge

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

Model card as data

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