OpenAI

GPT 5.1

gpt-5.1
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
Input
$1.25
Per 1M tokens
Output
$10.00
Per 1M tokens
Speed
217
tokens / s
Context
272K
tokens
Released
Nov 2025
3 newer versions
Where gpt-5.1 runs
DeploymentRegionCostFlexPriorityUltrafastCache readCache writeThroughputCapabilitiesZero data retentionNo training
Microsoft AzureEU$1.375 / $11.00N/A$2.75 / $22.00N/A$0.138N/A210 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
? Unknown? Unknown
Microsoft AzureUS$1.375 / $11.00N/A$2.75 / $22.00N/A$0.138N/A184 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
? Unknown? Unknown
Microsoft AzureGlobal$1.25 / $10.00N/A$2.50 / $20.00N/A$0.125N/A217 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
? Unknown? Unknown
OpenAIGlobal$1.25 / $10.00$0.625 / $5.00$2.50 / $20.00N/A$0.125N/A98 tok/s
  • Vision
  • File input
  • Reasoning
  • Structured output
  • Tool use
  • Web search
  • Implicit caching

Build with GPT 5.1

Visit https://docs.weflayr.com/agents/integration-playbook, then set up Weflayr in this project and use it to call the model "gpt-5.1".

Compare with other models

Price and speed is only half the answer. Benchmark models on your calls to find out the other half.

Benchmark on your calls
Filters
  • GPT 5.1
The gateway's models next to gpt-5.1
ModelRegionProvidersCostFlexPriorityUltrafastCache readCache writeThroughputContextZero data retentionNo trainingReleased
gpt-5.1-codex-maxGlobal$1.25 / $10.00N/AN/AN/A$0.125N/A319 tok/s400K? Unknown? UnknownNov 2025
gpt-5.1-codexGlobal$1.25 / $10.00N/AN/AN/A$0.125N/A131 tok/s400K? Unknown? UnknownNov 2025
gpt-5GlobalUSEU$1.25 / $10.00N/A$2.50 / $20.00N/A$0.125N/A248 tok/s272KVariesVariesAug 2025
o3Global$2.00 / $8.00$1.00 / $4.00$3.50 / $14.00N/A$0.50N/A126 tok/s200K Apr 2025
grok-4.7GlobalUS$2.00 / $6.00$1.00 / $3.00$3.50 / $10.50N/A$0.50N/A834 tok/s500KVariesVariesSep 2026

Alternatives to GPT 5.1

35 other models with the same capabilities and at least the same context window as GPT 5.1 are available on the Weflayr gateway. Review the most notable ones.

Benchmark GPT 5.1 on your own agent calls

A lower list price says nothing about answer quality. Your evals grade each answer against the one you ship today.

Evaluate models on your own callsExample

Miracle LabsYesterday, 11:34pm_agent

Review all standup recordings from the past week, check if an issue exists for every work item, and create a status report for me.

  • Your agent's answersBaselineBaseline
  • gpt-5.1−65% cost Same quality
  • gpt-5.5+15% cost Better quality
  • gemini-4-neon−38% cost Same quality
  • gemini-3.1-flash-lite−94% costWorse quality

Questions

How much does gpt-5.1 cost?
gpt-5.1 costs $1.25 per 1M input tokens and $10.00 per 1M output tokens on its cheapest host, Microsoft Azure, Global. Input read from the cache costs $0.125 per 1M tokens. These are list prices, as the gateway's model list gives them.
Does gpt-5.1 have other service tiers?
Yes, on Microsoft Azure, Global. Beside its standard $1.25 / $10.00 per 1M tokens, it sells Priority at $2.50 / $20.00.
What is the context window of gpt-5.1?
gpt-5.1 takes up to 272,000 tokens of input and writes up to 128,000 tokens in one answer.
Which hosts run gpt-5.1?
2 hosts: Microsoft Azure (EU, US and Global) and OpenAI (Global). To keep a call on one, send its provider and region, for example "provider": "azure", "region": "GLOBAL".
Can I run gpt-5.1 in the EU?
Yes. gpt-5.1 runs in the EU on Microsoft Azure. To keep a call there, send its provider and region, for example "provider": "azure", "region": "EU".
Do the hosts of gpt-5.1 keep my data or train on it?
Zero data retention: 1 of its 4 deployments. No training on your data: 1 of 4. Where a host does not say, this page shows it as unknown.
How fast is gpt-5.1?
Over the last 24 hours, gpt-5.1 wrote a median of 217 output tokens per second on its fastest host, Microsoft Azure, Global.
What can gpt-5.1 do?
gpt-5.1 reads text, images and PDFs and writes text. It supports reasoning, tool use, structured output, web search and implicit caching.
Is there a cheaper model that does the same job as gpt-5.1?
On list price, 16 models can do the same job for less, for a call of 2,000 input and 500 output tokens. The closest in price is grok-4.5, at 7% less. A price list cannot tell if the answers are as good. A Weflayr benchmark replays your own calls on each model to find out.
Is there a newer version of gpt-5.1?
Yes. gpt-5.5 is the newest version of its line, released Apr 2026. It lists at $5.00 / $30.00 per 1M tokens.
How do I call gpt-5.1?
Point any OpenAI client at https://gateway.weflayr.com/v1 with a Weflayr API key and send "gpt-5.1" as the model. Send a list of models to have the next one answer when the first fails. Calls take up to 272K tokens of context.

Put your model teams to work.

Connect Weflayr, benchmark your agents, and gain control over your AI performance.