
Cost Savings Calculator
Calculate potential savings with LLM Cost Optimizer based on your actual usage. All calculations use real API pricing from OpenAI, Anthropic, and Google.
How It Works
Enter your monthly API call volume
How many requests do you make per month?
Set average token counts
Typical input and output tokens per request
Choose your quality requirement
Low, medium, or high quality needs
See realistic cost comparison
Before vs. after with detailed breakdown
The calculator shows what you'd pay using only GPT-4 vs. using LLM Cost Optimizer's automatic model selection.
Calculate Your Savings
Total requests per month
Tokens sent to model
Tokens returned from model
Determines model selection
❌ Without LLM Cost Optimizer
per month (GPT-4 only)
✅ With LLM Cost Optimizer
per month (optimized)
💰 Your Monthly Savings
Cost Breakdown by Model
Included: Document Anonymization
Every license includes regex-based PII detection for protecting sensitive data:
Detection Capabilities
- ✓Email addresses (pattern matching)
- ✓Phone numbers (multiple formats)
- ✓IPv4 addresses
- ✓Numeric sequences (6+ digits)
- ✓Custom regex patterns
- ✓Reversible mapping for data restoration
How It Works
# Anonymize document before LLM call $ llm-cost-opt anonymize ./document.txt --out ./redacted.txt # Process with optimized LLM $ llm-cost-opt optimize --prompt "Analyze: $(cat ./redacted.txt)" ✓ PII protected (local anonymization) ✓ Cost optimized (cheapest model selected) ✓ No sensitive data sent to external APIs
Note: Regex patterns may not catch all PII in all contexts. Review anonymized output for your specific use case. For compliance requirements, consult with legal counsel.
API Pricing Reference
All models with current pricing (sortable table - click column headers):
| Model ⇅ | Provider ⇅ | Input ($/1K) ↑ | Output ($/1K) ⇅ | Quality ⇅ | Best For |
|---|---|---|---|---|---|
| Gemini 2.5 Flash | $0.000075 | $0.000300 | 80% | Lowest cost, high volume | |
| GPT-4o-mini | OpenAI | $0.000150 | $0.000600 | 70% | Simple tasks, high volume |
| Claude 3.5 Haiku | Anthropic | $0.000800 | $0.004000 | 80% | Fast, cost-effective |
| Gemini 1.5 Pro | $0.001250 | $0.005000 | 95% | Long context, quality | |
| GPT-4o | OpenAI | $0.002500 | $0.010000 | 95% | Balanced quality & cost |
| Claude 3.5 Sonnet | Anthropic | $0.003000 | $0.015000 | 100% | Complex reasoning, analysis |
| GPT-4 | OpenAI | $0.030000 | $0.060000 | 100% | Complex analysis, highest quality |
Last Updated: November 23, 2024
Sources: All pricing verified directly from provider websites. Click provider names for official pricing pages.
Quality Score: Relative performance based on benchmarks. 100% = highest tier models.
Pricing Sources
All prices updated as of November 23, 2024:
- OpenAI Pricing: https://openai.com/api/pricing/
- Anthropic Pricing: https://www.anthropic.com/pricing
- Google AI Pricing: https://ai.google.dev/pricing
Prices are subject to change. Calculator updates monthly.
⚠️ Important Disclaimer
These are estimates based on typical usage patterns. Your actual savings will vary based on:
- Your specific prompts and responses
- Quality requirements per task
- Token usage patterns
- Provider pricing changes
Use this as a guide, not a guarantee. We recommend testing with your actual workload.