261 models · 12 providers · synced 2026-11-25

Token counter and LLM cost calculator

What does this prompt actually cost?

Paste your text. The tokenizer runs in your browser, nothing is uploaded, and every price is a current list rate. Where a model has no public tokenizer, the count is approximated — and labelled, rather than passed off as exact.

35tokens27words157characterso200k_base, counted in your browser
Show the token split35 pieces
Expected reply
≈ 18 output tokens
Calls
35K input tokens billed
CacheProviders without a published cache rate stay at list price.
Providers — 4 of 12 in the ranking
$5.00 in·$30.00 out
exact$0.7150
$10.00 in·$50.00 out
estimated$1.3000
$3.00 in·$15.00 out
estimated$0.3810
$1.32 in·$3.96 out
estimated$0.1214
$1.25 in·$2.50 out
estimated$0.0913
$3.00 in·$15.00 out
estimated$0.3810
$4.00 in·$20.00 out
estimated$0.5120
$0.80 in·$4.00 out
estimated$0.1024
$1.40 in·$4.40 out
estimated$0.1338
$0.50 in·$1.50 out
estimated$0.0460
$0.99 in·$1.49 out
estimated$0.0644
$2.00 in·$8.00 out
estimated$0.2220
Ranked cheapest first · 1,000 calls
  1. $0.1214cheapest · 38 in
  2. $0.3810×3.1 · 37 in
  3. $0.7150×5.9 · 35 in
  4. $1.3000×10.7 · 40 in

Cheapest listed: command-r7b-12-2024 at $0.037 per million input

Current list prices

Per million tokens, in USD. Cached input is the rate for a prompt prefix the provider has already seen — on long system prompts it is usually the largest saving available.

Model Provider Input Cached Output Context
c4ai-aya-expanse-32b Cohere $0.50 — $1.50 128K
claude-fable-5 Anthropic $10.00 $1.00 $50.00 1M
claude-fable-5-1 Anthropic $10.00 $0.25 $50.00 1M
claude-fable-5-2 Anthropic $8.00 $0.20 $40.00 1M
claude-haiku-5-5 Anthropic $0.10 $0.01 $0.50 1M
claude-mythos-5 Anthropic $10.00 $1.00 $50.00 1M
claude-mythos-5-1 Anthropic $10.00 $0.25 $50.00 1M
claude-mythos-5-2 Anthropic $8.00 $0.20 $40.00 1M
claude-opus-5 Anthropic $5.00 $0.50 $25.00 1M
claude-opus-5-5 Anthropic $4.00 $0.20 $20.00 1M
claude-sonnet-5-5 Anthropic $2.00 $0.10 $10.00 1M
deepseek-chat DeepSeek $0.28 $0.028 $0.42 131K
deepseek-coder DeepSeek $0.14 $0.014 $0.28 128K
deepseek-flash DeepSeek $0.30 $0.006 $1.20 1M
deepseek-reasoner DeepSeek $0.28 $0.028 $0.42 131K
deepseek-v3.2 DeepSeek $0.28 $0.028 $0.40 164K
deepseek-v4-flash DeepSeek $0.30 $0.006 $1.20 1M
deepseek-v4-flash-vision-exp DeepSeek $0.30 $0.006 $1.20 1M
deepseek-v4-pro DeepSeek $1.32 $0.044 $3.96 1M
gemini-3.5-flash Google $1.50 $0.15 $9.00 1M
gemini-3.5-flash-lite Google $0.30 $0.03 $2.50 1M
gemini-3.6-flash Google $0.75 $0.075 $3.75 1M
gemini-3.7-flash Google $0.75 $0.075 $3.75 1M
gemini-3.8-flash Google $0.75 $0.075 $3.75 1M
gemini-4-argon Google $2.00 $0.10 $10.00 1M
gemini-4-carbon Google $2.00 $0.10 $10.00 1M
gemini-4-hydrogen Google $1.50 $0.075 $7.50 1M
gemini-4-neon Google $3.00 $0.15 $15.00 1M
gemma-4-31b Cerebras $0.99 — $1.49 131K
genie-4 Google $1.50 — $9.00 1M
glm-5-2 Mistral $1.40 $0.14 $4.40 1M
gpt-4.1 OpenAI $2.00 $0.50 $8.00 1M
gpt-4.1-mini OpenAI $0.40 $0.10 $1.60 1M
gpt-4.1-nano OpenAI $0.10 $0.025 $0.40 1M
gpt-5.4 OpenAI $2.50 $0.25 $15.00 1.1M
gpt-5.5 OpenAI $5.00 $0.50 $30.00 1.1M
gpt-6.1-sol OpenAI $2.00 $0.10 $10.00 922K
gpt-6.1-terra OpenAI $1.00 $0.05 $5.00 922K
gpt-6.2-astra OpenAI $8.00 $0.40 $40.00 922K
gpt-6.2-astra-law OpenAI $8.00 $0.40 $40.00 922K
gpt-6.2-sol OpenAI $2.00 $0.10 $10.00 922K
gpt-oss-120b Cerebras $0.35 — $0.75 131K
gpt-oss-120b Groq $0.15 $0.075 $0.60 131K
gpt-oss-20b Groq $0.075 $0.037 $0.30 131K
gpt-oss-safeguard-20b Groq $0.075 $0.037 $0.30 131K
grok-4.20 xAI $1.25 $0.20 $2.50 1M
grok-4.20-0309-reasoning xAI $1.25 $0.20 $2.50 1M
grok-4.20-reasoning xAI $1.25 $0.20 $2.50 1M
grok-4.20-reasoning-gv2 xAI $1.25 $0.20 $2.50 1M
grok-4.20-reasoning-latest xAI $1.25 $0.20 $2.50 1M
grok-4.3 xAI $1.25 $0.20 $2.50 1M
grok-4.3-latest xAI $1.25 $0.20 $2.50 1M
grok-4.6 xAI $2.00 $0.50 $6.00 500K
grok-4.7 xAI $2.00 $0.50 $6.00 500K
grok-4.7-latest xAI $2.00 $0.50 $6.00 500K
jamba-1.5 AI21 $0.20 — $0.40 256K
jamba-1.5-large AI21 $2.00 — $8.00 256K
jamba-1.5-mini AI21 $0.20 — $0.40 256K
jamba-large-1.6 AI21 $2.00 — $8.00 256K
jamba-large-1.7 AI21 $2.00 — $8.00 256K
jamba-mini-1.6 AI21 $0.20 — $0.40 256K
jamba-mini-1.7 AI21 $0.20 — $0.40 256K
kimi-k2.5 Moonshot $0.60 $0.10 $3.00 262K
kimi-k2.6 Moonshot $0.95 $0.16 $4.00 262K
kimi-k2.7-code Moonshot $0.95 $0.19 $4.00 262K
kimi-k3 Moonshot $3.00 $0.30 $15.00 1M
kimi-k3.1-pro Moonshot $2.00 $0.20 $10.00 1M
kimi-k3.1-pro-highspeed Moonshot $4.00 $0.20 $20.00 1M
llama-3.1-70b Cerebras $0.60 — $0.60 128K
llama-3.1-70b-instruct Perplexity $1.00 — $1.00 131K
llama-3.1-8b Cerebras $0.10 — $0.10 128K
llama-3.1-8b-instruct Perplexity $0.20 — $0.20 131K
llama-3.3-70b Cerebras $0.85 — $1.20 128K
llama3.1-8b Cerebras $0.10 — $0.10 128K
ministral-14b-latest Mistral $0.20 $0.02 $0.20 262K
mistral-large-4 Mistral $0.70 $0.07 $2.10 1M
mistral-large-4-0 Mistral $0.70 $0.07 $2.10 1M
mistral-large-latest Mistral $0.70 $0.07 $2.10 1M
moonshot-v1-128k Moonshot $2.00 — $5.00 131K
moonshot-v1-128k-vision-preview Moonshot $2.00 — $5.00 131K
moonshot-v1-auto Moonshot $2.00 — $5.00 131K
qwen-3-32b Cerebras $0.40 — $0.80 128K
qwen3.8-27b Groq $0.80 — $4.00 131K
sonar Perplexity $1.00 — $1.00 128K
sonar-deep-research Perplexity $2.00 — $8.00 128K
sonar-pro Perplexity $3.00 — $15.00 200K
sonar-reasoning Perplexity $1.00 — $5.00 128K
sonar-reasoning-pro Perplexity $2.00 — $8.00 128K
zai-glm-5 Mistral $1.40 $0.14 $4.40 1M
zai-glm-5-2 Mistral $1.40 $0.14 $4.40 1M
zai-glm-5-3 Mistral $1.40 $0.14 $4.40 1M
zai-glm-5-3-flash Mistral $0.15 $0.03 $0.50 1M
zai-glm-latest Mistral $1.40 $0.14 $4.40 1M

See all 261 models → Cheapest LLM API → Token counter by provider →