LLM Token Counter & Cost Estimator

Estimate token counts and per-request / monthly API costs across GPT, Claude, Gemini, and Llama models.

OpenAIContext window: 128,000 tokens$2.50 / 1M input ยท $10.00 / 1M output
134 characters21 words~30 tokens
Input (30 tokens)$0.000075
Assumed output tokens
Output cost$0.005000
Cost per request
$0.005075
Requests per day
1,000 req/day ร— 30 days = 30,000 requests/month
Estimated monthly spend
$152.25

Token counts are an approximation (~4 characters per token blended with word count) and pricing is illustrative โ€” real tokenizers are model-specific and provider prices change. Verify against the provider's current pricing page before budgeting.

About the Token Counter

LLM providers bill by tokens, not characters or words, and token counts vary by tokenizer โ€” a prompt that costs 500 tokens on one model can cost 650 on another. This tool estimates token counts for your prompt and projects per-request and monthly spend at a given traffic volume, so you can catch expensive prompts before they hit production.

Key Features

  • Compare pricing across GPT-4o, GPT-4 Turbo, Claude Opus/Sonnet/Haiku, Gemini 1.5, and Llama 3.1.
  • Projects monthly cost from a requests-per-day estimate.
  • 100% client-side โ€” your prompt text never leaves the browser.