AI Cost Per Task Calculator
See exactly how much common AI tasks cost across 39 models. Pick a task or enter your own token counts.
Or enter custom token counts:
Cost Breakdown by Model
Summarizing a 5-page document: ~2,500 input tokens, ~500 output tokens × 1,000/month
| Model | Provider | Tier | Input Cost | Output Cost | Cost/Task | Monthly Cost |
|---|
Frequently Asked Questions
How much does it cost to summarize a document with AI?
It depends on the model and document length. For a 5-page document (~2,500 tokens input, ~500 tokens output): GPT-5 costs $0.008, Claude Sonnet 4.6 costs $0.015, Gemini 3.5 Flash costs $0.008, DeepSeek V4 Pro costs $0.002, and Llama 4 Scout costs $0.001. Budget models like Llama 4 Scout are 90%+ cheaper than premium models for this task.
How much does it cost to generate code with AI?
For generating a 200-line code snippet (~3,000 tokens input, ~1,500 tokens output): GPT-5 costs $0.019, Claude Sonnet 4.6 costs $0.032, Gemini 3.5 Flash costs $0.019, DeepSeek V4 Pro costs $0.002, and Llama 4 Scout costs $0.001. For high-volume code generation, budget models save 85-95%.
What's the cheapest AI model for chatbots?
For a typical chatbot exchange (~800 tokens input, ~400 tokens output): Llama 4 Scout costs $0.0004 per exchange, DeepSeek V4 Flash costs $0.0002, and Gemini 2.0 Flash Lite costs $0.0002. At 1,000 exchanges/day, Llama 4 Scout costs ~$12/month while GPT-5 costs ~$135/month.
How do I use this calculator?
Select a pre-defined task above or enter your own token counts. The calculator shows the cost for every model across all 10 providers. Filter by tier (Premium, Mid, Budget) to find models in your price range. All prices are per 1M tokens and sourced from our centralized pricing database.