The African Language Tax: Quantifying the Cost, Latency, and Context Penalty of Tokenizing African Languages in Frontier LLMs
Paper • 2606.24460 • Published
corpus large_stringclasses 3
values | domain null | language large_stringclasses 22
values | iso639_3 large_stringclasses 22
values | script large_stringclasses 3
values | family large_stringclasses 11
values | tokenizer large_stringclasses 11
values | vocab_size int64 100k 262k | inspectable bool 1
class | n_sentences int64 204 1.84k | n_words int64 3.31k 44.6k | n_tokens int64 5.34k 304k | n_chars int64 18k 253k | n_bytes int64 26.6k 310k | fertility float64 1.2 12.2 | premium float64 1.02 9.78 ⌀ | cpt float64 0.42 4.99 | bpt float64 1 5.09 | fertility_ci_low float64 1.19 12.1 | fertility_ci_high float64 1.22 12.3 | premium_ci_low float64 1.01 9.58 ⌀ | premium_ci_high float64 1.03 10 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
flores | null | Afrikaans | afr | Latin | Indo-European (Germanic) | bigscience/bloom | 250,680 | true | 1,012 | 23,268 | 46,205 | 139,690 | 141,292 | 1.985774 | 1.59834 | 3.023266 | 3.057937 | 1.971037 | 2.001314 | 1.58307 | 1.615803 |
flores | null | Akan/Twi | aka | Latin | Niger-Congo (Kwa) | bigscience/bloom | 250,680 | true | 1,012 | 26,157 | 49,461 | 128,597 | 138,764 | 1.890928 | 1.521998 | 2.599968 | 2.805524 | 1.8781 | 1.903727 | 1.506483 | 1.537356 |
flores | null | Amharic | amh | Ethiopic | Afro-Asiatic (Semitic) | bigscience/bloom | 250,680 | true | 1,012 | 17,315 | 136,993 | 87,132 | 225,450 | 7.911811 | 6.368176 | 0.636032 | 1.645705 | 7.85903 | 7.96849 | 6.308646 | 6.432239 |
flores | null | Bambara | bam | Latin | Niger-Congo (Mande) | bigscience/bloom | 250,680 | true | 1,012 | 22,641 | 51,562 | 126,349 | 137,527 | 2.277373 | 1.833046 | 2.450429 | 2.667216 | 2.257092 | 2.300346 | 1.812437 | 1.855545 |
flores | null | English | eng | Latin | Indo-European (Germanic) | bigscience/bloom | 250,680 | true | 1,012 | 22,067 | 27,416 | 131,966 | 132,096 | 1.242398 | null | 4.813467 | 4.818208 | 1.234013 | 1.250851 | null | null |
flores | null | French | fra | Latin | Indo-European (Romance) | bigscience/bloom | 250,680 | true | 1,012 | 25,539 | 33,020 | 157,638 | 163,927 | 1.292925 | 1.040668 | 4.774016 | 4.964476 | 1.284243 | 1.302509 | 1.030586 | 1.051744 |
flores | null | Hausa | hau | Latin | Afro-Asiatic (Chadic) | bigscience/bloom | 250,680 | true | 1,012 | 25,301 | 48,353 | 139,967 | 141,601 | 1.91111 | 1.538243 | 2.894691 | 2.928484 | 1.898759 | 1.925021 | 1.523947 | 1.553243 |
flores | null | Igbo | ibo | Latin | Niger-Congo (Volta-Niger) | bigscience/bloom | 250,680 | true | 1,012 | 25,814 | 47,045 | 134,449 | 160,909 | 1.822461 | 1.466889 | 2.857881 | 3.420321 | 1.808939 | 1.836804 | 1.45201 | 1.48221 |
flores | null | Kinyarwanda | kin | Latin | Niger-Congo (Bantu) | bigscience/bloom | 250,680 | true | 1,012 | 20,103 | 43,124 | 145,862 | 149,150 | 2.145152 | 1.726622 | 3.382386 | 3.458631 | 2.128271 | 2.162057 | 1.707511 | 1.744955 |
flores | null | Lingala | lin | Latin | Niger-Congo (Bantu) | bigscience/bloom | 250,680 | true | 1,012 | 24,071 | 45,308 | 142,197 | 142,387 | 1.882265 | 1.515026 | 3.138452 | 3.142646 | 1.871784 | 1.893547 | 1.50114 | 1.529817 |
flores | null | Luganda | lug | Latin | Niger-Congo (Bantu) | bigscience/bloom | 250,680 | true | 1,012 | 17,719 | 45,818 | 135,078 | 136,760 | 2.585812 | 2.081307 | 2.948143 | 2.984853 | 2.561055 | 2.609272 | 2.057854 | 2.105305 |
flores | null | N'Ko | nqo | N'Ko | Niger-Congo (Mande) | bigscience/bloom | 250,680 | true | 1,012 | 28,001 | 304,253 | 168,122 | 305,371 | 10.865791 | 8.74582 | 0.552573 | 1.003675 | 10.797415 | 10.939952 | 8.664591 | 8.825306 |
flores | null | Oromo | gaz | Latin | Afro-Asiatic (Cushitic) | bigscience/bloom | 250,680 | true | 1,012 | 19,735 | 59,817 | 156,418 | 158,823 | 3.031011 | 2.439645 | 2.614942 | 2.655148 | 3.011571 | 3.050881 | 2.418467 | 2.464158 |
flores | null | Sesotho | sot | Latin | Niger-Congo (Bantu) | bigscience/bloom | 250,680 | true | 1,012 | 29,013 | 53,620 | 158,732 | 159,027 | 1.848137 | 1.487556 | 2.960313 | 2.965815 | 1.837654 | 1.859491 | 1.473823 | 1.501063 |
flores | null | Shona | sna | Latin | Niger-Congo (Bantu) | bigscience/bloom | 250,680 | true | 1,012 | 17,421 | 49,412 | 147,603 | 147,622 | 2.836347 | 2.282961 | 2.987189 | 2.987574 | 2.815662 | 2.857867 | 2.260669 | 2.307059 |
flores | null | Swahili | swh | Latin | Niger-Congo (Bantu) | bigscience/bloom | 250,680 | true | 1,012 | 21,329 | 34,118 | 138,104 | 138,308 | 1.599606 | 1.287515 | 4.047834 | 4.053813 | 1.586229 | 1.612202 | 1.273826 | 1.301963 |
flores | null | Tigrinya | tir | Ethiopic | Afro-Asiatic (Semitic) | bigscience/bloom | 250,680 | true | 1,012 | 19,378 | 140,478 | 90,700 | 231,799 | 7.249355 | 5.834969 | 0.645653 | 1.650073 | 7.20012 | 7.295578 | 5.780662 | 5.889557 |
flores | null | Wolof | wol | Latin | Niger-Congo (Atlantic) | bigscience/bloom | 250,680 | true | 1,012 | 25,204 | 46,231 | 127,173 | 132,204 | 1.834272 | 1.476397 | 2.750817 | 2.85964 | 1.823029 | 1.846308 | 1.463715 | 1.491376 |
flores | null | Xhosa | xho | Latin | Niger-Congo (Bantu) | bigscience/bloom | 250,680 | true | 1,012 | 16,303 | 45,474 | 139,123 | 139,244 | 2.789303 | 2.245096 | 3.059397 | 3.062057 | 2.766163 | 2.81564 | 2.22077 | 2.269368 |
flores | null | Yoruba | yor | Latin | Niger-Congo (Volta-Niger) | bigscience/bloom | 250,680 | true | 1,012 | 25,321 | 42,899 | 125,422 | 167,693 | 1.694206 | 1.363658 | 2.923658 | 3.909019 | 1.679245 | 1.709895 | 1.348165 | 1.381103 |
flores | null | Zulu | zul | Latin | Niger-Congo (Bantu) | bigscience/bloom | 250,680 | true | 1,012 | 16,737 | 47,937 | 147,949 | 148,177 | 2.864133 | 2.305326 | 3.086322 | 3.091078 | 2.841934 | 2.887257 | 2.282419 | 2.329528 |
flores | null | Afrikaans | afr | Latin | Indo-European (Germanic) | cohere/aya-expanse | 255,000 | true | 1,012 | 23,268 | 40,436 | 139,690 | 141,292 | 1.737837 | 1.422699 | 3.454595 | 3.494213 | 1.724464 | 1.753141 | 1.406076 | 1.440106 |
flores | null | Akan/Twi | aka | Latin | Niger-Congo (Kwa) | cohere/aya-expanse | 255,000 | true | 1,012 | 26,157 | 57,377 | 128,597 | 138,764 | 2.193562 | 1.795783 | 2.241264 | 2.41846 | 2.178749 | 2.208353 | 1.776883 | 1.815516 |
flores | null | Amharic | amh | Ethiopic | Afro-Asiatic (Semitic) | cohere/aya-expanse | 255,000 | true | 1,012 | 17,315 | 170,369 | 87,132 | 225,450 | 9.839388 | 8.05512 | 0.511431 | 1.323304 | 9.774886 | 9.90525 | 7.972019 | 8.140151 |
flores | null | Bambara | bam | Latin | Niger-Congo (Mande) | cohere/aya-expanse | 255,000 | true | 1,012 | 22,641 | 57,406 | 126,349 | 137,527 | 2.535489 | 2.075705 | 2.200972 | 2.39569 | 2.512181 | 2.561415 | 2.049961 | 2.101907 |
flores | null | English | eng | Latin | Indo-European (Germanic) | cohere/aya-expanse | 255,000 | true | 1,012 | 22,067 | 26,955 | 131,966 | 132,096 | 1.221507 | null | 4.895789 | 4.900612 | 1.212253 | 1.231518 | null | null |
flores | null | French | fra | Latin | Indo-European (Romance) | cohere/aya-expanse | 255,000 | true | 1,012 | 25,539 | 36,246 | 157,638 | 163,927 | 1.419241 | 1.161877 | 4.349114 | 4.522623 | 1.408443 | 1.430362 | 1.148877 | 1.175487 |
flores | null | Hausa | hau | Latin | Afro-Asiatic (Chadic) | cohere/aya-expanse | 255,000 | true | 1,012 | 25,301 | 49,700 | 139,967 | 141,601 | 1.964349 | 1.608136 | 2.816237 | 2.849115 | 1.951391 | 1.977509 | 1.592045 | 1.624688 |
flores | null | Igbo | ibo | Latin | Niger-Congo (Volta-Niger) | cohere/aya-expanse | 255,000 | true | 1,012 | 25,814 | 64,905 | 134,449 | 160,909 | 2.514333 | 2.058386 | 2.071474 | 2.479146 | 2.49354 | 2.533621 | 2.034668 | 2.082769 |
flores | null | Kinyarwanda | kin | Latin | Niger-Congo (Bantu) | cohere/aya-expanse | 255,000 | true | 1,012 | 20,103 | 54,576 | 145,862 | 149,150 | 2.714819 | 2.222515 | 2.67264 | 2.732886 | 2.693236 | 2.736902 | 2.196957 | 2.247591 |
flores | null | Lingala | lin | Latin | Niger-Congo (Bantu) | cohere/aya-expanse | 255,000 | true | 1,012 | 24,071 | 48,231 | 142,197 | 142,387 | 2.003697 | 1.640348 | 2.948249 | 2.952188 | 1.993074 | 2.014654 | 1.624234 | 1.656647 |
flores | null | Luganda | lug | Latin | Niger-Congo (Bantu) | cohere/aya-expanse | 255,000 | true | 1,012 | 17,719 | 50,707 | 135,078 | 136,760 | 2.86173 | 2.342786 | 2.663893 | 2.697064 | 2.835817 | 2.886745 | 2.31562 | 2.371679 |
flores | null | N'Ko | nqo | N'Ko | Niger-Congo (Mande) | cohere/aya-expanse | 255,000 | true | 1,012 | 28,001 | 304,208 | 168,122 | 305,371 | 10.864183 | 8.89408 | 0.552655 | 1.003823 | 10.795595 | 10.937975 | 8.804474 | 8.98592 |
flores | null | Oromo | gaz | Latin | Afro-Asiatic (Cushitic) | cohere/aya-expanse | 255,000 | true | 1,012 | 19,735 | 58,771 | 156,418 | 158,823 | 2.978009 | 2.437979 | 2.661483 | 2.702404 | 2.958383 | 2.997709 | 2.412604 | 2.463519 |
flores | null | Sesotho | sot | Latin | Niger-Congo (Bantu) | cohere/aya-expanse | 255,000 | true | 1,012 | 29,013 | 57,088 | 158,732 | 159,027 | 1.96767 | 1.610854 | 2.780479 | 2.785647 | 1.956547 | 1.980219 | 1.594234 | 1.627985 |
flores | null | Shona | sna | Latin | Niger-Congo (Bantu) | cohere/aya-expanse | 255,000 | true | 1,012 | 17,421 | 52,730 | 147,603 | 147,622 | 3.026807 | 2.477928 | 2.799222 | 2.799583 | 3.003459 | 3.048871 | 2.450541 | 2.505767 |
flores | null | Swahili | swh | Latin | Niger-Congo (Bantu) | cohere/aya-expanse | 255,000 | true | 1,012 | 21,329 | 48,914 | 138,104 | 138,308 | 2.29331 | 1.877442 | 2.823404 | 2.827575 | 2.278561 | 2.309811 | 1.85885 | 1.897673 |
flores | null | Tigrinya | tir | Ethiopic | Afro-Asiatic (Semitic) | cohere/aya-expanse | 255,000 | true | 1,012 | 19,378 | 174,697 | 90,700 | 231,799 | 9.015223 | 7.380409 | 0.519185 | 1.326863 | 8.958083 | 9.068886 | 7.305117 | 7.455399 |
flores | null | Wolof | wol | Latin | Niger-Congo (Atlantic) | cohere/aya-expanse | 255,000 | true | 1,012 | 25,204 | 48,957 | 127,173 | 132,204 | 1.94243 | 1.590191 | 2.597647 | 2.700411 | 1.929944 | 1.95565 | 1.572883 | 1.606801 |
flores | null | Xhosa | xho | Latin | Niger-Congo (Bantu) | cohere/aya-expanse | 255,000 | true | 1,012 | 16,303 | 52,322 | 139,123 | 139,244 | 3.209348 | 2.627367 | 2.658977 | 2.66129 | 3.181047 | 3.238288 | 2.596948 | 2.66025 |
flores | null | Yoruba | yor | Latin | Niger-Congo (Volta-Niger) | cohere/aya-expanse | 255,000 | true | 1,012 | 25,321 | 69,767 | 125,422 | 167,693 | 2.755302 | 2.255657 | 1.797727 | 2.403615 | 2.720977 | 2.791804 | 2.219614 | 2.288859 |
flores | null | Zulu | zul | Latin | Niger-Congo (Bantu) | cohere/aya-expanse | 255,000 | true | 1,012 | 16,737 | 55,175 | 147,949 | 148,177 | 3.296588 | 2.698787 | 2.68145 | 2.685582 | 3.271019 | 3.322783 | 2.672123 | 2.729926 |
flores | null | Afrikaans | afr | Latin | Indo-European (Germanic) | deepseek/v3 | 128,000 | true | 1,012 | 23,268 | 44,134 | 139,690 | 141,292 | 1.896768 | 1.547871 | 3.165133 | 3.201432 | 1.883055 | 1.912228 | 1.5324 | 1.564082 |
flores | null | Akan/Twi | aka | Latin | Niger-Congo (Kwa) | deepseek/v3 | 128,000 | true | 1,012 | 26,157 | 58,559 | 128,597 | 138,764 | 2.238751 | 1.826948 | 2.196025 | 2.369644 | 2.224551 | 2.253441 | 1.809781 | 1.845544 |
flores | null | Amharic | amh | Ethiopic | Afro-Asiatic (Semitic) | deepseek/v3 | 128,000 | true | 1,012 | 17,315 | 161,525 | 87,132 | 225,450 | 9.328617 | 7.612684 | 0.539434 | 1.395759 | 9.268988 | 9.389782 | 7.541905 | 7.686334 |
flores | null | Bambara | bam | Latin | Niger-Congo (Mande) | deepseek/v3 | 128,000 | true | 1,012 | 22,641 | 59,092 | 126,349 | 137,527 | 2.609955 | 2.129873 | 2.138174 | 2.327337 | 2.585679 | 2.636944 | 2.105528 | 2.156409 |
flores | null | English | eng | Latin | Indo-European (Germanic) | deepseek/v3 | 128,000 | true | 1,012 | 22,067 | 27,041 | 131,966 | 132,096 | 1.225404 | null | 4.880219 | 4.885026 | 1.21673 | 1.234194 | null | null |
flores | null | French | fra | Latin | Indo-European (Romance) | deepseek/v3 | 128,000 | true | 1,012 | 25,539 | 41,785 | 157,638 | 163,927 | 1.636125 | 1.335172 | 3.772598 | 3.923106 | 1.624407 | 1.648268 | 1.32223 | 1.349508 |
flores | null | Hausa | hau | Latin | Afro-Asiatic (Chadic) | deepseek/v3 | 128,000 | true | 1,012 | 25,301 | 52,486 | 139,967 | 141,601 | 2.074463 | 1.692881 | 2.666749 | 2.697881 | 2.060994 | 2.088422 | 1.677594 | 1.70947 |
flores | null | Igbo | ibo | Latin | Niger-Congo (Volta-Niger) | deepseek/v3 | 128,000 | true | 1,012 | 25,814 | 65,411 | 134,449 | 160,909 | 2.533935 | 2.067836 | 2.055449 | 2.459969 | 2.514513 | 2.551886 | 2.046337 | 2.090571 |
flores | null | Kinyarwanda | kin | Latin | Niger-Congo (Bantu) | deepseek/v3 | 128,000 | true | 1,012 | 20,103 | 57,448 | 145,862 | 149,150 | 2.857683 | 2.332032 | 2.539027 | 2.596261 | 2.833719 | 2.879585 | 2.30845 | 2.357059 |
flores | null | Lingala | lin | Latin | Niger-Congo (Bantu) | deepseek/v3 | 128,000 | true | 1,012 | 24,071 | 50,449 | 142,197 | 142,387 | 2.095841 | 1.710326 | 2.818629 | 2.822395 | 2.085147 | 2.107069 | 1.694645 | 1.72637 |
flores | null | Luganda | lug | Latin | Niger-Congo (Bantu) | deepseek/v3 | 128,000 | true | 1,012 | 17,719 | 52,596 | 135,078 | 136,760 | 2.968339 | 2.422334 | 2.568218 | 2.600198 | 2.939079 | 2.995122 | 2.395938 | 2.450326 |
flores | null | N'Ko | nqo | N'Ko | Niger-Congo (Mande) | deepseek/v3 | 128,000 | true | 1,012 | 28,001 | 304,231 | 168,122 | 305,371 | 10.865005 | 8.866464 | 0.552613 | 1.003747 | 10.796556 | 10.938823 | 8.780765 | 8.952348 |
flores | null | Oromo | gaz | Latin | Afro-Asiatic (Cushitic) | deepseek/v3 | 128,000 | true | 1,012 | 19,735 | 62,774 | 156,418 | 158,823 | 3.180846 | 2.595752 | 2.491764 | 2.530076 | 3.160354 | 3.20099 | 2.571231 | 2.622141 |
flores | null | Sesotho | sot | Latin | Niger-Congo (Bantu) | deepseek/v3 | 128,000 | true | 1,012 | 29,013 | 59,263 | 158,732 | 159,027 | 2.042636 | 1.666908 | 2.678433 | 2.683411 | 2.030578 | 2.055806 | 1.651271 | 1.68276 |
flores | null | Shona | sna | Latin | Niger-Congo (Bantu) | deepseek/v3 | 128,000 | true | 1,012 | 17,421 | 56,442 | 147,603 | 147,622 | 3.239883 | 2.643929 | 2.615127 | 2.615464 | 3.215496 | 3.264491 | 2.615668 | 2.671256 |
flores | null | Swahili | swh | Latin | Niger-Congo (Bantu) | deepseek/v3 | 128,000 | true | 1,012 | 21,329 | 52,470 | 138,104 | 138,308 | 2.460031 | 2.007526 | 2.632056 | 2.635944 | 2.44415 | 2.47709 | 1.988299 | 2.026784 |
flores | null | Tigrinya | tir | Ethiopic | Afro-Asiatic (Semitic) | deepseek/v3 | 128,000 | true | 1,012 | 19,378 | 165,487 | 90,700 | 231,799 | 8.539942 | 6.96908 | 0.548079 | 1.400708 | 8.486956 | 8.591008 | 6.905351 | 7.030382 |
flores | null | Wolof | wol | Latin | Niger-Congo (Atlantic) | deepseek/v3 | 128,000 | true | 1,012 | 25,204 | 50,896 | 127,173 | 132,204 | 2.019362 | 1.647915 | 2.498684 | 2.597532 | 2.007053 | 2.031902 | 1.630855 | 1.663603 |
flores | null | Xhosa | xho | Latin | Niger-Congo (Bantu) | deepseek/v3 | 128,000 | true | 1,012 | 16,303 | 55,280 | 139,123 | 139,244 | 3.390787 | 2.767076 | 2.516697 | 2.518886 | 3.36091 | 3.422833 | 2.736367 | 2.799458 |
flores | null | Yoruba | yor | Latin | Niger-Congo (Volta-Niger) | deepseek/v3 | 128,000 | true | 1,012 | 25,321 | 76,042 | 125,422 | 167,693 | 3.00312 | 2.450717 | 1.649378 | 2.205268 | 2.96345 | 3.045478 | 2.408728 | 2.487826 |
flores | null | Zulu | zul | Latin | Niger-Congo (Bantu) | deepseek/v3 | 128,000 | true | 1,012 | 16,737 | 58,914 | 147,949 | 148,177 | 3.519986 | 2.872509 | 2.511271 | 2.515141 | 3.491851 | 3.547575 | 2.844071 | 2.904605 |
flores | null | Afrikaans | afr | Latin | Indo-European (Germanic) | google/gemma-4 | 262,144 | true | 1,012 | 23,268 | 41,222 | 139,690 | 141,292 | 1.771618 | 1.441849 | 3.388724 | 3.427587 | 1.758153 | 1.787326 | 1.425265 | 1.458956 |
flores | null | Akan/Twi | aka | Latin | Niger-Congo (Kwa) | google/gemma-4 | 262,144 | true | 1,012 | 26,157 | 52,735 | 128,597 | 138,764 | 2.016095 | 1.640819 | 2.438551 | 2.631345 | 2.001534 | 2.030516 | 1.621852 | 1.660955 |
flores | null | Amharic | amh | Ethiopic | Afro-Asiatic (Semitic) | google/gemma-4 | 262,144 | true | 1,012 | 17,315 | 52,552 | 87,132 | 225,450 | 3.035056 | 2.470111 | 1.658015 | 4.290037 | 3.010412 | 3.060198 | 2.441344 | 2.499358 |
flores | null | Bambara | bam | Latin | Niger-Congo (Mande) | google/gemma-4 | 262,144 | true | 1,012 | 22,641 | 56,375 | 126,349 | 137,527 | 2.489952 | 2.026472 | 2.241224 | 2.439503 | 2.466426 | 2.51555 | 2.001118 | 2.053014 |
flores | null | English | eng | Latin | Indo-European (Germanic) | google/gemma-4 | 262,144 | true | 1,012 | 22,067 | 27,114 | 131,966 | 132,096 | 1.228713 | null | 4.86708 | 4.871874 | 1.219015 | 1.239151 | null | null |
flores | null | French | fra | Latin | Indo-European (Romance) | google/gemma-4 | 262,144 | true | 1,012 | 25,539 | 38,180 | 157,638 | 163,927 | 1.494968 | 1.216695 | 4.128811 | 4.293531 | 1.48226 | 1.508523 | 1.20237 | 1.231339 |
flores | null | Hausa | hau | Latin | Afro-Asiatic (Chadic) | google/gemma-4 | 262,144 | true | 1,012 | 25,301 | 46,837 | 139,967 | 141,601 | 1.851192 | 1.506611 | 2.988385 | 3.023272 | 1.839065 | 1.863749 | 1.490699 | 1.522848 |
flores | null | Igbo | ibo | Latin | Niger-Congo (Volta-Niger) | google/gemma-4 | 262,144 | true | 1,012 | 25,814 | 58,695 | 134,449 | 160,909 | 2.273766 | 1.850527 | 2.290638 | 2.741443 | 2.254898 | 2.292209 | 1.829543 | 1.872414 |
flores | null | Kinyarwanda | kin | Latin | Niger-Congo (Bantu) | google/gemma-4 | 262,144 | true | 1,012 | 20,103 | 53,301 | 145,862 | 149,150 | 2.651395 | 2.157865 | 2.736572 | 2.798259 | 2.62939 | 2.673159 | 2.131639 | 2.182394 |
flores | null | Lingala | lin | Latin | Niger-Congo (Bantu) | google/gemma-4 | 262,144 | true | 1,012 | 24,071 | 46,762 | 142,197 | 142,387 | 1.94267 | 1.581061 | 3.040867 | 3.04493 | 1.932026 | 1.953972 | 1.564144 | 1.597355 |
flores | null | Luganda | lug | Latin | Niger-Congo (Bantu) | google/gemma-4 | 262,144 | true | 1,012 | 17,719 | 49,431 | 135,078 | 136,760 | 2.789717 | 2.270439 | 2.732658 | 2.766685 | 2.763802 | 2.813619 | 2.242437 | 2.299896 |
flores | null | N'Ko | nqo | N'Ko | Niger-Congo (Mande) | google/gemma-4 | 262,144 | true | 1,012 | 28,001 | 300,315 | 168,122 | 305,371 | 10.725153 | 8.728773 | 0.559819 | 1.016836 | 10.656928 | 10.798616 | 8.638014 | 8.825149 |
flores | null | Oromo | gaz | Latin | Afro-Asiatic (Cushitic) | google/gemma-4 | 262,144 | true | 1,012 | 19,735 | 57,633 | 156,418 | 158,823 | 2.920345 | 2.376752 | 2.714035 | 2.755765 | 2.902521 | 2.939219 | 2.351856 | 2.402312 |
flores | null | Sesotho | sot | Latin | Niger-Congo (Bantu) | google/gemma-4 | 262,144 | true | 1,012 | 29,013 | 54,546 | 158,732 | 159,027 | 1.880054 | 1.530101 | 2.910058 | 2.915466 | 1.8685 | 1.892211 | 1.513663 | 1.547108 |
flores | null | Shona | sna | Latin | Niger-Congo (Bantu) | google/gemma-4 | 262,144 | true | 1,012 | 17,421 | 50,778 | 147,603 | 147,622 | 2.914758 | 2.372205 | 2.90683 | 2.907204 | 2.891278 | 2.93686 | 2.344538 | 2.400136 |
flores | null | Swahili | swh | Latin | Niger-Congo (Bantu) | google/gemma-4 | 262,144 | true | 1,012 | 21,329 | 44,433 | 138,104 | 138,308 | 2.08322 | 1.695449 | 3.10814 | 3.112732 | 2.068592 | 2.099618 | 1.67683 | 1.715779 |
flores | null | Tigrinya | tir | Ethiopic | Afro-Asiatic (Semitic) | google/gemma-4 | 262,144 | true | 1,012 | 19,378 | 67,131 | 90,700 | 231,799 | 3.464289 | 2.819447 | 1.35109 | 3.452935 | 3.442736 | 3.483542 | 2.790839 | 2.8472 |
flores | null | Wolof | wol | Latin | Niger-Congo (Atlantic) | google/gemma-4 | 262,144 | true | 1,012 | 25,204 | 48,114 | 127,173 | 132,204 | 1.908983 | 1.553645 | 2.64316 | 2.747724 | 1.896886 | 1.921474 | 1.536423 | 1.570879 |
flores | null | Xhosa | xho | Latin | Niger-Congo (Bantu) | google/gemma-4 | 262,144 | true | 1,012 | 16,303 | 51,204 | 139,123 | 139,244 | 3.140772 | 2.556148 | 2.717034 | 2.719397 | 3.114353 | 3.169055 | 2.526785 | 2.588625 |
flores | null | Yoruba | yor | Latin | Niger-Congo (Volta-Niger) | google/gemma-4 | 262,144 | true | 1,012 | 25,321 | 64,506 | 125,422 | 167,693 | 2.54753 | 2.073333 | 1.944346 | 2.59965 | 2.517006 | 2.580139 | 2.041225 | 2.104686 |
flores | null | Zulu | zul | Latin | Niger-Congo (Bantu) | google/gemma-4 | 262,144 | true | 1,012 | 16,737 | 53,281 | 147,949 | 148,177 | 3.183426 | 2.590863 | 2.776768 | 2.781048 | 3.159258 | 3.206471 | 2.563703 | 2.621076 |
flores | null | Afrikaans | afr | Latin | Indo-European (Germanic) | meta/llama-3.1 | 128,000 | true | 1,012 | 23,268 | 45,677 | 139,690 | 141,292 | 1.963082 | 1.594323 | 3.058213 | 3.093285 | 1.94878 | 1.979985 | 1.578456 | 1.611365 |
flores | null | Akan/Twi | aka | Latin | Niger-Congo (Kwa) | meta/llama-3.1 | 128,000 | true | 1,012 | 26,157 | 67,742 | 128,597 | 138,764 | 2.589823 | 2.103332 | 1.898335 | 2.048419 | 2.569524 | 2.610086 | 2.08214 | 2.127039 |
flores | null | Amharic | amh | Ethiopic | Afro-Asiatic (Semitic) | meta/llama-3.1 | 128,000 | true | 1,012 | 17,315 | 206,128 | 87,132 | 225,450 | 11.904591 | 9.668346 | 0.422708 | 1.093738 | 11.823211 | 11.988938 | 9.574012 | 9.766862 |
flores | null | Bambara | bam | Latin | Niger-Congo (Mande) | meta/llama-3.1 | 128,000 | true | 1,012 | 22,641 | 68,306 | 126,349 | 137,527 | 3.016916 | 2.450197 | 1.84975 | 2.013396 | 2.985783 | 3.05101 | 2.420163 | 2.481484 |
flores | null | English | eng | Latin | Indo-European (Germanic) | meta/llama-3.1 | 128,000 | true | 1,012 | 22,067 | 27,171 | 131,966 | 132,096 | 1.231296 | null | 4.856869 | 4.861654 | 1.222582 | 1.239916 | null | null |
flores | null | French | fra | Latin | Indo-European (Romance) | meta/llama-3.1 | 128,000 | true | 1,012 | 25,539 | 43,472 | 157,638 | 163,927 | 1.702181 | 1.382431 | 3.626196 | 3.770864 | 1.690852 | 1.713299 | 1.369217 | 1.396399 |
flores | null | Hausa | hau | Latin | Afro-Asiatic (Chadic) | meta/llama-3.1 | 128,000 | true | 1,012 | 25,301 | 53,521 | 139,967 | 141,601 | 2.115371 | 1.718004 | 2.615179 | 2.645709 | 2.100604 | 2.130679 | 1.701669 | 1.734864 |
flores | null | Igbo | ibo | Latin | Niger-Congo (Volta-Niger) | meta/llama-3.1 | 128,000 | true | 1,012 | 25,814 | 65,187 | 134,449 | 160,909 | 2.525258 | 2.050895 | 2.062512 | 2.468422 | 2.505077 | 2.543884 | 2.028972 | 2.072471 |
flores | null | Kinyarwanda | kin | Latin | Niger-Congo (Bantu) | meta/llama-3.1 | 128,000 | true | 1,012 | 20,103 | 57,424 | 145,862 | 149,150 | 2.856489 | 2.319905 | 2.540088 | 2.597346 | 2.83193 | 2.878861 | 2.295725 | 2.344165 |
flores | null | Lingala | lin | Latin | Niger-Congo (Bantu) | meta/llama-3.1 | 128,000 | true | 1,012 | 24,071 | 50,550 | 142,197 | 142,387 | 2.100037 | 1.705551 | 2.812997 | 2.816756 | 2.089071 | 2.111005 | 1.689836 | 1.721575 |
flores | null | Luganda | lug | Latin | Niger-Congo (Bantu) | meta/llama-3.1 | 128,000 | true | 1,012 | 17,719 | 52,666 | 135,078 | 136,760 | 2.97229 | 2.413953 | 2.564805 | 2.596742 | 2.944459 | 3.000172 | 2.387458 | 2.442693 |
flores | null | N'Ko | nqo | N'Ko | Niger-Congo (Mande) | meta/llama-3.1 | 128,000 | true | 1,012 | 28,001 | 304,231 | 168,122 | 305,371 | 10.865005 | 8.824043 | 0.552613 | 1.003747 | 10.796486 | 10.93868 | 8.739263 | 8.909354 |
flores | null | Oromo | gaz | Latin | Afro-Asiatic (Cushitic) | meta/llama-3.1 | 128,000 | true | 1,012 | 19,735 | 62,498 | 156,418 | 158,823 | 3.166861 | 2.571975 | 2.502768 | 2.541249 | 3.146125 | 3.186949 | 2.548506 | 2.599467 |
flores | null | Sesotho | sot | Latin | Niger-Congo (Bantu) | meta/llama-3.1 | 128,000 | true | 1,012 | 29,013 | 59,510 | 158,732 | 159,027 | 2.051149 | 1.665847 | 2.667316 | 2.672274 | 2.039057 | 2.064256 | 1.65052 | 1.681893 |
flores | null | Shona | sna | Latin | Niger-Congo (Bantu) | meta/llama-3.1 | 128,000 | true | 1,012 | 17,421 | 56,429 | 147,603 | 147,622 | 3.239137 | 2.630673 | 2.61573 | 2.616066 | 3.215211 | 3.263017 | 2.603184 | 2.659309 |
flores | null | Swahili | swh | Latin | Niger-Congo (Bantu) | meta/llama-3.1 | 128,000 | true | 1,012 | 21,329 | 52,460 | 138,104 | 138,308 | 2.459562 | 1.99754 | 2.632558 | 2.636447 | 2.444366 | 2.475469 | 1.97863 | 2.016575 |
Measurement dataset for The African Language Tax — the first systematic audit of the subword tokenization penalty imposed on African languages by frontier large language models.
Every row is one (language, tokenizer, corpus) triple, with fertility, English-relative premium, and confidence intervals computed from a parallel corpus using sum-then-divide aggregation.
| Property | Value |
|---|---|
| Rows | 616 |
| Languages | 22 (20 African + English + French baselines) |
| Tokenizers | 11 |
| Corpora | 3 (FLORES-200+, SIB-200, MAFAND-MT) |
| File size | ~58 KB |
| Format | Parquet |
| Tool | afri-fertility |
| Paper | arXiv 2606.24460 |
import pandas as pd
from datasets import load_dataset
# Via HuggingFace datasets
ds = load_dataset("CipherSenseAI/afri-fertility-results")
df = ds["train"].to_pandas()
# Or directly as parquet
df = pd.read_parquet("hf://datasets/CipherSenseAI/afri-fertility-results/data/results.parquet")
| Column | Type | Description |
|---|---|---|
corpus |
str | Source corpus: flores, sib200, or mafand |
domain |
str | Text domain (where applicable) |
language |
str | Language display name |
iso639_3 |
str | ISO 639-3 code |
script |
str | Writing script: Latin, Ethiopic, N'Ko |
family |
str | Language family |
tokenizer |
str | Tokenizer identifier (e.g. openai/o200k_base) |
vocab_size |
int | Tokenizer vocabulary size |
inspectable |
bool | Whether subword segmentation is accessible |
n_sentences |
int | Number of parallel sentences in the corpus slice |
n_words |
int | Total word count (UAX-29 word boundaries) |
n_tokens |
int | Total subword token count |
n_chars |
int | Total character count (NFC) |
n_bytes |
int | Total UTF-8 byte count |
fertility |
float | n_tokens / n_words — subword tokens per word |
premium |
float | fertility(L,T) / fertility(English,T) — English-relative multiplier |
cpt |
float | Characters per token |
bpt |
float | Bytes per token |
fertility_ci_low |
float | Bootstrap 95% CI lower bound for fertility |
fertility_ci_high |
float | Bootstrap 95% CI upper bound for fertility |
premium_ci_low |
float | Bootstrap 95% CI lower bound for premium |
premium_ci_high |
float | Bootstrap 95% CI upper bound for premium |
| Language | ISO | Script | Tier |
|---|---|---|---|
| Yoruba | yor | Latin | Core |
| Hausa | hau | Latin | Core |
| Igbo | ibo | Latin | Core |
| Wolof | wol | Latin | Core |
| Swahili | swh | Latin | Core |
| Amharic | amh | Ethiopic | Core |
| Zulu | zul | Latin | Breadth |
| Xhosa | xho | Latin | Breadth |
| Shona | sna | Latin | Breadth |
| Kinyarwanda | kin | Latin | Breadth |
| Luganda | lug | Latin | Breadth |
| Akan/Twi | aka | Latin | Breadth |
| Lingala | lin | Latin | Breadth |
| Oromo | gaz | Latin | Breadth |
| Nigerian Pidgin | pcm | Latin | Breadth |
| Sesotho | sot | Latin | Breadth |
| Bambara | bam | Latin | Breadth |
| N'Ko | nqo | N'Ko | Non-Latin |
| Tigrinya | tir | Ethiopic | Non-Latin |
| Afrikaans | afr | Latin | Control |
| English | eng | Latin | Baseline |
| French | fra | Latin | Baseline |
| Tokenizer ID | Model family | Vocab size |
|---|---|---|
openai/o200k_base |
GPT-5 / o-series | 200k |
openai/o200k_harmony |
gpt-oss open weights | 201k |
openai/cl100k_base |
GPT-4 (legacy) | 100k |
meta/llama-3.1 |
Llama 3.1 | 128k |
meta/llama-4 |
Llama 4 Scout/Maverick | ~200k |
google/gemma-4 |
Gemma 4 | 262k |
mistral/tekken |
Mistral / Tekken | 131k |
deepseek/v3 |
DeepSeek V3 | 128k |
bigscience/bloom |
BLOOM | 251k |
cohere/aya-expanse |
Aya Expanse | 256k |
qwen/qwen3 |
Qwen 3 | 152k |
Results are fully reproducible using the open-source afri-fertility tool:
pip install afri-fertility
afri-fertility reproduce # runs offline reference suite, prints headline numbers
Full study replication (requires HuggingFace token for gated models):
git clone https://github.com/CipherSenseAI/afri-fertility
cd afri-fertility
pip install -e ".[dev]"
afri-fertility run configs/study_main.yaml
@article{somide2026africanlanguagetax,
title = {The African Language Tax: Quantifying the Cost, Latency, and Context
Penalty of Tokenizing African Languages in Frontier LLMs},
author = {Somide, Olaoye Anthony},
year = {2026},
journal = {arXiv preprint arXiv:2606.24460},
url = {https://arxiv.org/abs/2606.24460}
}
Data: Apache 2.0. Source corpora: FLORES-200+ (CC-BY-SA-4.0), SIB-200 (CC-BY-SA-4.0), MAFAND-MT (per-dataset Masakhane licences).