What Is a Token? How Bengali and Romanized Bengali Are Processed Differently

Written by Aditya Ghosh Dastidar, co-contributor at BeyondAssertions

How AI reads text

One meaning. Three ways to write it.

AI splits text into tokens. Each coloured block is one token.

English
I am fine
Iamfine
3 TOKENS
Bengali script
আমি ভালো আছি
আমিভালোআছি
4 TOKENS
Romanized Bengali
Ami bhalo achi
Amibhaloachi
6 TOKENS

Measured with the OpenAI Tokenizer (GPT-5.x tab), November 2026.

Have you ever wondered how an artificial intelligence (AI) tool understands the words we type? When we write a sentence in ChatGPT, the system does not simply process the entire sentence as we see it. Before processing the text, it breaks it into smaller pieces called tokens.

This is a personal blog written as a hobby, for learning. The results below come from my own tests with a free public tool and are not professional or technical advice.

Introduction: A Small Piece of a Bigger Picture

Think of a Kolkata Metro journey. Before entering the station, passengers use a token or smart card to access the service. Similarly, an AI model uses tokens as units for processing text. However, an AI token is not necessarily a complete word. It can represent a whole word, part of a word, punctuation, or a combination of characters.

For example, when I tested the word “Hello” using the OpenAI Tokenizer, it was counted as one token. However, the word “Tokenization” was divided into two pieces: “Token” and “ization”. This shows that words do not always correspond to individual tokens.


The Rule: How Does Tokenization Work?

A tokenizer is a tool that divides text into smaller units based on patterns learned during its development. It uses a fixed vocabulary of commonly occurring text pieces.

Words and combinations that appear frequently may be represented by a single token. Less familiar words may be divided into smaller pieces.

For example, “Hello” is a familiar English word and can be represented by one token. On the other hand, a place name such as “Dakshineswar” may be divided into four pieces: “Dak”, “sh”, “ines” and “war”.

The number of characters in a word does not determine its token count. A longer word can sometimes use fewer tokens than a shorter or less familiar word.

This matters because AI models process information using tokens. Token counts can influence how much text a model can handle and, depending on the service, how much using it costs.


My Experiment: Testing Different Languages

To understand tokenization better, I conducted experiments using the OpenAI Tokenizer with the GPT-5.x tab selected.

I became interested in how Bengali words are processed when written in Bengali script and in Roman letters. I first tested two sentences with the same meaning in both writing styles.

For the sentence “I am fine”, the Bengali-script version, “আমি ভালো আছি”, used four tokens. Its Romanized version, “Ami bhalo achi”, used six tokens.

For the sentence “I will not go to the office today”, the Bengali-script version, “আমি আজ অফিস যাব না”, used five tokens. Its Romanized version, “Ami aaj office jabo na”, used eight tokens.

In these first two comparisons, the Romanized versions used 1.50 and 1.60 times as many tokens as Bengali script.

To check whether this held, I tested eight sentences in total and also counted the English version of each as a baseline. In the table below, full stops are included, so the first two sentences are one token higher than above.

Sentence (English / Bengali script / Romanized)English tokensBengali script tokensRomanized tokens
I am fine.
আমি ভালো আছি।
Ami bhalo achi.
457
I will not go to the office today.
আমি আজ অফিস যাব না।
Ami aaj office jabo na.
969
I eat rice every day.
আমি প্রতিদিন ভাত খাই।
Ami protidin bhat khai.
688
She is reading a book.
সে একটি বই পড়ছে।
Se ekti boi porchhe.
668
We went to the market yesterday.
আমরা গতকাল বাজারে গিয়েছিলাম।
Amra gotokal bajare giyechilam.
71111
It is raining outside.
বাইরে বৃষ্টি হচ্ছে।
Baire brishti hochhe.
578
My brother plays football in the evening.
আমার ভাই সন্ধ্যায় ফুটবল খেলে।
Amar bhai sondhyay football khele.
81111
Please close the door.
দয়া করে দরজাটা বন্ধ করো।
Doya kore dorjata bondho koro.
51010
Total (8 sentences)506472

Two patterns stand out. First, Bengali script never used more tokens than Romanized Bengali: it used fewer in four sentences and the same number in the other four. Second, English used the fewest tokens in seven of the eight sentences. Across all eight, English used 50 tokens, Bengali script 64 (about 1.3 times English) and Romanized Bengali 72 (about 1.4 times).


The Surprise: One Meaning, Different Token Counts

The most interesting discovery was that writing the same Bengali sentence in two different ways produced different token counts.

I initially thought that the two versions might have similar token counts because they communicated the same meaning. However, my results showed otherwise.

I also tested different spellings of the Bengali word “ভালো” (good). The spelling “valo” used one token, while “bhalo”, “bhaalo” and “ভালো” each used two tokens.

This demonstrated that even small spelling changes can affect how text is divided into tokens.


Why Does This Happen?

One possible explanation is the difference in spelling consistency.

Bengali script generally follows a more consistent writing system. A tokenizer may encounter Bengali words written in Bengali script across websites, books, news articles and online conversations.

Romanized Bengali, however, does not have one universally fixed spelling. Someone might write ভালো as “bhalo”, another person might write “valo”, and someone else might use “bhaalo”.

Although these spellings communicate the same word, they are different text patterns. A tokenizer may therefore divide them differently depending on the patterns represented in its vocabulary.

Across my eight sentences, Bengali script never used more tokens than Romanized Bengali. The gap disappeared in sentences with long, complex words such as গিয়েছিলাম (I had gone) and সন্ধ্যায় (in the evening), which the tokenizer broke into several pieces in both scripts. Eight sentences is still a small test, so this is an observation, not a rule.


Conclusion

Tokenization is an important step in how AI systems process language. My experiments helped me understand that a token is not always a complete word and that the way we write something can affect its token count.

In my eight test sentences, English used 50 tokens, Bengali script 64 and Romanized Bengali 72. Try it yourself: type your own name, or a sentence you use every day, into the OpenAI Tokenizer in English and in Bengali, and compare.

My takeaway: In my tests, Bengali script never used more tokens than Romanized Bengali, and English usually used the fewest.


Testing method: I used the OpenAI Tokenizer, GPT-5.x tab, in November 2026. Token counts may change when the tokenizer or model is updated. This post is for educational purposes only.

Leave a Reply