AiCostCompare

Token counter

Paste text to count tokens with OpenAI's o200k_base (GPT-4o and newer) and cl100k_base (GPT-4/3.5 era) encodings, see how it splits into tokens, and estimate the cost of sending it to any model. Your text never leaves the browser.

165

characters

29

words · ~1.21 tokens/word

Token visualization (o200k_base)

The quick brown fox jumps over the lazy dog. Tokenizers split text into subword units common words are usually one token, while rarer words get broken into pieces.

What this prompt costs to send

using 35 input tokens (o200k_base)
ModelCost / requestCost / 1K requests
Auto Router (Beta)OpenRouter$-5.35e+2$-5.35e+5
FusionOpenRouter$-5.35e+2$-5.35e+5
Pareto Code RouterOpenRouter$-5.35e+2$-5.35e+5
Body Builder (beta)OpenRouter$-5.35e+2$-5.35e+5
Auto RouterOpenRouter$-5.35e+2$-5.35e+5
Mistral NemoMistral$1.57e-5$0.0157
Llama 3 8B LunarisSao10k$2.64e-5$0.0264
Ling 3.0 FlashInclusionai$3.22e-5$0.0322
DeepSeek V4 Flash 0423DeepSeek$3.91e-5$0.0391
Ministral 3 8B 2512 (batch)Mistral$4.01e-5$0.0401
DeepSeek V4 Flash 0731DeepSeek$4.14e-5$0.0414
DeepSeek V4 Flash Latest~deepseek$4.14e-5$0.0414
Mistral Small 3Mistral$4.18e-5$0.0418
Llama 3.1 8B InstructMeta$4.18e-5$0.0418
Gemma 3 4BGoogle$5.17e-5$0.0517
Ministral 3 3B 2512Mistral$5.35e-5$0.0535
Reka EdgeRekaai$5.35e-5$0.0535
Granite 4.0 MicroIbm Granite$5.66e-5$0.0566
MythoMax 13BGryphe$5.78e-5$0.0578
Laguna XS 2.1Poolside$6.21e-5$0.0621
gpt-oss-20bOpenAI$6.61e-5$0.0661
Qwen3.7 FlashAlibaba (Qwen)$6.61e-5$0.0661
Nova Micro 1.0Amazon$7.12e-5$0.0712
Phi 4Microsoft$7.25e-5$0.0725
Schematron V2 TurboInference Net$7.60e-5$0.076
Command R7B (12-2024)Cohere$7.63e-5$0.0763
Mercury 2.5Inception$7.64e-5$0.0764
Gemma 3 12BGoogle$7.67e-5$0.0767
Qwen3.5-9BAlibaba (Qwen)$7.85e-5$0.0785
Ministral 3 8B 2512Mistral$8.02e-5$0.0803

Showing the 30 cheapest matching paid models. Note: non-OpenAI models use their own tokenizers, so actual token counts may differ slightly.