👁️
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.278800 (rounded ~ 0.28)
Input: $0.140800
Output: $0.088000 (rounded ~ 0.09)
Optimized Cost
$0.278800 (rounded ~ 0.28)
Input: $0.140800
Output: $0.088000 (rounded ~ 0.09)
Unit: $0.000000
Fees: $0.050000
Total Savings
$0.095040 (rounded ~ 0.10)
34.1% discount
Advanced Cost Breakdown
💻 Code Execution
$0.050000
Flat fee per execution
Detailed Cost Analysis
For 128,000 input tokens and 20,000 output tokens:
- Input Cost: $0.140800
- Output Cost: $0.088000 (rounded ~ 0.09)
- Unit Cost: $0.000000
- Service Fees: $0.050000
- Total Cost: $0.278800 (rounded ~ 0.28)
- Cost per 1K tokens: $0.001242 (rounded ~ 0.00)
- Tokens per dollar: 805,398 tokens
- Context Window: 200000 tokens
Speed & Performance Analysis
With a processing speed of 180 tokens per second and 280ms time to first token:
- Processing Time: 13 minutes, 50.00 seconds
- Latency: 280 milliseconds to first token
- Base Throughput: 180 tokens/second
- Effective Throughput: 178 tokens/second
Best Use Cases
HealthcareBioinformaticsMedical Research
👁️
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)
$0.546000 (rounded ~ 0.55)
Input: $0.256000 (rounded ~ 0.26)
Output: $0.240000
Optimized Cost
$0.546000 (rounded ~ 0.55)
Input: $0.256000 (rounded ~ 0.26)
Output: $0.240000
Unit: $0.000000
Fees: $0.050000
Advanced Cost Breakdown
💻 Code Execution
$0.050000
Flat fee per execution
Detailed Cost Analysis
For 128,000 input tokens and 20,000 output tokens:
- Input Cost: $0.256000 (rounded ~ 0.26)
- Output Cost: $0.240000
- Unit Cost: $0.000000
- Service Fees: $0.050000
- Total Cost: $0.546000 (rounded ~ 0.55)
- Cost per 1K tokens: $0.003689 (rounded ~ 0.00)
- Tokens per dollar: 271,062 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: 4 minutes, 59.00 seconds
- Latency: 200 milliseconds to first token
- Base Throughput: 500 tokens/second
- Effective Throughput: 495 tokens/second
Best Use Cases
HealthcareBioinformaticsMedical Research
Medical Data Synthesis and Reasoning
Analyzing the cost of o4-mini’s reasoning for auditing longitudinal patient records. By using high-effort thinking tokens, the model cross-references imaging data with lab results to identify early-stage risk factors with high clinical accuracy.
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.
How are image tokens calculated?
Images are tokenized based on resolution: Low: 85 tokens, Medium: 170 tokens, High: 255 tokens, Full: 765 tokens per image. Some models (like Llama 4 Maverick) use tile-based encoding.
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.