๐Ÿงฎ LLM Token Counter & Cost Estimator

Paste text below, pick a model, and get an estimated token count and approximate API cost. Token counts are heuristic with a low/high range โ€” exact tokens depend on the provider's tokenizer. Nothing is uploaded.

Prices reviewed 2026-06-10. Verify with the provider before forecasting.
Tokens (est.)
0
range: 0 โ€“ 0
Characters
0
0 words
Input cost
$0.000000
โ€”
Round-trip cost
$0.000000
โ€”

๐Ÿ“‹ Model price reference

Provider Model Input / 1M Output / 1M Context Verified

Prices shown are standard-tier list prices in USD per million tokens, taken from the provider's public pricing pages. Batch, cached-input, and Bedrock/Azure markup tiers are excluded. Embedding, fine-tune, and audio/image prices excluded.

๐Ÿง  How the estimate works

Each model family uses a different tokenizer. As a back-of-envelope:

The displayed range applies a ยฑ10% margin on top of the model-specific chars-per-token average to give a defensible band.

โ“ FAQ

Is the token count exact?

No โ€” different model families tokenize the same text differently. For an exact count use the provider's official tokenizer (OpenAI's tiktoken, Anthropic's count_tokens endpoint, or Google's Gemini count-tokens API).

How is the cost calculated?

Estimated input tokens ร— the model's per-million input rate, plus the expected output tokens ร— the per-million output rate. Cached-input and batch-API discounts (often 50%) are not applied.

Are these prices current?

The table shows the date each row was last verified. LLM prices change often โ€” always cross-check with the provider's pricing page before relying on the number for forecasting.

Is my text uploaded?

No. Token estimation and cost math run entirely in your browser. No third party โ€” including the LLM providers themselves โ€” receives the text.

๐Ÿงฐ Related AI tools