Index Ai Academy
Glossary · Phase 1 · Building with LLMs

token ID

Also written: token IDs

The number a tokenizer gives each token. Models work with these numbers, not with the text itself.

Try it now

This splitter copies a real tokenizer's habits, but it isn't one. Delete the link and watch the characters per token go up. Plain English packs more characters into each token.

Learn it properly

Tokens and the context window · How text becomes tokens, and what fits in one request. About 25 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write