Automated Codebase Documentation: GPT-5.2 Pro pricing

Complete Analysis: 110,000 tokens for GPT-5.2 Pro

Complete analysis of pricing, performance, and use cases for OpenAI's GPT-5.2 Pro model .

📊 Batch API
$0.945000 (rounded ~ $0.95) Total Cost
110,000 Total Tokens
5 minutes, 36.47 seconds Processing Time
327 Effective Tokens/Sec

Click Recalculate to update after making changes

Select AI Model

GPT-5.2 Pro
OpenAIMax Context: 128,000 tokens
$21 / $168 per 1M tokens
Use Batch API (50% discount)
0%
Provider-specific multipliers applied after all calculations
Enable for cache discounts
Select platform to enforce context limits
Number of requests (max 1M). Summary view auto-enabled >10k.

Calculate Token Costs

$0.525000 Input Cost
$0.420000 Output Cost
$0.000000 Unit Cost
$0.000000 Search Cost
$0.000000 Request Fee
$0.000000 Tool Fee
$0.000000 Code Execution
110,000Total Tokens
$0.008591Cost per 1K
116,402Tokens per $
📊 Advanced Cost Breakdown

Processing Speed

5m 36s Processing Time
350 Tokens/Second
250ms Time to First Token
327 Effective Speed

Model Comparison

Select a model to see comparisons with competitors.

Model Information

Select a model to see detailed information.

🔄 Advanced Options

⚡ Optimization
Flat fee per session (e.g., $0.03 for Code Interpreter)
Hourly storage fee for cached data
First 50 hours free, $0.05/hour after

🧠 Reasoning & Thinking
Manual thinking tokens (billed at output rate)

🔧 Special Modes
Enable 6.0x Fast Mode multiplier

📚 Research & Citations
Enable $1.00/$4.00 rates + $10.00/1k search
Enable research tier pricing
Fee per source cited

🎤 Realtime Audio & Video
Session length for billing

GPT-5.2 Pro OpenAI

$0.945000 (rounded ~ $0.95)
Total Cost
📊 Batch API 🔧 Tools
👁️
Vision/Images
✓ Available
🎧
Audio Processing
✗ Not Available
🎥
Video Analysis
✗ Not Available
🔧
Tool Usage
✓ Available
📄
OCR Support
✗ Not Available
📊
Batch API
✓ Available
Caching
✓ Available
90% savings

💰 Total Cost Calculation (from Plugin)

Base Cost (No Optimizations) $0.945000 (rounded ~ $0.95) Input: $0.525000 (rounded ~ $0.53)
Output: $0.420000
Optimized Cost $0.945000 (rounded ~ $0.95) Input: $0.525000 (rounded ~ $0.53)
Output: $0.420000
Unit: $0.000000
Fees: $0.000000

Advanced Cost Breakdown (from Plugin)

📊 Batch API
50.0% off
Asynchronous processing discount

Detailed Cost Analysis (from Plugin)

For 100,000 input tokens and 10,000 output tokens:

  • Input Cost: $0.525000 (rounded ~ $0.53)
  • Output Cost: $0.420000
  • Total Cost: $0.945000 (rounded ~ $0.95)
  • Cost per 1K tokens: $0.008591 (rounded ~ $0.01)
  • Tokens per dollar: 116,402 tokens
  • Context Window: 128000 tokens

Speed & Performance Analysis

With a processing speed of 350 tokens per second and 250ms time to first token:

  • Processing Time: 5 minutes, 36.47 seconds
  • Latency: 250 milliseconds to first token
  • Base Throughput: 350 tokens/second
  • Effective Throughput: 327 tokens/second (temperature-adjusted)

Best Use Cases

Software EngineeringAPI DocsCode Auditing

Want this applied to YOUR actual stack?

This calculator shows the math for GPT-5.2 Pro. Your decision needs more — current infrastructure, compliance requirements, actual workload patterns, volume tiers — that change which model is right for you.

Get a $39 personalized AI Architecture Audit. PDF tailored to your stack, delivered in under 60 seconds. 7-day no-questions-asked refund.

Get my instant AI audit — $39 →

✨ Market Recommendations AI Model Registry

← Back to GPT-5.2 Pro
📋 Active Input Parameters
Input Tokens: 100,000
Output Tokens: 10,000
Batch API: Enabled (50% discount)
Tools: Enabled
Rank AI Model & Provider Total Cost vs GPT-5.2 Pro
🏆 Mistral Small 3
Mistral AI
$0.003250 Best Value ↓ 99.7% cheaper
🥈 Grok Code Fast 1
xAI
$0.008750 (rounded ~ $0.01) ↓ 99.1% cheaper
🥉 Gemini 3.1 Flash Lite
Google
$0.010000 ↓ 98.9% cheaper
#4 Gemini 2.5 Flash
Google
$0.013750 (rounded ~ $0.01) ↓ 98.5% cheaper
#5 Mistral Large 3
Mistral AI
$0.016250 (rounded ~ $0.02) ↓ 98.3% cheaper
#6 Llama 4 Maverick (400B)
Meta AI
$0.021000 ↓ 97.8% cheaper
#7 GPT-5.4 mini
OpenAI
$0.030000 ↓ 96.8% cheaper
#8 o4-mini Deep Research
OpenAI
$0.035000 (rounded ~ $0.04) ↓ 96.3% cheaper
#9 Grok 4.3
xAI
$0.037500 (rounded ~ $0.04) ↓ 96% cheaper
#10 Claude Haiku 4.5
Anthropic
$0.037500 (rounded ~ $0.04) ↓ 96% cheaper
#11 o4-mini
OpenAI
$0.038500 (rounded ~ $0.04) ↓ 95.9% cheaper
#12 Gemini 3.1 Flash
Google
$0.040000 ↓ 95.8% cheaper
#13 Gemini 3.5 Flash
Google
$0.060000 ↓ 93.7% cheaper
#14 Grok 4.20 Beta
xAI
$0.065000 (rounded ~ $0.07) ↓ 93.1% cheaper
#15 GPT-5.3 Codex Spark
OpenAI
$0.078750 (rounded ~ $0.08) ↓ 91.7% cheaper
#16 GPT-5.3 Instant
OpenAI
$0.078750 (rounded ~ $0.08) ↓ 91.7% cheaper
#17 Gemini 2.5 Pro
Google
$0.112500 (rounded ~ $0.11) ↓ 88.1% cheaper
#18 Claude Sonnet 4.6
Anthropic
$0.112500 (rounded ~ $0.11) ↓ 88.1% cheaper
#19 Gemini 3.1 Pro
Google
$0.160000 ↓ 83.1% cheaper
#20 Claude Opus 4.7
Anthropic
$0.187500 (rounded ~ $0.19) ↓ 80.2% cheaper
#21 Claude Opus 4.8
Anthropic
$0.187500 (rounded ~ $0.19) ↓ 80.2% cheaper
#22 Claude Opus 4.6
Anthropic
$0.187500 (rounded ~ $0.19) ↓ 80.2% cheaper
#23 GPT-5.4
OpenAI
$0.200000 ↓ 78.8% cheaper
#24 GPT-5.4 Thinking
OpenAI
$0.200000 ↓ 78.8% cheaper
#25 GPT-5.5 Instant
OpenAI
$0.200000 ↓ 78.8% cheaper
#26 o3 Deep Research
OpenAI
$0.350000 ↓ 63% cheaper
#27 GPT-5.5
OpenAI
$0.400000 ↓ 57.7% cheaper
#28 o3 Pro
OpenAI
$0.700000 ↓ 25.9% cheaper
#29 GPT-5.5 Pro
OpenAI
$1.200000 ↑ 27% more
#30 GPT-5.5 Pro
OpenAI
$1.200000 ↑ 27% more
🏆

Mistral Small 3
Mistral AI

$0.003250
vs GPT-5.2 Pro: ↓ 99.7%
🥈

Grok Code Fast 1
xAI

$0.008750 (rounded ~ $0.01)
vs GPT-5.2 Pro: ↓ 99.1%
🥉

Gemini 3.1 Flash Lite
Google

$0.010000
vs GPT-5.2 Pro: ↓ 98.9%
#4

Gemini 2.5 Flash
Google

$0.013750 (rounded ~ $0.01)
vs GPT-5.2 Pro: ↓ 98.5%
#5

Mistral Large 3
Mistral AI

$0.016250 (rounded ~ $0.02)
vs GPT-5.2 Pro: ↓ 98.3%
#6

Llama 4 Maverick (400B)
Meta AI

$0.021000
vs GPT-5.2 Pro: ↓ 97.8%
#7

GPT-5.4 mini
OpenAI

$0.030000
vs GPT-5.2 Pro: ↓ 96.8%
#8

o4-mini Deep Research
OpenAI

$0.035000 (rounded ~ $0.04)
vs GPT-5.2 Pro: ↓ 96.3%
#9

Grok 4.3
xAI

$0.037500 (rounded ~ $0.04)
vs GPT-5.2 Pro: ↓ 96%
#10

Claude Haiku 4.5
Anthropic

$0.037500 (rounded ~ $0.04)
vs GPT-5.2 Pro: ↓ 96%
#11

o4-mini
OpenAI

$0.038500 (rounded ~ $0.04)
vs GPT-5.2 Pro: ↓ 95.9%
#12

Gemini 3.1 Flash
Google

$0.040000
vs GPT-5.2 Pro: ↓ 95.8%
#13

Gemini 3.5 Flash
Google

$0.060000
vs GPT-5.2 Pro: ↓ 93.7%
#14

Grok 4.20 Beta
xAI

$0.065000 (rounded ~ $0.07)
vs GPT-5.2 Pro: ↓ 93.1%
#15

GPT-5.3 Codex Spark
OpenAI

$0.078750 (rounded ~ $0.08)
vs GPT-5.2 Pro: ↓ 91.7%
#16

GPT-5.3 Instant
OpenAI

$0.078750 (rounded ~ $0.08)
vs GPT-5.2 Pro: ↓ 91.7%
#17

Gemini 2.5 Pro
Google

$0.112500 (rounded ~ $0.11)
vs GPT-5.2 Pro: ↓ 88.1%
#18

Claude Sonnet 4.6
Anthropic

$0.112500 (rounded ~ $0.11)
vs GPT-5.2 Pro: ↓ 88.1%
#19

Gemini 3.1 Pro
Google

$0.160000
vs GPT-5.2 Pro: ↓ 83.1%
#20

Claude Opus 4.7
Anthropic

$0.187500 (rounded ~ $0.19)
vs GPT-5.2 Pro: ↓ 80.2%
#21

Claude Opus 4.8
Anthropic

$0.187500 (rounded ~ $0.19)
vs GPT-5.2 Pro: ↓ 80.2%
#22

Claude Opus 4.6
Anthropic

$0.187500 (rounded ~ $0.19)
vs GPT-5.2 Pro: ↓ 80.2%
#23

GPT-5.4
OpenAI

$0.200000
vs GPT-5.2 Pro: ↓ 78.8%
#24

GPT-5.4 Thinking
OpenAI

$0.200000
vs GPT-5.2 Pro: ↓ 78.8%
#25

GPT-5.5 Instant
OpenAI

$0.200000
vs GPT-5.2 Pro: ↓ 78.8%
#26

o3 Deep Research
OpenAI

$0.350000
vs GPT-5.2 Pro: ↓ 63%
#27

GPT-5.5
OpenAI

$0.400000
vs GPT-5.2 Pro: ↓ 57.7%
#28

o3 Pro
OpenAI

$0.700000
vs GPT-5.2 Pro: ↓ 25.9%
#29

GPT-5.5 Pro
OpenAI

$1.200000
vs GPT-5.2 Pro: ↑ 27%
#30

GPT-5.5 Pro
OpenAI

$1.200000
vs GPT-5.2 Pro: ↑ 27%
✨ How recommendations work (v8.6.0): We scan all active models in the registry and only include those that support ALL your current inputs. For token-based models, we check if they can handle your token counts. For special pricing models (OCR, video, audio), we verify they have the correct pricing structure. Features marked requested were in your inputs but not supported by that model. Now using official provider pricing without reseller markups.

Developer Experience Automation

Calculate the cost of generating technical documentation and API references for a 100,000-line repository.

Frequently Asked Questions

How accurate are these AI model cost calculations?
Our calculations are based on official pricing from each provider (Google, OpenAI, Anthropic, Meta, xAI, Perplexity, DeepSeek, Mistral) and are updated regularly. We account for all factors including multimodal inputs, caching discounts, batch API pricing, tool usage multipliers, OCR processing, audio minutes, silence fees, and research mode pricing. Note: Reseller markups and dedicated instance multipliers have been removed to reflect official provider pricing.
How do Market Recommendations work (v8.6.0)?
Our recommendation engine scans the entire model registry and only includes models that support ALL your current input parameters (tokens, images, video, audio, OCR, tools, batch API, etc.). It calculates exact costs with your settings and sorts by price, showing you the best value options that can handle your complete workflow. Special pricing models (OCR, video, audio, image generation) are properly handled and only appear when their specific input types are requested. v8.6.0 removes reseller markups (20% buffer) and dedicated instance multipliers to reflect official provider pricing.
What is the YemHub AI Calculator Tool?
The YemHub AI Calculator is the most comprehensive tool for estimating costs and comparing performance metrics across 50+ AI models. It calculates token-based pricing, analyzes multimodal processing, accounts for state-dependent pricing (context cliffs, tiered tunnels), provides optimization recommendations, and now offers intelligent market matching to find the best alternatives for your specific needs.