Token counter · AI21 · 7 models · synced 2026-11-25

AI21 token counter

Paste a prompt to see how many tokens AI21 bills it as, and what that costs on every AI21 model. The tokenizer runs in your browser — nothing you paste leaves the page.

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 — 1 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.2220cheapest · 39 in
Counting
estimated
OpenAI encoder × 1.1
Tokens per word
1.22
English prose
1,000 words
≈ 1,220
tokens
Cheapest input
$0.20
jamba-1.5

What a given token count costs on AI21

Input tokens only, in USD, at current list rates. Output is billed separately and always costs more — the AI21 pricing page has both rates for all 7 models.

Model 1,00010,000100,0001,000,000
jamba-1.5 $0.0002$0.002$0.020$0.200
jamba-1.5-mini $0.0002$0.002$0.020$0.200
jamba-mini-1.6 $0.0002$0.002$0.020$0.200
jamba-mini-1.7 $0.0002$0.002$0.020$0.200
jamba-1.5-large $0.002$0.020$0.200$2.00
jamba-large-1.6 $0.002$0.020$0.200$2.00
jamba-large-1.7 $0.002$0.020$0.200$2.00

How AI21 counts a token

A token is not a word and not a character. Common words are usually one token, rarer ones split into pieces, and the spaces and punctuation between them are counted too. On the reference paragraph this page measures against, AI21 works out at 1.22 tokens per word, or one token per 4.3 characters of English prose. Code, JSON and languages that do not use the Latin alphabet all run denser — expect more tokens for the same word count, sometimes twice as many.

AI21 does not publish a tokenizer. Nobody outside OpenAI does. So the honest description of this count is: OpenAI's encoder run on your text, multiplied by 1.1 — the ratio AI21 publishes for its own family. It is close enough to choose a model on and to size a budget with, and it is wrong enough that you should not reconcile a bill against it. That is why the badge says estimated rather than a number pretending to be exact.

Questions

How many tokens is 1,000 words in AI21?
About 1,220 tokens — roughly 1.22 tokens per word of English prose, or one token per 4.3 characters. Code, JSON and non-English text run denser and produce more tokens for the same word count.
Is this AI21 token count exact?
No. AI21 does not publish a tokenizer, so the count is OpenAI's encoder run on your text and multiplied by 1.1, the ratio AI21 publishes for its own family. Treat it as ±10%, and never as an invoice.
How much does 1M input tokens cost on AI21?
From $0.20 on jamba-1.5, the cheapest of the 7 AI21 models listed here. Output tokens are billed separately and cost more — $0.40 per million on the same model.

Token counters for other providers