--- 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