Models / OpenAI / GPT-5.1
OpenAI

GPT-5.1

BYOKClosedReleased 13 Nov 2025

A closed reasoning model from OpenAI, released November 2025, with a long context window. It ranks mid-table on Terminal-Bench but trails the median on most reasoning and coding scores.

Read the full description ↓

Spec sheet

Family
OpenAI
Released
13 Nov 202512 months ago
Weights
Closed
Context window
400k tokens
Largest response
128k tokens
Accepts
text, image, file
Supports
tools, reasoning, structured output
Knowledge cutoff
September 2024
Intelligence index
54.9#66
Input price
$1.25 / 1M
Output price
$10 / 1M
Blended price (3:1)
$3.44 / 1M
Index points per $
16#84
Speed
66.5 tokens/sec#94
Popularity
#100 of 194by usage
Providers
2

Benchmarks

Score · rank among models tested

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
OpenAIgateway/openai:gpt-5.1 $1.25$0.13$10$3.44
OpenRouterBYOKopenrouter:openai/gpt-5.1 $1.25$0.13$10$3.44

Every provider charges the same. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/openai:gpt-5.1', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask GPT-5.1 a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

GPT-5.1vsQwen3.6 Plus
Intelligence index
205590$0.1$1$10Qwen3.6 Plus: 55.2 at $0.73 blendedGPT-5.1: 54.9 at $3.44 blended
GPQA Diamond
5075100$0.1$1$10Qwen3.6 Plus: 88.4% at $0.73 blendedGPT-5.1: 87.6% at $3.44 blended
OTIS Mock AIME
4070100$0.1$1$10Qwen3.6 Plus: 93.3% at $0.73 blendedGPT-5.1: 88.6% at $3.44 blended
FrontierMath
1055100$0.1$1$10Qwen3.6 Plus: 38.2% at $0.73 blended
ARC-AGI-2
050100$0.1$1$10GPT-5.1: 17.6% at $3.44 blended
SimpleQA Verified
1055100$0.1$1$10Qwen3.6 Plus: 44.1% at $0.73 blendedGPT-5.1: 48% at $3.44 blended
SWE-bench Verified
507090$0.1$1$10Qwen3.6 Plus: 57.9% at $0.73 blendedGPT-5.1: 68% at $3.44 blended
Terminal-Bench
04590$0.1$1$10GPT-5.1: 47.6% at $3.44 blended
SciCode
204570$0.1$1$10Qwen3.6 Plus: 40.7% at $0.73 blendedGPT-5.1: 43.3% at $3.44 blended
WebDev Arena
122015251830$0.1$1$10Qwen3.6 Plus: 1460.5 at $0.73 blendedGPT-5.1: 1392 at $3.44 blended
LMArena text
128014101540$0.1$1$10Qwen3.6 Plus: 1436.1 at $0.73 blendedGPT-5.1: 1442.5 at $3.44 blended
Epoch Capabilities Index
120150180$0.1$1$10GPT-5.1: 150.9 at $3.44 blended

Score against blended price per 1M tokens (log scale). GPT-5.1   Qwen3.6 Plus   other models

Intelligence indexOur composite of the benchmarks below, 0-100
GPT-5.154.9
Qwen3.6 Plus55.2
GPQA DiamondGraduate-level science questions, multiple choice
GPT-5.187.6%
Qwen3.6 Plus88.4%
OTIS Mock AIMECompetition mathematics problems with exact answers
GPT-5.188.6%
Qwen3.6 Plus93.3%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
GPT-5.1–
Qwen3.6 Plus38.2%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
GPT-5.117.6%
Qwen3.6 Plus–
SimpleQA VerifiedShort factual questions answered from memory, without search
GPT-5.148%
Qwen3.6 Plus44.1%
SWE-bench VerifiedReal GitHub issues resolved, run by Epoch with one fixed scaffold
GPT-5.168%
Qwen3.6 Plus57.9%
Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
GPT-5.147.6%
Qwen3.6 Plus–
SciCodeScientific programming problems written by researchers
GPT-5.143.3%
Qwen3.6 Plus40.7%
WebDev ArenaRating from human votes on web apps the models built
GPT-5.11392
Qwen3.6 Plus1460.5
LMArena textRating from blind human votes between pairs of chat responses
GPT-5.11442.5
Qwen3.6 Plus1436.1
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
GPT-5.1150.9
Qwen3.6 Plus–
Input pricePer 1M tokens, lower is better
GPT-5.1$1.25
Qwen3.6 Plus$0.33
Output pricePer 1M tokens, lower is better
GPT-5.1$10
Qwen3.6 Plus$1.95
EfficiencyIndex points per blended $
GPT-5.116
Qwen3.6 Plus76
SpeedOutput tokens per second
GPT-5.166.5 t/s
Qwen3.6 Plus49 t/s
Context windowTokens
GPT-5.1400k
Qwen3.6 Plus1M
Model stringFor Pydantic AI
GPT-5.1gateway/openai:gpt-5.1
Qwen3.6 Plusopenrouter:qwen/qwen3.6-plus

About GPT-5.1

Description written by an LLM from the data on this page

A closed reasoning model from OpenAI, released November 2025, with a long context window. It ranks mid-table on Terminal-Bench but trails the median on most reasoning and coding scores.

GPT-5.1 is a closed model from OpenAI that accepts text, image and file input and supports reasoning, tool calling and structured output. Its 400k context window and 128k response limit suit long agent sessions. Its strongest result relative to the registry is Terminal-Bench, where it scores 47.6%, 15th of 35 and above the median.

Results elsewhere are mostly below the median. It scores 54.9 on the intelligence index, 69th of 114, and trails on GPQA Diamond, OTIS Mock AIME, ARC-AGI-2 and SWE-bench Verified. Its SWE-bench score of 68.0% ranks 20th of 23 among models tested.

Price is the other concern. At $1.25 per million input tokens and $10 per million output tokens, its blended price of $3.44 is more than three times the registry median.

Strengths

  • 400k context window and 128k maximum response length
  • Terminal-Bench 47.6%, 15th of 35, above the median
  • Accepts text, image and file input, with tool calling and structured output
  • LMArena text rating 1442.5, slightly above the median

Weaknesses

  • ARC-AGI-2 17.6%, 53rd of 68, well below the 61.3% median
  • Blended price $3.44 per million tokens, well above the $1.01 median
  • Intelligence index 54.9, 69th of 114, below the 59.5 median

Best for

Terminal-based agents and long-document tasks needing tool calling and structured output, where price is less pressing.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs