GPT-5.2 API pricing and context window
GPT-5.2 costs $1.75 per 1M input tokens and $14.00 per 1M output tokens on the OpenAI API. Cached input reads cost $0.175 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.032. Prices last updated November 27, 2026.
- Input
- $1.75 per 1M tokens
- Output
- $14.00 per 1M tokens
- Cached input
- $0.175 per 1M tokens
- Context window
- 272,000 tokens
- Max output
- 128,000 tokens
Pricing options
| Input /1M | Output /1M | vs standard (input / output) | |
|---|---|---|---|
| Batch API | $0.875 | $7.00 | -50% / -50% |
| Flex | $0.875 | $7.00 | -50% / -50% |
| Fast mode (formerly Priority) | $3.50 | $28.00 | +100% / +100% |
- The Batch API costs $0.875 input and $7.00 output per 1M: input and output 50% cheaper.
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.032 |
| Codebase question (100K in + 2K out) | $0.203 |
| Same question with cached context (100K cached + 2K out) | $0.046 |
| Filling the whole context once (272K in) | $0.476 |
| 1M tokens a month (750K in + 250K out) | $4.81 |
Estimate your own workload in the calculator
GPT-5.2 compared with the previous and next version
| Model | Input /1M | Output /1M | What changes | |
|---|---|---|---|---|
| Newer | GPT-5.4 | $2.50 +43% | $15.00 +7% | GPT-5.2 → GPT-5.4: input: $1.75 → $2.50; output: $14.00 → $15.00; cached input: $0.175 → $0.25; context: 272K → 1.05M+8 more differenceslong-context threshold: none → 272K; Batch API input: $0.875 → $1.25; Batch API output: $7.00 → $7.50; Flex input: $0.875 → $1.25; Flex output: $7.00 → $7.50; Fast mode (formerly Priority) input: $3.50 → $5.00; Fast mode (formerly Priority) output: $28.00 → $30.00; output types: text, image → text |
| Older | GPT-5.1 | $1.25 -29% | $10.00 -29% | 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 |
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: Yes
- Input types: text, image
- Output types: text, image
- Endpoints: /v1/chat/completions, /v1/batch, /v1/responses
Similar models by price
| Model | Provider | Input /1M | Output /1M | Context window | vs this model (input / output) |
|---|---|---|---|---|---|
| Gemini 3.1 Pro Preview | $2.00 | $12.00 | 1M | +14% / -14% | |
| Command A | Cohere | $2.50 | $10.00 | 256K | +43% / -29% |
| o3 | OpenAI | $2.00 | $8.00 | 200K | +14% / -43% |
| GPT-6.2 Astra | OpenAI | $8.00 | $40.00 | 922K | +357% / +186% |
| GPT-6 Astra | OpenAI | $10.00 | $50.00 | 922K | +471% / +257% |
Compare GPT-5.2
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $1.75 | $14.00 | $0.175 |
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-2"><img src="https://vibecodingturkey.com/models/badge/gpt-5-2.svg" alt="GPT-5.2 API price" height="20"></a>[](https://vibecodingturkey.com/models/gpt-5-2)
Questions
How is GPT-5.2 different from GPT-5.1?
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; Batch API output: $5.00 → $7.00; Flex input: $0.625 → $0.875; Flex output: $5.00 → $7.00. +4 more differences in the table above.
Is there a batch discount for GPT-5.2?
Yes. Through the Batch API it costs $0.875 per 1M input and $7.00 per 1M output tokens.
Does GPT-5.2 support prompt caching?
Yes. Cached input reads cost $0.175 per 1M tokens, 90% less than standard input.
How much does GPT-5.2 cost per 1M tokens?
$1.75 per 1M input tokens and $14.00 per 1M output tokens on the OpenAI API, as of November 27, 2026.