⚠️ Note: Calculation represents bulk volume across multiple requests; single-request limit is 128,000 tokens.
👁️
Vision/Images
✗ Not Available
🎧
Audio Processing
✗ Not Available
🎥
Video Analysis
✗ Not Available
🔧
Tool Usage
✗ Not Available
📄
OCR Support
✗ Not Available
⚡
Caching
✓ Available
90% savings
💰
Total Cost Calculation
Base Cost (No Optimizations)
$0.414000 (rounded ~ 0.41)
Input: $0.280000
Output: $0.084000 (rounded ~ 0.08)
Optimized Cost
$0.414000 (rounded ~ 0.41)
Input: $0.280000
Output: $0.084000 (rounded ~ 0.08)
Unit: $0.000000
Fees: $0.050000
Total Savings
$0.267960 (rounded ~ 0.27)
64.7% discount
Advanced Cost Breakdown
📊 Batch API
30.0% off
Asynchronous processing
💻 Code Execution
$0.050000
Flat fee per execution
Detailed Cost Analysis
For 1,000,000 input tokens and 200,000 output tokens:
- Input Cost: $0.280000
- Output Cost: $0.084000 (rounded ~ 0.08)
- Unit Cost: $0.000000
- Service Fees: $0.050000
- Total Cost: $0.414000 (rounded ~ 0.41)
- Cost per 1K tokens: $0.000122
- Tokens per dollar: 8,216,927 tokens
- Context Window: 128000 tokens
Speed & Performance Analysis
With a processing speed of 650 tokens per second and 110ms time to first token:
- Processing Time: 31 minutes, 23.00 seconds
- Latency: 110 milliseconds to first token
- Base Throughput: 650 tokens/second
- Effective Throughput: 637 tokens/second
Best Use Cases
Legacy MigrationCode RefactoringSoftware Modernization
👁️
Vision/Images
✗ Not Available
🎧
Audio Processing
✗ Not Available
🎥
Video Analysis
✗ Not Available
🔧
Tool Usage
✗ Not Available
📄
OCR Support
✗ Not Available
📊
Batch API
✗ Not Available
⚡
Caching
✗ Not Available
💰
Total Cost Calculation
Base Cost (No Optimizations)
$4.450000
Input: $2.000000
Output: $2.400000
Optimized Cost
$4.450000
Input: $2.000000
Output: $2.400000
Unit: $0.000000
Fees: $0.050000
Advanced Cost Breakdown
💻 Code Execution
$0.050000
Flat fee per execution
Detailed Cost Analysis
For 1,000,000 input tokens and 200,000 output tokens:
- Input Cost: $2.000000
- Output Cost: $2.400000
- Unit Cost: $0.000000
- Service Fees: $0.050000
- Total Cost: $4.450000
- Cost per 1K tokens: $0.003708 (rounded ~ 0.00)
- Tokens per dollar: 269,663 tokens
- Context Window: 2000000 tokens
Speed & Performance Analysis
With a processing speed of 500 tokens per second and 200ms time to first token:
- Processing Time: 40 minutes, 48.00 seconds
- Latency: 200 milliseconds to first token
- Base Throughput: 500 tokens/second
- Effective Throughput: 490 tokens/second
Best Use Cases
Legacy MigrationCode RefactoringSoftware Modernization
Modernizing Legacy Architecture at Scale
Comparing DeepSeek V3.2’s cache hit discount against Gemini 3 Pro for large-scale code migration and refactoring projects.
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.
What is the YemHub AI Calculator Tool?
The YemHub AI Calculator is the most comprehensive tool for estimating costs and comparing performance metrics across 38 AI models. It calculates token-based pricing, analyzes multimodal processing, and provides optimization recommendations.