1
Total Uses:…
GPT · Claude · Gemini · DeepSeek

LLM Token & API Cost Calculator

Estimate token counts and compare API costs across leading LLM providers

75Est. Tokens
272Characters
36Words
6Lines
Expected Output Tokens500
Daily Requests (Monthly Est.)100 / day
ModelContext1 Call1,000 CallsMonthly Est.
Gemini 2.5 FlashGoogle1,000K0.01%$0.00031$0.31$0.93
Gemini 2.5 ProGoogle1,000K0.01%$0.00509$5.09$15.28
GPT-4o miniOpenAI128K0.06%$0.00031$0.31$0.93
GPT-4o / GPT-5OpenAI256K0.03%$0.00519$5.19$15.56
Claude Sonnet 4Anthropic200K0.04%$0.00773$7.73$23.17
DeepSeek V3DeepSeek128K0.06%$0.00057$0.57$1.71
About This Tool

Estimate LLM Token Usage & API Costs

Paste prompts, documents, or source code to inspect estimated token counts, context window fill percentage, and comparative API costs across leading AI models.

Frequently Asked Questions

How accurate is the local token estimate?

It uses a code- and multilingual-aware BPE heuristic that stays within ~5-8% of exact tiktoken counts with zero latency.