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.00 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
Apply 1.5x multiplier to output tokens (GPT-5.4, Claude 4.6)
Manual thinking tokens (billed at output rate)

🔧 Special Modes
Enable 4x Tunnel Multiplier (applied after markup)
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.00 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

✨ 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 (rounded ~ 0.00) Best Value ↓ 99.7% cheaper
🥈 Gemini 3.1 Flash Lite
Google
$0.007000 (rounded ~ 0.01) ↓ 99.3% cheaper
🥉 o4-mini Deep Research
OpenAI
$0.035000 (rounded ~ 0.04) ↓ 96.3% cheaper
#4 Llama 4 Maverick (400B)
Meta AI
$0.035500 (rounded ~ 0.04) ↓ 96.2% cheaper
#5 o4-mini
OpenAI
$0.038500 (rounded ~ 0.04) ↓ 95.9% cheaper
#6 Mistral Large 3
Mistral AI
$0.065000 (rounded ~ 0.07) ↓ 93.1% cheaper
#7 GPT-5.3 Codex Spark
OpenAI
$0.078750 (rounded ~ 0.08) ↓ 91.7% cheaper
#8 Grok 5
xAI
$0.112500 (rounded ~ 0.11) ↓ 88.1% cheaper
#9 Gemini 3.1 Pro
Google
$0.160000 ↓ 83.1% cheaper
#10 GPT-5.4 Thinking
OpenAI
$0.200000 ↓ 78.8% cheaper
#11 Claude Sonnet 4.6
Anthropic
$0.225000 (rounded ~ 0.23) ↓ 76.2% cheaper
#12 o3 Deep Research
OpenAI
$0.350000 ↓ 63% cheaper
#13 Claude Opus 4.6
Anthropic
$0.375000 (rounded ~ 0.38) ↓ 60.3% cheaper
#14 o3 Pro
OpenAI
$0.700000 ↓ 25.9% cheaper
#15 o3 Pro
OpenAI
$0.700000 ↓ 25.9% cheaper
🏆

Mistral Small 3
Mistral AI

$0.003250 (rounded ~ 0.00)
vs GPT-5.2 Pro: ↓ 99.7%
🥈

Gemini 3.1 Flash Lite
Google

$0.007000 (rounded ~ 0.01)
vs GPT-5.2 Pro: ↓ 99.3%
🥉

o4-mini Deep Research
OpenAI

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

Llama 4 Maverick (400B)
Meta AI

$0.035500 (rounded ~ 0.04)
vs GPT-5.2 Pro: ↓ 96.2%
#5

o4-mini
OpenAI

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

Mistral Large 3
Mistral AI

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

GPT-5.3 Codex Spark
OpenAI

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

Grok 5
xAI

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

Gemini 3.1 Pro
Google

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

GPT-5.4 Thinking
OpenAI

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

Claude Sonnet 4.6
Anthropic

$0.225000 (rounded ~ 0.23)
vs GPT-5.2 Pro: ↓ 76.2%
#12

o3 Deep Research
OpenAI

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

Claude Opus 4.6
Anthropic

$0.375000 (rounded ~ 0.38)
vs GPT-5.2 Pro: ↓ 60.3%
#14

o3 Pro
OpenAI

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

o3 Pro
OpenAI

$0.700000
vs GPT-5.2 Pro: ↓ 25.9%
✨ 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.