File size: 6,672 Bytes
3835675
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1e4903d
 
3835675
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3ef4023
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
---
license: cc-by-4.0
pretty_name: "DELPHI-0: the tokenization tax on African languages"
language:
- aeb
- afr
- aka
- amh
- ary
- arz
- bam
- bem
- cjk
- dik
- dyu
- eng
- ewe
- fon
- fuv
- gaz
- hau
- ibo
- kab
- kam
- kbp
- kea
- kik
- kin
- kmb
- knc
- kon
- lin
- lua
- lug
- luo
- mos
- nso
- nus
- nya
- plt
- run
- sag
- sna
- som
- sot
- ssw
- swh
- taq
- tir
- tsn
- tso
- tum
- twi
- tzm
- umb
- wol
- xho
- yor
- zul
multilinguality: multilingual
size_categories:
- n<1K
tags:
- tokenization
- tokenizers
- tokenization-premium
- african-languages
- multilingual
- benchmark
- unicode
- flores-200
- yoruba
- amharic
configs:
- config_name: premiums
  data_files: premiums.csv
  default: true
- config_name: orthography
  data_files: orthography.csv
- config_name: roundtrip
  data_files: roundtrip.csv
- config_name: unicode_prevalence
  data_files: unicode_prevalence.csv
---

# DELPHI-0: the tokenization tax on African languages

**17 tokenizers × 56 African languages + English, on the same 1,012 sentences.**

Before a language model reads a sentence, its tokenizer decides how many
positions the sentence costs, and so how much compute, context and money.
DELPHI-0 measures that cost for every African language in FLORES-200. It
measures the cost on identical meaning: the FLORES-200 devtest sentences
translated from the same English source.

Part of **PROMETHEUS v2** (Maximo AI Research, 3 December 2026):
[live leaderboard](https://huggingface.co/spaces/maximoai-co/delphi-leaderboard) ·
[submit a tokenizer](https://github.com/maximoai-co/prometheus/issues/new?template=submit-tokenizer.yml) ·
[paper](https://github.com/maximoai-co/prometheus/blob/main/paper/prometheus_v2.pdf) ·
[code](https://github.com/maximoai-co/prometheus) ·
[run records](https://huggingface.co/datasets/maximoai-co/prometheus) ·
[checkpoints](https://huggingface.co/maximoai-co/prometheus-v2-models)

![Premium for every African language in FLORES-200 under 16 tokenizers](figures/fig9_delphi_heatmap.png)

## Findings

| | |
|---|---|
| Median African language under the GPT-4o tokenizer (o200k) | **1.82×** the tokens of English |
| Languages above 2× / above 3× under o200k | **18 / 6** of 56 |
| Worst case under o200k | Tamasheq (Tifinagh) **10.21×**, Central Atlas Tamazight 10.15×, Tigrinya 5.97×, Amharic 5.78× |
| Medians across the 12 recent general-purpose LLM tokenizers | **1.82× to 2.21×** |
| NLLB-200, the closest to parity | median 1.34×; cheapest of the 15 public tokenizers on 49 of 56 languages |
| Non-ASCII Amharic characters split across tokens | o200k 99.8%; Gemma 4 0% (Amharic premium 1.94×) |
| Yorùbá with tone marks vs the same text without | **1.22× to 1.45×** the tokens (BLOOM 1.04×) |
| Yorùbá decomposed (NFD) vs composed (NFC) | up to **2.10×** the tokens |
| FLORES-200 Yorùbá devtest lines that are not in NFC | **27.6%** (Igbo 5.0%, Hausa 0.0%) |
| Yorùbá tone marks kept on NFD input | XLM-R 82.6%, NLLB-200 83.0%: 813 and 812 of 1,012 sentences lose a mark |

Two more results:
- Llama 3 and SmolLM3 give identical counts on all 57 languages.
- Gemma 3 and Gemma 4 differ by one token, on Zulu.

So the 15 public tokenizers are fewer than 15 independent measurements.

## Configurations

**`premiums`** (default): one row per tokenizer and language, 17 × 57 rows.

| column | meaning |
|---|---|
| `tokenizer`, `family`, `source` | tokenizer name, developer, and where the tokenizer file came from |
| `language_code`, `language`, `script` | FLORES-200 code (`yor_Latn`), language name, ISO 15924 script |
| `tokens`, `bytes`, `chars` | totals over the 1,012 devtest sentences, special tokens excluded |
| `bytes_per_token`, `chars_per_token` | compression |
| `premium` | tokens for this language ÷ tokens for the English translation, same tokenizer |
| `split_char_rate` | share of characters whose bytes are split across tokens |
| `split_nonascii` | the same, for non-ASCII characters only |
| `effective_context` | how many English-equivalent tokens a 128k window holds in this language |

**`orthography`**: Yorùbá, Igbo and Hausa in several written forms: composed
(`nfc`), decomposed (`nfd`), tone marks removed (`notone`) and stripped to
ASCII (`ascii`). Gives tokens, ratio to NFC (`vs_nfc`) and premium.

**`roundtrip`**: for Yorùbá and Igbo, NFC and NFD input. Gives the share of
tone marks and dots below that survive encoding and decoding, and the share of
sentences that come back byte-identical.

**`unicode_prevalence`**: how much real text is not in NFC: the FLORES-200
devtest, and the AfriBERTa training and evaluation corpora for Yorùbá, Igbo
and Hausa.

The full nested results are in `delphi0.json` and `unicode_forms.json`. The
two BPE tokenizers we trained as controls are in `tokenizers/`.

## Method

- Text: FLORES-200 devtest, all 1,012 sentences, NFC-normalised before
  tokenization except where a form is measured on purpose. FLORES-200 is CC
  BY-SA 4.0; this dataset holds counts and scores, not the sentences.
- Tokenizers: official files, or a public mirror with identical files where the
  official repository is gated. The `source` column records which was used.
- Counts exclude special tokens. Premiums compare each tokenizer with its own
  English, so a tokenizer that is expensive on English looks fairer. The
  `tokens` column gives the absolute counts.

Reproduce with
[`scripts/delphi_audit.py`](https://github.com/maximoai-co/prometheus/blob/main/scripts/delphi_audit.py)
and [`scripts/unicode_forms.py`](https://github.com/maximoai-co/prometheus/blob/main/scripts/unicode_forms.py).
[`scripts/check_claims.py`](https://github.com/maximoai-co/prometheus/blob/main/scripts/check_claims.py)
recomputes every number above from these files.

## Citation

```bibtex
@misc{johnson2026prometheus,
  title  = {{PROMETHEUS}: What African Languages Pay for Tokenization, and What Learning to Cut Bytes Changes},
  author = {Johnson, Daniel Jonah},
  year   = {2026},
  month  = dec,
  institution = {Maximo AI Research, Maximo AI Ltd},
  url    = {https://github.com/maximoai-co/prometheus}
}
```

---

**About Maximo AI.** Africa's frontier AI lab, built in Lagos, Nigeria. We build our own models (Maximo Atlas, Pandora, Cyber and Decisions), the [Maximo API](https://maximoai.co/platform) and the [Syntax](https://maximoai.co/syntax) coding agent, and the products [Kydanet](https://kydanet.com) and the [MyTabulon](https://mytabulon.com) Coding Plan. Maximo AI Research publishes the code, the data and every run behind each claim. [maximoai.co](https://maximoai.co) · [huggingface.co/maximoai-co](https://huggingface.co/maximoai-co) · dev@maximoai.co