LLM Cost Calculator
Estimate your monthly LLM API spend before committing to a model. Select a model, enter your expected token usage and query volume. Prices are per million tokens as published by each provider.
Model
OpenAI
Best cost/performance for high volume
Advanced reasoning
Anthropic
Strong on code and long-context tasks
Low cost, fast — good for high-frequency tasks
Frontier capability
Usage volume
~200 words
~75 words
Anthropic prompt caching reduces input cost ~90% on cached tokens
Estimated monthly cost
$94
15,000 queries / month
Input cost
$26
Output cost
$68
Cost per query
0.63¢
Prices sourced from provider documentation and updated periodically. Actual costs depend on your exact token usage and any enterprise agreements. Verify against current provider pricing before budgeting.
OpenAI vs Anthropic comparisonDiscuss your AI build