LLM token & cost estimator
Enter a prompt and workload to estimate input tokens live, compare monthly API and local GPU costs, and export the breakdown as CSV.
Input limits
Enter a cache hit rate from 0 to 100% and up to 24 GPU hours per day. Token counts are approximate. Estimates use a 30-day month in USD.
Prompt workspace
Counts include both prompts. Text stays in your browser.
Workload assumptions
Enter the share of all input tokens billed at the cache-read rate. Leave it at 0% if you are unsure.
Reasoning and GPU assumptions
Token and cost preview
- Characters
- 0
- Words
- 0
- Est. input tokens
- 0
Estimated monthly spend
30-day month · USD
| Tier / model | Uncached input | Cached input | Output | GPU runtime | Total / month |
|---|
Rates and calculation details
Estimates use standard text API rates in USD per million tokens, checked November 25, 2026. See GPT-5.4, Gemini 2.5 Flash, and GPT-5.5 Pro. GPT-5.5 Pro has no cache-read discount.
Monthly requests equal daily requests × 30. API costs use each token bucket’s volume × its rate. Output uses roughly four tokens per three English words. Add estimated hidden reasoning tokens for the reasoning tier in the workload assumptions. Estimates exclude other hidden tokens, cache storage or write fees, long-context surcharges, taxes, and tools.
Local GPU cost equals the hourly rate × scheduled hours × 30. The GPU row budgets runtime independently of requests or throughput.
Budget the full AI stack
This estimator compares monthly LLM and GPU costs for one workload. BudgetHub adds annual estimates, and its Project Pass includes scenario comparisons and a PDF budget proposal.
Explore BudgetHubToken & cost FAQ
How accurate is the prompt token estimate?
The counter approximates common English text at four characters per token and assigns more tokens to some scripts and emoji. Exact counts vary by model tokenizer, language, code, and message formatting.
How is a monthly API estimate calculated?
The estimator multiplies daily requests by 30 days. It applies separate rates to uncached input, cached input, and output tokens. Expected output uses roughly four tokens per three words, plus any extra reasoning tokens entered for the reasoning tier.
What does prompt cache hit rate mean here?
It is the share of all input tokens expected to receive a cache-read discount. Actual discounts depend on provider rules such as minimum prefix size and matching content. Use 0% if your workload does not qualify.
How should I interpret the local GPU baseline?
It is the hourly cost multiplied by scheduled GPU hours per day and 30 days. Adjust the hourly figure for rent or electricity and hardware costs. Check separately whether the GPU can handle your request volume.