AI Agent Cost Calculator
Pick a model, describe your agent, and see the cost per task, per day, and per month, with every major LLM compared.
Calculate my agent's cost- 32 models
- Prices from official provider pages
- Updated 2026-10-25
- Not affiliated with any provider
Compare all models
| Model | Input $/1M | Output $/1M | Per task | Per month |
|---|
Not sure your numbers are right? Get a $9 AI Agent Cost Audit
Most agent bills are dominated by context re-sent on every tool call, retries and output length, which a quick estimate misses. Send us your setup and get a written breakdown per task, day and month, cheaper model options and specific savings ideas within 48 hours.
Get my audit: $9 See a sample report
One-time $9 via Stripe Checkout. Nothing recurring. Prices from official provider pages.
Pricing sources
- OpenAI: https://developers.openai.com/api/docs/pricing
- Anthropic: https://platform.claude.com/docs/en/about-claude/pricing
- Google: https://ai.google.dev/gemini-api/docs/pricing
- xAI: https://docs.x.ai/developers/pricing
- DeepSeek: https://api-docs.deepseek.com/quick_start/pricing
- Mistral: https://docs.mistral.ai/inference/pricing
- Meta: https://dev.meta.ai/docs/pricing-rate-limits
- Moonshot: https://platform.kimi.ai/docs/pricing/chat
- MiniMax: https://platform.minimax.io/docs/pricing/overview
Last updated 2026-10-25. Standard tier, short-context list prices in USD.
FAQ
How is agent cost calculated?
Cost per task = tool calls per task × (input tokens × input price + output tokens × output price) ÷ 1,000,000. Daily cost = cost per task × tasks per day; monthly = daily × 30.
Where do the prices come from?
Each provider's official API pricing page, standard tier, short-context rates. Sources and the last-updated date are listed on every page.
Why does each tool call count as a full model call?
In a typical agent loop every tool call means the model reads the context again and writes a new response, so tokens are billed per call.
Does this include prompt caching or batch discounts?
No. It shows standard list prices. Caching and batch APIs can cut costs a lot; cached-input prices are shown on each model page.
Which model is cheapest for agents?
See the comparison table: it sorts every model by monthly cost for your exact inputs.
Get the TokenTab newsletter
Model price changes and agent cost tips, straight to your inbox. Unsubscribe anytime; we only use your email for this newsletter.
Sponsor this tool
Reach AI builders, agent developers and vibe coders who are choosing models and platforms. See sponsor options or email tokentab+sponsors@mail.grokbot.com.