AI Token Cost & Agent Budget Calculator
Estimate USD token budgets from reviewed DeepSeek/OpenAI rates or custom prices. Include cached reads and writes, requests per task, daily tasks and model stages.
Combine model stages into an agent budget
Choose one of six reviewed rate profiles or enter custom effective flat USD prices. Set total input and billable output per request, cached-read and cache-write shares, requests per task, daily tasks and budget days. Add up to 20 stages; every listed stage contributes to each task. Results update locally and can be copied or downloaded as JSON with assumptions, sources and component costs.
Original sample: 10,000 total input tokens, 50% cached-read share, 2,000 output tokens and four requests per task, using deepseek-flash off-peak. Twenty tasks per day for 30 days gives USD 4.716000 in token charges. This is a hypothetical workload, not observed consumption.
Reviewed USD rates per 1M tokens
- deepseek-flash · off-peak: ordinary input $0.15, cached read $0.003, cache write no separate quoted price, output $0.6. Official source; USD, per 1M tokens, reviewed 2026-10-18.
- deepseek-flash · peak: ordinary input $0.3, cached read $0.006, cache write no separate quoted price, output $1.2. Official source; USD, per 1M tokens, reviewed 2026-10-18.
- deepseek-v4-pro · off-peak: ordinary input $0.66, cached read $0.022, cache write no separate quoted price, output $1.98. Official source; USD, per 1M tokens, reviewed 2026-10-18.
- deepseek-v4-pro · peak: ordinary input $1.32, cached read $0.044, cache write no separate quoted price, output $3.96. Official source; USD, per 1M tokens, reviewed 2026-10-18.
- gpt-6-sol · Standard, global: ordinary input $2, cached read $0.2, cache write $2.5, output $10. Official source; USD, per 1M tokens, reviewed 2026-10-18.
- gpt-6-astra · Standard, global: ordinary input $10, cached read $1, cache write $12.5, output $50. Official source; USD, per 1M tokens, reviewed 2026-10-18.
This is a selected documented set reviewed 2026-10-18, not a live feed or complete model catalog. Custom prices are user supplied.
Cache and context assumptions
Cached reads and cache writes partition total input; they do not add tokens. Their shares must total at most 100%, and remaining input uses the ordinary rate. Sum input/cache/output components per request, multiply by rounds, tasks and days, then add stages. Every repeated request uses the entered counts; include growing conversation context and billable reasoning yourself.
DeepSeek peak/off-peak is selected explicitly: weekday 01:00–04:00 and 06:00–10:00 UTC is peak excluding Chinese public holidays. No holiday or execution-time inference occurs. Automatic cache misses use its input price. The separate write field is disabled for DeepSeek profiles. OpenAI Standard global profiles apply 2× input/cache rates and 1.5× output to the full request when total input exceeds 272,000 tokens. Custom profiles do not infer tiers. Budget math does not establish context/output limits or cache eligibility.
Excluded charges include tools/search/fetch/storage, taxes, subscriptions, free credits, discounts, Batch/Flex/Fast, regional premiums and retries beyond entered rounds. Use official terms for those charges and current prices. Six-decimal display rounding does not round intermediate calculations. Zero workloads produce zero costs; invalid numbers or overlapping cache shares block export. Text stays in the tab without accounts, API calls, storage or submission.