Counting the r's in strawberry
To see two things for yourself: that a model answers letter questions from memory rather than by looking at letters, and how a tokeniser actually cuts words, names, numbers and other languages into the pieces the model reads.
Any chat tool. A public tokeniser page, for example platform.openai.com/tokenizer (no account needed). The table below, or paper.
- New chat. Paste exactly:How many times does the letter r appear in the word "strawberry"? Answer with just the number.Record the answer. Do it three times in three new chats.
- New chat. Paste exactly:Spell the word "strawberry" one letter per line, then count how many lines contain the letter r.Record the answer. This is the "show the pieces" version.
- A harder one, new chat: How many times does the letter a appear in "Thiruvananthapuram"? Answer with just the number.Record the answer. (The right answer is 4. The word is rare enough that the internet has not memorised it.)
- Open the tokeniser page. Paste each of these one at a time, and write down the number of pieces and where the cuts fall: strawberry · Strawberry · STRAWBERRY · Bengaluru · Thiruvananthapuram · ₹1,20,000 · 1234567
- Paste one sentence in your own language, in its own script; then the same sentence typed in Latin letters the way you would in a message; then in English. Write down the three counts. Keep them; Note 32 collects them.
| Step | Input | Answer / pieces | Where it cut |
|---|---|---|---|
| 1a | count r, plain | ||
| 1b | count r, plain | ||
| 1c | count r, plain | ||
| 2 | count r, spelled out | ||
| 3 | count a in Thiruvananthapuram | ||
| 4 | strawberry | ||
| 4 | Strawberry | ||
| 4 | STRAWBERRY | ||
| 4 | Bengaluru | ||
| 4 | Thiruvananthapuram | ||
| 4 | ₹1,20,000 | ||
| 4 | 1234567 | ||
| 5 | your sentence, own script | ||
| 5 | same, in Latin letters | ||
| 5 | same, in English |
Most current tools now count the r's in strawberry correctly; the note explains why that is not because they can see letters. The rare word in step 3 is the fairer test. In the tokeniser, capitals change the cut, place names are chopped into several pieces, digits are grouped in threes, and a rupee amount with Indian commas becomes many pieces. Your own language will cost more pieces than English for the same sentence, and the Latin-letter version may cost more still; write down which.
one line: what surprised you in the cuts.
My results 8 Sept 2026, one chat tool at default settings, OpenAI's public tokeniser
| Step | Input | Answer / pieces | Where it cut |
|---|---|---|---|
| 1a | count r, plain | 3 | |
| 1b | count r, plain | 3 | |
| 1c | count r, plain | 3 | |
| 2 | count r, spelled out | 3 | |
| 3 | count a in Thiruvananthapuram | not run yet | |
| 4 | strawberry | 3 | st · raw · berry |
| 4 | Strawberry | 3 | Str · aw · berry |
| 4 | STRAWBERRY | 4 | ST · RAW · B · ERRY |
| 4 | Bengaluru | 4 | B · eng · al · uru |
| 4 | Thiruvananthapuram | 7 | Th · ir · uv · anan · th · apur · am |
| 4 | ₹1,20,000 | 6 | ₹ · 1 · , · 20 · , · 000 |
| 4 | 1234567 | 3 | 123 · 456 · 7 |
| 5 | एक वर्ष में 12 महीने होते हैं। | 9 | एक · वर्ष · में · 12 · महीने · होते · हैं · । |
| 5 | ek varsh mai 12 mahine hote hai | 11 | ek · var · sh · mai · 12 · mah · ine · hote · hai |
| 5 | There are 12 months in a year. | not run yet |
capitals change the cut. bengaluru is four pieces, london is one. and hinglish costs more than hindi.