Estimate AI token counts, prompt caching savings, batch API discounts, and monthly spend across OpenAI, Claude, Gemini, and DeepSeek.
Prompt, system instructions & message history.
Generated completion & internal reasoning tokens.
* Note: Token counts are estimates calculated 100% locally in your browser using script-aware character density rules. No prompt text is uploaded.
| Model & Provider | Input / 1M | Output / 1M | Cached / 1M | Cost / Request | Monthly Spend |
|---|
| Month | Requests | Input Tokens | Output Tokens | Estimated Cost |
|---|
All modern LLMs price in units per 1,000,000 tokens ($/1M). For standard English, 1,000 tokens equals approximately 750 words (~4,000 characters). Output tokens generate higher computational overhead during autoregressive decoding and are priced 3× to 5× higher than input tokens.
Prompt caching stores pre-computed KV states for static system instructions or document context. Cache reads bill at up to a 90% discount (e.g. $0.30/1M on Claude 3.5 Sonnet vs $3.00/1M uncached). Caching is automatically carved out from input tokens so you are never billed twice.
For asynchronous jobs such as document summarization, dataset classification, or offline evaluations, OpenAI, Anthropic, and Google offer Batch APIs with a flat 50% discount on both input and output tokens with a 24-hour turnaround SLA.
Quick answers about how this tool works.
Official provider pricing references: OpenAI API Pricing (openai.com/api/pricing), Anthropic Claude Pricing (anthropic.com/pricing), Google Gemini Developer API Pricing (ai.google.dev/pricing), and DeepSeek API Documentation (api-docs.deepseek.com).
Be the first to rate AI Token & API Cost Calculator
Search 250+ free tools by name, or pick a category below. Every one runs instantly in your browser — no signup, nothing to install.
Tap a star to rate AI Token & API Cost Calculator.