Tokenizer Playground

See exactly how text becomes tokens, then compare the cost across popular LLMs.

AI workbench

Tokenizer Playground

Loading encoder
69 charactersUTF-8 · never uploaded
Token visualizationo200k_base
Loading local tokenizer…
—Input tokens
69Characters
0Highest ID

exact Verified tiktoken mapping

Estimated request$0.000154
Input $0.000000Output $0.000154

Estimated cost; excludes taxes and unsupported billing components. Prices in USD per 1M tokens.
LiteLLM · 2026-10-25 UTC ↗

Compare models
ModelInput / 1MOutput / 1MContextEst. total
ALIA 40b instruct Q8 0
publicai · estimate · Free
$0.000000$0.0000008,192$0.000000
apertus 70b instruct
publicai · estimate · Free
$0.000000$0.0000008,192$0.000000
apertus 8b instruct
publicai · estimate · Free
$0.000000$0.0000008,192$0.000000
beam free
opencode_go · estimate · Free
$0.000000$0.0000001,048,576$0.000000
codegeex4
ollama · estimate · Free
$0.000000$0.00000032,768$0.000000
codestral 2405
codestral · estimate · Free
$0.000000$0.00000032,000$0.000000
codestral latest
codestral · estimate · Free
$0.000000$0.00000032,000$0.000000
command a plus 05 2026
cohere_chat · estimate · Free
$0.000000$0.000000128,000$0.000000
DeepSeek coder v2 instruct
ollama · estimate · Free
$0.000000$0.00000032,768$0.000000
DeepSeek coder v2 lite instruct
ollama · estimate · Free
$0.000000$0.00000032,768$0.000000
DeepSeek v3 2 251201
volcengine · estimate · Free
$0.000000$0.00000098,304$0.000000
DeepSeek v3.1:671b cloud
ollama · estimate · Free
$0.000000$0.000000163,840$0.000000
Gemini exp 1114
gemini · estimate · Free
$0.000000$0.0000001,048,576$0.000000
Gemini exp 1206
gemini · estimate · Free
$0.000000$0.0000002,097,152$0.000000
gemma 2b it lora
cloudflare · estimate · Free
$0.000000$0.0000008,192$0.000000
gemma 3 27b it
gemini · estimate · Free
$0.000000$0.000000131,072$0.000000
Gemma 3 4b it GGUF
lemonade · estimate · Free
$0.000000$0.000000128,000$0.000000
gemma 4 26b a4b it
gemini · estimate · Free
$0.000000$0.000000262,144$0.000000
gemma 4 31b it
gemini · estimate · Free
$0.000000$0.000000262,144$0.000000
gemma 7b it lora
cloudflare · estimate · Free
$0.000000$0.0000003,500$0.000000
Gemma SEA LION v4 27B IT
publicai · estimate · Free
$0.000000$0.0000008,192$0.000000
GigaChat 2
gigachat · estimate · Free
$0.000000$0.000000128,000$0.000000
GigaChat 2 Max
gigachat · estimate · Free
$0.000000$0.000000128,000$0.000000
GigaChat 2 Pro
gigachat · estimate · Free
$0.000000$0.000000128,000$0.000000
glm 4 7 251222
volcengine · estimate · Free
$0.000000$0.000000204,800$0.000000
About this tool

Made for the task at hand.

A hands-on workbench for understanding how language models read text. Inspect token boundaries and IDs with real tiktoken encoders, then use current build-time pricing to compare request costs.

How to use

  1. Paste text or load the example to encode it locally.
  2. Choose a model and review its tokenizer accuracy label.
  3. Set expected output tokens and compare estimated request costs.
Your work stays yours.
Tool inputs are processed locally in your browser and are never sent to KitVerse servers. Clear the workspace when using a shared device.
Common questions
Is my prompt uploaded for tokenization?

No. Encoding runs locally in your browser. Tool input is never sent to KitVerse servers.

Are token counts exact for every model?

Counts are exact only for models explicitly mapped to a compatible tiktoken encoding. Other models are marked as estimates.

Does the cost include every possible fee?

No. It covers text input and output only; taxes, caching, media, tools, and other billing components are excluded.