Skip to content
Convertto

How many tokens is 1,000 words?

1,000 words of English prose is roughly 1,330 tokens, because one English word averages about 1.33 tokens. In the other direction, 1,000 tokens is roughly 750 words and 256 tokens is roughly 192 words. Source code and JSON cost far more per word, around 2.4 and 2.7 tokens, so the same word count of structured data is close to double.

Runs in your browser

Also asked as

  • 256 tokens to words
  • word to token
  • tokens to words
  • how many words is 1000 tokens

Do it here: Words to Tokens Converter

Convert between words, characters, pages and tokens using measured ratios for prose, code, JSON and CJK.

English prose
1 word is about 1.33 tokens; 1 token is about 4 characters
Source code
1 word is about 2.4 tokens; 1 token is about 2.6 characters
JSON
1 word is about 2.7 tokens; 1 token is about 2.6 characters
1,000 words
About 1,330 tokens of prose, 2,400 of code, 2,700 of JSON
1,000 tokens
About 750 words of prose

Words to tokens

WordsProse tokensCode tokensJSON tokens
100~133~240~270
250~333~600~675
500~665~1,200~1,350
1,000~1,330~2,400~2,700
5,000~6,650~12,000~13,500
10,000~13,300~24,000~27,000
Applying 1.33, 2.4 and 2.7 tokens per word respectively.

Tokens to words

TokensWords of proseRoughly
256~192A long paragraph
512~385A page
1,024~770Two pages
4,096~3,080A short article
8,192~6,160A long article
128,000~96,000A short novel

Why it is not one token per word

Language models do not split text on spaces. They use byte pair encoding, which builds a vocabulary of the most frequent character sequences in the training data and then represents any text as a sequence of those pieces. Common short words such as "the" and "and" are single tokens. Longer or rarer words are split into several: "tokenisation" might arrive as three pieces, and a proper noun the vocabulary has never seen can become one token per syllable or worse. Punctuation, leading spaces and newlines are tokens too.

That is also why the ratio rises for code and JSON. Braces, brackets, quotes, colons and indentation are all separate tokens, and identifiers written in camelCase or snake_case split at the case change or the underscore. A JSON document is mostly structure, so it spends most of its tokens on characters a reader would not count as words at all.

What moves the number

  • The tokenizer. Different model families ship different vocabularies, so the same paragraph can differ by several percent between them.
  • The language. Chinese, Japanese and Korean are counted closer to one token per character, and languages with long compounds such as German or Finnish split more than English.
  • Formatting. Markdown tables, code fences and heavy indentation add tokens without adding words.
  • Names and identifiers. Unusual proper nouns, UUIDs and hashes are the most expensive text per word there is.

What to do with the number

Related questions

How many words is 256 tokens?

About 192 words of English prose, which is roughly one long paragraph.

How many words is 1,000 tokens?

About 750 words of English prose, or roughly 4,000 characters including spaces.

Is the token count the same for every model?

No. Each model family has its own tokenizer vocabulary, so counts vary by a few percent. The ratios here are averages across common English text.

Do spaces and punctuation count as tokens?

Yes. Leading spaces are usually attached to the word that follows, and punctuation marks and newlines are their own tokens. That is a large part of why the ratio is above one.