← AI glossary

Token

The small pieces an LLM splits text into. Both price and limits are measured in tokens.

LLMs do not read letters or words directly; they split text into tokens. In English a token is roughly four characters, or three-quarters of a word.

Most models need many more tokens for Bangla than for the same meaning in English — up to six times as many with some tokenizers. API bills and model limits are counted in tokens, so Bangla costs more.

Example

“আমি বাংলায় কথা বলি।” is 27 tokens with GPT-4’s tokenizer, while “I speak Bangla.” is just 5.

বাংলায়: টোকেন — LLM লেখাকে যে ছোট ছোট টুকরোয় ভাগ করে পড়ে। দাম আর সীমা — দুটোই টোকেনে মাপা হয়।

Try it on a real AI Computer

JupyterLab opens in about a minute. Pay in taka with bKash, billed by the minute — stop whenever you like.