Skip to main content
tech futures.Introduction to AI

Lesson 5: Under the Hood

Token IDs

All the tokens in the tokenisation step become numbers. For example, IDs for the sentence "The uncharacteristically over-enthusiastic scientist waved hello." are shown in the table below.

TokenID
The976
un537
character38245
istically67862
over1072
-12
enth33774
usi9955
astic5620
scientist57204
waved135473
hello40167
.13

These IDs have been generated using the OpenAI tokeniser.

There are 200,000+ tokens in the tokeniser used in OpenAI's GPT 5 models (this is their vocabulary).

You will learn more about how these Token IDs are used later in the lesson.