WebStatus.inWebStatus.in
HomeEducationExamplesToolsAbout
Token CalculatorLLM RAM CalculatorToken Speed Simulator
AI TOOLKIT

LLM Token Calculator

Count tokens and compare estimated API costs across major models — all in your browser

Paste text
Token count

0

Word count

0

Characters (no spaces)

0

Total characters

0

Prompt Optimizer

Compress your prompt to save tokens while preserving meaning. Code blocks and quoted strings are preserved.

Gentle: Whitespace cleanup|Balanced: + Filler word removal|Aggressive: + Stop words & abbreviations|Caveman: + Extra terse pass (browser heuristics; not the external Caveman CLI)
Estimated API cost (by model)
ModelProviderContext windowInput costCached input costOutput cost
GPT-5.4OpenAI1M$0.00$0.00$0.00
GPT-5.2OpenAI1M$0.00$0.00$0.00
GPT-5OpenAI1M$0.00$0.00$0.00
GPT-4.1OpenAI1M$0.00$0.00$0.00
GPT-4.1 miniOpenAI1M$0.00$0.00$0.00
GPT-4.1 nanoOpenAI1M$0.00$0.00$0.00
GPT-5 nanoOpenAI1M$0.00—$0.00
o3OpenAI200K$0.00$0.00$0.00
o3-proOpenAI200K$0.00—$0.00
o4-miniOpenAI200K$0.00$0.00$0.00
Claude Opus 4.6Anthropic200K$0.00$0.00$0.00
Claude Opus 4.5Anthropic200K$0.00$0.00$0.00
Claude Sonnet 4.6Anthropic200K$0.00$0.00$0.00
Claude Sonnet 4.5Anthropic200K$0.00$0.00$0.00
Claude Sonnet 4Anthropic200K$0.00$0.00$0.00
Claude Haiku 4.5Anthropic200K$0.00$0.00$0.00
Claude Haiku 3.5Anthropic200K$0.00$0.00$0.00
Gemini 3.1 ProGoogle1M$0.00$0.00$0.00
Gemini 2.5 ProGoogle1M$0.00$0.00$0.00
Gemini 2.5 FlashGoogle1M$0.00$0.00$0.00
Gemini 2.5 Flash-LiteGoogle1M$0.00—$0.00
Gemini 2.0 FlashGoogle1M$0.00$0.00$0.00
Grok 3xAI128K$0.00—$0.00
Grok 3 minixAI128K$0.00—$0.00
DeepSeek V3DeepSeek128K$0.00$0.00$0.00
DeepSeek R1DeepSeek128K$0.00$0.00$0.00
Llama 4 MaverickMeta1M$0.00—$0.00
Llama 4 ScoutMeta512K$0.00—$0.00
Llama 3.3 70BMeta128K$0.00—$0.00
Mistral LargeMistral128K$0.00—$0.00
Mistral SmallMistral128K$0.00—$0.00
CodestralMistral256K$0.00—$0.00

Related Tools

LLM RAM Calculator

Estimate memory footprint for model weights and context at different precisions.

Token Speed Simulator

See how output length and tokens per second affect time to first token and total latency.

Frequently Asked Questions About LLM Tokens

WebStatus.in

© 2026 WebStatus.in — Developer Toolkit

Privacy Policy
Terms of Use
About Us