GPT-5.1 API pricing and context window
GPT-5.1 costs $1.25 per 1M input tokens and $10.00 per 1M output tokens on the OpenAI API. Cached input reads cost $0.125 per 1M. It accepts up to 272,000 input tokens and returns up to 128,000 output tokens. A typical chat request (10K input, 1K output) costs about $0.023. Prices last updated November 27, 2026.
- Input
- $1.25 per 1M tokens
- Output
- $10.00 per 1M tokens
- Cached input
- $0.125 per 1M tokens
- Context window
- 272,000 tokens
- Max output
- 128,000 tokens
Deprecated; shuts down on April 1, 2027. Successor: GPT-6 Sol.
Pricing options
| Input /1M | Output /1M | vs standard (input / output) | |
|---|---|---|---|
| Batch API | $0.625 | $5.00 | -50% / -50% |
| Flex | $0.625 | $5.00 | -50% / -50% |
| Fast mode (formerly Priority) | $2.50 | $20.00 | +100% / +100% |
- The Batch API costs $0.625 input and $5.00 output per 1M: input and output 50% cheaper.
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.023 |
| Codebase question (100K in + 2K out) | $0.145 |
| Same question with cached context (100K cached + 2K out) | $0.033 |
| Filling the whole context once (272K in) | $0.34 |
| 1M tokens a month (750K in + 250K out) | $3.44 |
Estimate your own workload in the calculator
GPT-5.1 compared with the previous and next version
| Model | Input /1M | Output /1M | What changes | |
|---|---|---|---|---|
| Newer | GPT-5.2 | $1.75 +40% | $14.00 +40% | GPT-5.1 → GPT-5.2: input: $1.25 → $1.75; output: $10.00 → $14.00; cached input: $0.125 → $0.175; Batch API input: $0.625 → $0.875+7 more differencesBatch API output: $5.00 → $7.00; Flex input: $0.625 → $0.875; Flex output: $5.00 → $7.00; Fast mode (formerly Priority) input: $2.50 → $3.50; Fast mode (formerly Priority) output: $20.00 → $28.00; extra-high reasoning effort: no → yes; shutdown date: April 1, 2027 → none |
| Older | GPT-5 | $1.25 0% | $10.00 0% | GPT-5 → GPT-5.1: output types: text → text, image; shutdown date: December 11, 2026 → April 1, 2027 |
Capabilities and details
- Image input: Yes
- Function calling: Yes
- Reasoning: Yes
- Prompt caching: Yes
- PDF input: Yes
- Web search: Yes
- Structured output: Yes
- Extra-high reasoning effort: No
- Input types: text, image
- Output types: text, image
- Endpoints: /v1/chat/completions, /v1/responses
Similar models by price
| Model | Provider | Input /1M | Output /1M | Context window | vs this model (input / output) |
|---|---|---|---|---|---|
| Gemini 2.5 Pro | $1.25 | $10.00 | 1M | 0% / 0% | |
| o3 | OpenAI | $2.00 | $8.00 | 200K | +60% / -20% |
| Gemini 3.5 Flash | $1.50 | $9.00 | 1M | +20% / -10% | |
| GPT-6.2 Astra | OpenAI | $8.00 | $40.00 | 922K | +540% / +300% |
| GPT-5 mini | OpenAI | $0.25 | $2.00 | 272K | -80% / -80% |
Compare GPT-5.1
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $1.25 | $10.00 | $0.125 |
Tracking started on November 21, 2026. A new row appears only when a price changes.
Embed this price badge
The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.
<a href="https://vibecodingturkey.com/models/gpt-5-1"><img src="https://vibecodingturkey.com/models/badge/gpt-5-1.svg" alt="GPT-5.1 API price" height="20"></a>[](https://vibecodingturkey.com/models/gpt-5-1)
Questions
How is GPT-5.1 different from GPT-5?
GPT-5 → GPT-5.1: output types: text → text, image; shutdown date: December 11, 2026 → April 1, 2027. No other difference in the prices and limits shown on this page.
When will GPT-5.1 be shut down?
GPT-5.1 is deprecated and shuts down on April 1, 2027. The listed successor is GPT-6 Sol.
Is there a batch discount for GPT-5.1?
Yes. Through the Batch API it costs $0.625 per 1M input and $5.00 per 1M output tokens.
Does GPT-5.1 support prompt caching?
Yes. Cached input reads cost $0.125 per 1M tokens, 90% less than standard input.