summerAI/O
Research / Tokenizer

Every language.
Fewer tokens.

Explore Custom Global 264K. Inspect multilingual token boundaries, IDs and compression directly in your browser. Your text never leaves this page.

Loading model…

Vocabulary264,498
Tokens—
UTF-8 bytes—
Bytes / token—

0 Unicode code points · up to 50,000 UTF-16 code units per input.

Token visualization

Waiting for model
One colored block = one token
Loading tokenizer…

Colors distinguish neighboring tokens. Partial UTF-8 pieces appear as hex bytes.

No BOS/EOS tokens are inserted automatically. Literal special tokens are recognized. Textarea input follows browser newline normalization.

Research / Evaluation

Global Tokenizer Benchmark

A comparison across 68 domains, 2,434 held-out documents and 10.815 MB of UTF-8 text.

Fewer tokens vs. BKO329.85%Same 264,498 vocabulary size
Domains won57 / 68Custom Global vs. BKO3
Exact roundtrip100%All six tokenizers

Global Tokenizer Championship

Total tokens · Lower is better

Custom Global 264,4982,469,598 (best)
kototok BKO33,520,385
kototok Strict3,553,917
kototok Balanced3,748,609
kototok Compress3,833,543
Custom 64K4,345,877

Tokenizer Encoding Speed

MB/s · Higher is better · Median of 3 runs

kototok Strict5.99 (best)
kototok Balanced5.94
kototok BKO35.45
kototok Compress5.40
Custom Global 264,4984.85
Custom 64K4.49
Global Multi-Domain Benchmark 68 domains × 6 tokenizers
All tokenizers — lower is better; gold = lowest token count in this comparison.
DomainCustom 64K65,536 vocabCustom Global 264,498264,498 vocabkototok Strict281,630 vocabkototok Balanced281,630 vocabkototok Compress281,630 vocabkototok BKO3264,498 vocab
English-Edu337,845318,645282,991 (best)319,532319,628283,009
jpn_Jpan229,302206,269 (best)242,455224,173228,358219,283
cmn_Hani278,348228,938 (best)294,318299,601340,071289,075
kor_Hang420,900115,794 (best)182,139189,741225,173176,347
rus_Cyrl39,55515,799 (best)42,51743,90843,91342,517
deu_Latn29,32718,889 (best)25,89626,46226,47425,902
spa_Latn26,18718,651 (best)24,65625,78825,80724,659
fra_Latn26,11819,145 (best)24,66925,38425,40024,671
ita_Latn27,11919,163 (best)25,38825,97525,98425,393
por_Latn31,79420,770 (best)30,92931,65031,65530,921
pol_Latn39,44821,796 (best)33,76334,84134,94533,850
nld_Latn29,88519,331 (best)28,02628,57128,57228,026
ind_Latn30,34816,451 (best)28,97029,74529,75628,974
vie_Latn45,91716,638 (best)37,04237,89437,89437,040
fas_Arab59,42913,058 (best)39,83640,20342,39739,948
arb_Arab52,35815,073 (best)38,77339,31039,87938,897
tur_Latn36,00218,171 (best)31,97732,61932,62131,976
tha_Thai51,93515,361 (best)28,60628,72228,72328,606
ukr_Cyrl33,59212,939 (best)32,06733,09533,09532,067
ell_Grek52,10015,758 (best)45,04345,88446,00045,098
ces_Latn38,46021,179 (best)35,99936,97136,99136,014
swe_Latn29,46018,019 (best)27,48528,02428,04127,493
hun_Latn39,94421,768 (best)36,63437,66437,68536,651
ron_Latn31,81018,788 (best)27,73828,54128,55427,746
nob_Latn28,38017,923 (best)26,55927,05827,06526,553
dan_Latn31,64620,231 (best)29,73530,41730,42229,738
bul_Cyrl29,98414,489 (best)29,41730,85930,86129,417
fin_Latn29,35212,279 (best)27,45527,56927,57127,457
hin_Deva29,13519,827 (best)31,27531,51831,51931,275
ben_Beng58,49621,048 (best)34,37034,64034,64034,370
slk_Latn37,85221,036 (best)35,36836,25336,29435,402
heb_Hebr111,52022,804 (best)61,04862,68362,68461,048
lit_Latn34,21418,867 (best)29,94330,59830,61729,951
bos_Latn33,41918,971 (best)30,83731,47131,47730,843
slv_Latn41,51122,884 (best)38,90739,61339,62838,918
ekk_Latn33,56620,254 (best)30,85431,60131,60730,853
cat_Latn27,10719,666 (best)25,50226,23226,25325,515
tam_Taml52,55721,365 (best)38,30938,77538,77538,309
hrv_Latn37,37921,398 (best)34,43035,17735,19734,448
lvs_Latn66,22335,793 (best)61,39062,45062,48161,409
zsm_Latn30,58317,984 (best)29,09529,84829,86629,109
azj_Latn45,13219,508 (best)40,82541,56041,57540,829
srp_Cyrl41,43615,545 (best)40,42441,77741,77740,424
kat_Geor72,1209,103 (best)28,85029,51529,51528,850
npi_Deva30,33920,200 (best)31,35731,46531,46531,357
mar_Deva29,24520,637 (best)28,62529,08029,08028,625
mal_Mlym75,92621,517 (best)44,61745,02445,02444,617
kaz_Cyrl39,89111,715 (best)38,24739,09339,09338,247
urd_Arab68,22814,637 (best)48,95249,15250,00749,010
als_Latn38,86718,562 (best)32,13332,73832,73932,134
mkd_Cyrl30,83412,052 (best)31,10531,95531,95731,105
tel_Telu79,34023,093 (best)61,31361,98261,98861,318
kan_Knda76,99221,171 (best)62,90263,37963,37962,902
mya_Mymr76,43918,487 (best)61,78061,84661,84661,780
guj_Gujr73,48019,603 (best)61,39161,77161,77161,391
khm_Khmr77,92921,245 (best)74,39174,42574,42574,391
lao_Laoo74,67614,266 (best)52,59452,87952,88152,596
swh_Latn33,03218,273 (best)30,12930,78430,79630,133
Mathematics248,410237,531217,826 (best)247,765247,980217,863
Code-Python79,25870,79958,525 (best)81,58281,60658,533
Code-C34,15931,43827,238 (best)33,76733,77827,239
Code-C++29,92626,59924,67732,47232,47324,675 (best)
Code-Rust29,20126,12823,41031,16531,16723,409 (best)
Code-Java63,16855,80851,720 (best)68,30968,32851,731
Code-JavaScript50,10041,71239,25851,91752,00839,219 (best)
Code-Go41,12638,31732,789 (best)41,64841,67132,793
Code-HTML36,42732,26330,68238,62938,68330,677 (best)
Code-SQL40,08936,17735,746 (best)41,87041,95835,759
Custom Global vs. kototok BKO3 Matched vocabulary size · 68 domains
Head-to-head — lower is better; gold = lowest token count in this comparison.
DomainCustom Global 264,498264,498 vocabkototok BKO3264,498 vocab
English-Edu318,645283,009 (best)
jpn_Jpan206,269 (best)219,283
cmn_Hani228,938 (best)289,075
kor_Hang115,794 (best)176,347
rus_Cyrl15,799 (best)42,517
deu_Latn18,889 (best)25,902
spa_Latn18,651 (best)24,659
fra_Latn19,145 (best)24,671
ita_Latn19,163 (best)25,393
por_Latn20,770 (best)30,921
pol_Latn21,796 (best)33,850
nld_Latn19,331 (best)28,026
ind_Latn16,451 (best)28,974
vie_Latn16,638 (best)37,040
fas_Arab13,058 (best)39,948
arb_Arab15,073 (best)38,897
tur_Latn18,171 (best)31,976
tha_Thai15,361 (best)28,606
ukr_Cyrl12,939 (best)32,067
ell_Grek15,758 (best)45,098
ces_Latn21,179 (best)36,014
swe_Latn18,019 (best)27,493
hun_Latn21,768 (best)36,651
ron_Latn18,788 (best)27,746
nob_Latn17,923 (best)26,553
dan_Latn20,231 (best)29,738
bul_Cyrl14,489 (best)29,417
fin_Latn12,279 (best)27,457
hin_Deva19,827 (best)31,275
ben_Beng21,048 (best)34,370
slk_Latn21,036 (best)35,402
heb_Hebr22,804 (best)61,048
lit_Latn18,867 (best)29,951
bos_Latn18,971 (best)30,843
slv_Latn22,884 (best)38,918
ekk_Latn20,254 (best)30,853
cat_Latn19,666 (best)25,515
tam_Taml21,365 (best)38,309
hrv_Latn21,398 (best)34,448
lvs_Latn35,793 (best)61,409
zsm_Latn17,984 (best)29,109
azj_Latn19,508 (best)40,829
srp_Cyrl15,545 (best)40,424
kat_Geor9,103 (best)28,850
npi_Deva20,200 (best)31,357
mar_Deva20,637 (best)28,625
mal_Mlym21,517 (best)44,617
kaz_Cyrl11,715 (best)38,247
urd_Arab14,637 (best)49,010
als_Latn18,562 (best)32,134
mkd_Cyrl12,052 (best)31,105
tel_Telu23,093 (best)61,318
kan_Knda21,171 (best)62,902
mya_Mymr18,487 (best)61,780
guj_Gujr19,603 (best)61,391
khm_Khmr21,245 (best)74,391
lao_Laoo14,266 (best)52,596
swh_Latn18,273 (best)30,133
Mathematics237,531217,863 (best)
Code-Python70,79958,533 (best)
Code-C31,43827,239 (best)
Code-C++26,59924,675 (best)
Code-Rust26,12823,409 (best)
Code-Java55,80851,731 (best)
Code-JavaScript41,71239,219 (best)
Code-Go38,31732,793 (best)
Code-HTML32,26330,677 (best)
Code-SQL36,17735,759 (best)

Evaluation: 58 language subsets, mathematics and 9 code languages. Custom Global uses 1.01 GB of training text. Evaluation documents were held out from its training corpus, but overlap with other tokenizers' training data was not audited. Custom Global is strongest on the multilingual portion; kototok leads on code, math and encoding throughput in this experiment. Encoding speed is environment-dependent. Results do not measure downstream language-model quality.

Research / World Championship

World Tokenizer Championship

15 tokenizer configurations. 68 domains. 2,434 held-out documents. 10,815,046 UTF-8 bytes.

Overall token count rank1 / 15Custom Global 264,498
Fewer tokens vs. o200k_base7.87%2,469,598 vs. 2,680,638
Exact roundtrip100%All 15 evaluated configurations

World Tokenizer Championship

Total tokens · Lower is better

Custom Global 264,4982,469,598 (best)
GPT-4o / GPT-52,680,638
GPT-OSS2,680,638
DeepSeek-V32,933,092
Mistral NeMo3,020,030
Qwen33,181,999
kototok BKO33,520,385
kototok Strict3,553,917
kototok Balanced3,748,609
GPT-43,808,157
Phi-43,808,157
kototok Compress3,833,543
Custom 64K4,345,877
Sarashina2.24,926,085
GPT-25,462,964

Global Compression Efficiency

UTF-8 bytes per token · Higher is better

Custom Global 264,4984.379 (best)
GPT-4o / GPT-54.035
GPT-OSS4.035
DeepSeek-V33.687
Mistral NeMo3.581
Qwen33.399
kototok BKO33.072
kototok Strict3.043
kototok Balanced2.885
GPT-42.840
Phi-42.840
kototok Compress2.821
Custom 64K2.489
Sarashina2.22.195
GPT-21.980

Language Tokenizer Championship

58 natural language subsets · Lower is better

Custom Global 264,4981,872,826 (best)
GPT-4o / GPT-52,124,960
GPT-OSS2,124,960
DeepSeek-V32,351,099
Mistral NeMo2,411,512
Qwen32,596,921
kototok BKO32,978,487
kototok Strict3,012,046
kototok Balanced3,079,485
kototok Compress3,163,891
GPT-43,250,393
Phi-43,250,393
Custom 64K3,694,013
Sarashina2.23,950,795
GPT-24,658,521

Code Tokenizer Championship

9 programming languages · Lower is better

GPT-4o / GPT-5318,034 (best)
GPT-OSS318,034 (best)
GPT-4318,848
Phi-4318,848
kototok BKO3324,035
kototok Strict324,045
Qwen3331,232
DeepSeek-V3343,659
Mistral NeMo352,825
Custom Global 264,498359,241
Custom 64K403,454
kototok Balanced421,359
kototok Compress421,672
GPT-2548,695
Sarashina2.2630,628

Math Tokenizer Championship

OpenWebMath · Lower is better

kototok Strict217,826 (best)
kototok BKO3217,863
Custom Global 264,498237,531
GPT-4o / GPT-5237,644
GPT-OSS237,644
DeepSeek-V3238,334
GPT-4238,916
Phi-4238,916
kototok Balanced247,765
kototok Compress247,980
Custom 64K248,410
Qwen3253,846
Mistral NeMo255,693
GPT-2255,748
Sarashina2.2344,662

Tokenizer Encoding Throughput

MB/s · Median of three runs · Higher is better

GPT-OSS25.966 (best)
GPT-224.642
GPT-423.206
GPT-4o / GPT-517.990
kototok Strict5.993
kototok Balanced5.939
kototok BKO35.448
kototok Compress5.402
Sarashina2.24.955
Custom Global 264,4984.852
Mistral NeMo4.777
DeepSeek-V34.603
Custom 64K4.494
Phi-44.234
Qwen33.473
68-Domain World Championship 68 domains × 15 tokenizer configurations
68-domain comparison — gold indicates the lowest token count (ties included).
DomainCustom Global 264,498264,498 vocabGPT-4o / GPT-5200,000 vocabGPT-OSS201,089 vocabDeepSeek-V3128,815 vocabMistral NeMo131,072 vocabQwen3151,669 vocabkototok BKO3264,498 vocabkototok Strict281,630 vocabkototok Balanced281,630 vocabGPT-4100,261 vocabPhi-4100,352 vocabkototok Compress281,630 vocabCustom 64K65,536 vocabSarashina2.2102,400 vocabGPT-250,257 vocab
English-Edu318,645314,920314,920316,752327,610325,220283,009282,991319,532319,260319,260319,628337,845489,201327,766
jpn_Jpan206,269326,122326,122305,006338,796305,297219,283242,455224,173454,102454,102228,358229,302221,020594,564
cmn_Hani228,938307,461307,461244,045366,291263,449289,075294,318299,601462,262462,262340,071278,348460,998717,288
kor_Hang115,794156,083156,083177,921151,126178,034176,347182,139189,741251,286251,286225,173420,900402,076511,837
rus_Cyrl15,79914,45014,45016,22216,96218,99642,51742,51743,90826,28926,28943,91339,55527,98961,358
deu_Latn18,88917,26017,26020,24118,58921,33925,90225,89626,46221,04621,04626,47429,32728,51227,681
spa_Latn18,65117,22717,22719,66418,47720,23124,65924,65625,78820,03720,03725,80726,18728,29425,548
fra_Latn19,14517,30617,30619,89417,98320,31824,67124,66925,38420,16620,16625,40026,11828,18325,269
ita_Latn19,16319,48919,48920,78819,90822,10825,39325,38825,97521,92521,92525,98427,11929,40226,796
por_Latn20,77019,25419,25422,94821,67223,64730,92130,92931,65023,74323,74331,65531,79433,91231,948
pol_Latn21,79624,53024,53025,51025,25727,17233,85033,76334,84128,38128,38134,94539,44836,28338,345
nld_Latn19,33118,01318,01321,66121,63223,12428,02628,02628,57122,88322,88328,57229,88530,77628,603
ind_Latn16,45118,20618,20619,62120,59823,14328,97428,97029,74522,94022,94029,75630,34831,35329,657
vie_Latn16,63818,01518,01525,68218,55317,88937,04037,04237,89429,49929,49937,89445,91752,01452,150
fas_Arab13,05813,92613,92615,88514,48324,57339,94839,83640,20331,05831,05842,39759,42942,86549,552
arb_Arab15,07314,26214,26217,01213,81016,90438,89738,77339,31030,72730,72739,87952,35840,34243,103
tur_Latn18,17120,12920,12928,15022,66523,35931,97631,97732,61926,68826,68832,62136,00234,12133,857
tha_Thai15,36112,20612,20612,40615,77016,34828,60628,60628,72226,12726,12728,72351,93546,88451,937
ukr_Cyrl12,93914,42914,42917,99215,22920,86032,06732,06733,09524,61324,61333,09533,59222,07746,394
ell_Grek15,75818,29518,29523,13119,26242,70745,09845,04345,88443,71843,71846,00052,10052,95655,191
ces_Latn21,17925,09425,09427,10326,22432,81936,01435,99936,97132,75332,75336,99138,46036,22839,995
swe_Latn18,01919,43619,43622,67921,52123,22127,49327,48528,02422,97022,97028,04129,46030,53728,490
hun_Latn21,76826,43426,43429,27125,61731,72536,65136,63437,66431,58831,58837,68539,94436,63438,577
ron_Latn18,78820,75520,75523,84921,97024,09427,74627,73828,54124,04424,04428,55431,81033,37230,985
nob_Latn17,92318,96318,96322,65421,73522,05326,55326,55927,05821,83121,83127,06528,38030,29626,479
dan_Latn20,23121,69221,69225,44824,30625,63129,73829,73530,41725,33325,33330,42231,64633,32729,895
bul_Cyrl14,48915,61915,61917,86816,34519,56629,41729,41730,85922,09022,09030,86129,98424,98742,432
fin_Latn12,27920,28920,28923,68822,86622,38727,45727,45527,56922,35522,35527,57129,35229,70027,436
hin_Deva19,8279,3679,36717,29711,56427,79431,27531,27531,51829,48929,48931,51929,13540,07145,670
ben_Beng21,04810,61710,61713,06113,19431,44134,37034,37034,64036,18936,18934,64058,49669,01358,525
slk_Latn21,03625,71425,71429,32727,17932,42035,40235,36836,25332,82032,82036,29437,85237,57438,546
heb_Hebr22,80424,68824,68829,97828,79725,44961,04861,04862,68361,24961,24962,684111,52080,62172,867
lit_Latn18,86723,30523,30527,20525,00428,65529,95129,94330,59830,05830,05830,61734,21435,44133,544
bos_Latn18,97122,31222,31227,06423,96028,17130,84330,83731,47127,87027,87031,47733,41933,23032,351
slv_Latn22,88427,94727,94733,71530,57534,96338,91838,90739,61334,73034,73039,62841,51141,64640,281
ekk_Latn20,25423,03523,03528,70526,02729,27530,85330,85431,60128,86228,86231,60733,56634,50732,674
cat_Latn19,66620,38620,38622,60621,29524,05425,51525,50226,23223,74523,74526,25327,10729,67126,758
tam_Taml21,3659,6309,63015,24911,38931,05038,30938,30938,77538,08138,08138,77552,55769,02476,908
hrv_Latn21,39825,05725,05730,09126,42031,56734,44834,43035,17731,30731,30735,19737,37937,09736,083
lvs_Latn35,79346,68846,68856,95651,17159,62361,40961,39062,45059,93359,93362,48166,22370,45064,656
zsm_Latn17,98419,86219,86221,65322,29624,15129,10929,09529,84824,07324,07329,86630,58331,95929,727
azj_Latn19,50824,44924,44935,47427,54036,46840,82940,82541,56037,72037,72041,57545,13243,88548,900
srp_Cyrl15,54519,02319,02320,69818,60826,13640,42440,42441,77731,67231,67241,77741,43628,41358,966
kat_Geor9,1039,2889,28820,92413,18628,22828,85028,85029,51551,96851,96829,51572,12076,14072,776
npi_Deva20,2009,4069,40618,23013,59528,13531,35731,35731,46530,13230,13231,46530,33941,21847,123
mar_Deva20,63710,15410,15417,49813,02727,13928,62528,62529,08029,13429,13429,08029,24538,47245,275
mal_Mlym21,5179,6979,69722,21513,79937,43944,61744,61745,02445,02145,02145,02475,92676,21075,938
kaz_Cyrl11,71513,47413,47422,73518,90926,59138,24738,24739,09333,00633,00639,09339,89131,42850,167
urd_Arab14,63715,93715,93723,83317,97631,60249,01048,95249,15243,12643,12650,00768,22854,54161,197
als_Latn18,56222,70922,70928,60324,21328,22632,13432,13332,73828,01928,01932,73938,86736,42733,196
mkd_Cyrl12,05214,85514,85516,87214,67419,33831,10531,10531,95523,04123,04131,95730,83422,24344,868
tel_Telu23,09313,77913,77923,31616,05743,48561,31861,31361,98250,92550,92561,98879,34079,53579,348
kan_Knda21,17111,43311,43321,08013,93439,45862,90262,90263,37949,69649,69663,37976,99277,29475,592
mya_Mymr18,48716,09916,09932,72025,70542,26461,78061,78061,84654,75554,75561,84676,43978,69076,411
guj_Gujr19,60311,30311,30323,23017,38241,32261,39161,39161,77146,26346,26361,77173,48073,73773,476
khm_Khmr21,24516,92016,92034,34677,51333,82574,39174,39174,42545,00045,00074,42577,92979,30477,922
lao_Laoo14,26646,59146,59145,48274,29633,74652,59652,59452,87954,33354,33352,88174,67675,01574,648
swh_Latn18,27321,37021,37027,84526,97028,69230,13330,12930,78428,46228,46230,79633,03233,60030,995
Mathematics237,531237,644237,644238,334255,693253,846217,863217,826247,765238,916238,916247,980248,410344,662255,748
Code-Python70,79962,33962,33966,53366,13662,45858,53358,52581,58261,63761,63781,60679,258150,316134,345
Code-C31,43827,22627,22630,19130,58327,75927,23927,23833,76727,14327,14333,77834,15945,83639,701
Code-C++26,59923,43023,43025,51524,76723,48024,67524,67732,47223,32723,32732,47329,92647,56540,770
Code-Rust26,12823,29123,29125,00324,72423,35123,40923,41031,16523,22723,22731,16729,20158,01153,662
Code-Java55,80845,86045,86050,31551,57448,71751,73151,72068,30946,39946,39968,32863,168103,94986,360
Code-JavaScript41,71238,78638,78641,55240,57739,43939,21939,25851,91740,16040,16052,00850,10071,95463,964
Code-Go38,31735,83335,83337,58641,84040,51632,79332,78941,64835,90835,90841,67141,12654,36143,965
Code-HTML32,26328,74328,74332,02232,08729,03030,67730,68238,62928,58928,58938,68336,42748,59542,427
Code-SQL36,17732,52632,52634,94240,53736,48235,75935,74641,87032,45832,45841,95840,08950,04143,501
Custom Global Head-to-Head 14 opponents · wins, losses and ties
Custom Global compared with each opponent on the same 68 domains.
OpponentOpponent tokensCustom reductionWinsLossesTies
GPT-4o / GPT-52,680,6387.87%39290
GPT-OSS2,680,6387.87%39290
DeepSeek-V32,933,09215.80%51170
Mistral NeMo3,020,03018.23%48200
Qwen33,181,99922.39%6170
kototok BKO33,520,38529.85%57110
kototok Strict3,553,91730.51%57110
kototok Balanced3,748,60934.12%6800
GPT-43,808,15735.15%5990
Phi-43,808,15735.15%5990
kototok Compress3,833,54335.58%6800
Custom 64K4,345,87743.17%6800
Sarashina2.24,926,08549.87%6800
GPT-25,462,96454.79%6800
Tokenizer sources and excluded models

Llama 3.1, Gemma 3 and Aya Expanse were not evaluated due to gated repository access (HTTP 403). No scores are imputed.

Measured on the supplied held-out dataset from the Custom Global corpus; training overlap with other tokenizers has not been audited. This is a tokenizer compression comparison, not a test of language model intelligence or quality. GPT-4o / GPT-5 is the public o200k_base encoding proxy used by this benchmark; it is not a direct test of deployed model APIs. GPT-OSS uses o200k_harmony; GPT-4 uses cl100k_base. The GPT-OSS and o200k_base scores match on this corpus, as do GPT-4 and Phi-4. Domain-win counts include ties. Encoding throughput depends on hardware, backend and threading; existing six-model timings were reused. The 15 configurations include related encoding variants and different vocabulary sizes. Custom Global leads on total tokens and the language subset; it does not lead on code, mathematics or speed.