GPT-5.2

Provider: OpenAI US Official API price

Input price
$0.88
/ 1M tokens
Output price
$7.00
/ 1M tokens
Cache price
$0.087
/ 1M tokens (read)
Batch API
$0.88 / $7.00
input / output per 1M tokens
Context
400K tokens
Max output 128K tokens

Overview

OpenAI's GPT-5.2 is a frontier-tier reasoning model for heavy agentic tasks and long-context analysis within a 400,000 token window.

Strengths

  • 400,000 token context window capacity
  • Adaptive reasoning for dynamic compute allocation
  • Native vision, JSON mode, and function calling
  • Cached input drops to $0.0875 per million tokens

Best use cases

  • Complex multi-step autonomous agent pipelines
  • Large codebase analysis requiring reasoning and functions
  • Vision-heavy document extraction workflows

Pricing position

Input sits at $0.875/M and output at $7/M, making output pricier than Claude Haiku 4.5 ($5/M) and Gemini 3.1 Pro ($6/M).

Caveats

Avoid for lightweight tasks where GPT-5 Nano ($0.025/M) or GPT-6 Luna Pro ($0.05/M) suffice at a fraction of the cost.

Notes drafted by an LLM from the figures on this page (2026-11-10) and rewritten when the price changes.

Key facts

Price basis
Official API price
Max output
128K tokens
Listed on OpenRouter
2025-12-10
Tracked since
2026-05-08
Last updated
2026-11-10

Features

Image inputFunction callingJSON outputReasoning

Monthly cost estimate

Scale Input (M) Output (M) Monthly
0.1M (hobby) 0.1 0.05 $0.44
1M (small app) 1 0.5 $4.38
10M (mid scale) 10 5 $43.75
100M (large) 100 50 $437.50

※ Cache and batch discounts not factored in. Detailed calculator

Official resources

Other models from OpenAI

Similar-priced models

Source: OpenRouter API (openai/gpt-5.2)