Chime

Chime: methods and measurements

Return to the write-up and shareable cards.

Comparison with Gboard: editor-only benchmark

On October 11, 2026, 100 invented sentences, each with two planted typos (substitution, transposition, omission or doubling of a common five- to eight-letter word) and two clean words, were typed by scripted touches at 60 ms into the same test editor with LocalType 0.5.14 (34) and with Gboard 18.4.1 beta, on a Pixel 9a and a Pixel 10 on API 37, in a native text field and in a web text box, with Gaussian tap spreads of 0.13, 0.22 and 0.31 of the key pitch the two keyboards share. Each keyboard was reset once through its own supported controls before its block, nothing was read from either suggestion strip, and the score is the text that landed in the editor: planted typos corrected, left or made worse, clean words preserved or changed, character error rate, and a paired bootstrap by sentence.

Planted typos corrected of 200 · Pixel 9a · October 11, 2026
ConditionLocalType corrected / wrongGboard corrected / wrongPaired difference, 95%
14 px spread · native134 / 15103 / 10+0.155 [+0.10, +0.215]
23.5 px spread · native127 / 15106 / 21+0.105 [+0.045, +0.165]
33 px spread · native110 / 26100 / 38+0.05 [−0.01, +0.11]
23.5 px spread · web125 / 15106 / 21+0.095 [+0.035, +0.155]

The Pixel 10’s counts were within two words in every Gboard cell, and LocalType’s text was identical on both phones. LocalType changed no clean word through 23.5 px and 4 at 33 px against Gboard’s 5; a clean word that was only capitalised is not counted as damage. Thirteen of the 200 planted typos are themselves words, and neither keyboard corrects them. Character error rate favoured LocalType through 23.5 px and was equal at 33 px. Gboard corrects 100 to 108 of the typos at every spread; LocalType’s count falls as taps leave their keys. Noisy taps were held inside the keyboard’s key area, so a stray tap could reach a control key but not the suggestion strip. Latency from the key release to the editor change, on the scattered-tap cells, was 8 ms at the median for Gboard and 8 to 11 ms for LocalType, p95 13 to 14 against 15 to 18, from the fixture’s clock, not the touch sensor or display. A separate probe of both suggestion strips on 150 human-written phrases, with scattered taps and nothing tapped, found prediction at parity: the target was offered before typing for 16 targets on LocalType and 15 on Gboard, and potential keystroke savings were 48.7% against 46.3%, a difference of +0.028 per word [0.000, +0.056]. The benchmark page has every cell, both phones and the limits. No speed advantage is claimed: scripted taps are not human typing, the tap-spread model is a choice, and Gboard’s model identity and settings beyond its own reset are not observable.

Architecture and context

One CIFG-LSTM layer has 670 hidden units, a 96-dimensional projection and tied 96-dimensional input/output embeddings: 2,025,114 parameters. The vocabulary has 16,384 tokens: 16,054 words, 293 emoji, 31 punctuation marks and six special tokens. Context is the current sentence, up to 63 tokens after a start token, with a 32-token window hop. Unknown words map to an unknown token.

The architecture follows Hard et al. (2018). The 2023 Gboard paper describes larger recurrent models pretrained on public text, then trained with federated learning and differential privacy. Published sentence and device counts cannot be divided by Chime’s word count to obtain a meaningful data ratio.

Training data and recipe

The five licensed English sources are NUS SMS, human-written user/customer turns from Taskmaster-1 and Taskmaster-3, English OpenAssistant 2 prompts, and synthetic SODA dialogue generated with GPT-3.5. SODA supplies most of the text. No private messages, LocalType logs or personalized weights were used. Filtering removed phone numbers, URLs, email addresses and credential-like strings; filtering is not proof of anonymity. Revisions, licenses and attribution are in the source credits.

Completed training run
QuantityValue
Training split before repetition7,858,648 lines · 161,625,719 words (runs of letters)
Weighted pass8,720,859 lines · 195,641,031 target tokens
Completed run102,195 updates · three passes · 586,885,109 target-token exposures
Training loop / computation7,342.98 s / 7,021.45 s
Hardware / precisionOne NVIDIA A100 · PyTorch float32
Batch / maximum sequence256 / 64 tokens
OptimizerAdamW · weight decay 0.01 · gradient clip 1.0
Schedule0.002 peak · 200-update warmup · cosine decay to 10%

NUS SMS, Taskmaster-1 and OpenAssistant lines appear eight times per pass; Taskmaster-3 and SODA appear once. That is the ×8 label: repeated exposure, not extra parameters or unique data. Human-written lines are 12.868% of the weighted pass.

Pixel runtime

Standalone Kotlin model inference · warm p95, milliseconds
PathPixel 9aPixel 10
Next word · retained context3.0883.235
Completion · retained context0.1910.235
Next word · fresh context6.6757.578
Long-context window reset14.13417.638

These are model-only timings, not a controlled phone comparison, finger-to-editor latency or battery measurements.

Export, verification and reuse

The October int8 binary was 2,221,879 bytes, SHA-256 3255dbeaf6e7fc0922afdca42ef751a22e3ad28903ab4acc9eb0022b9a704318. The November file (Chime 1.2) is also 2,221,879 bytes, SHA-256 4099fe04fb2b10597b0e1068f51aa94b9618d4f326abf72a08a6aab88b32ea7a. The file this demo runs is Chime 2, the same size, SHA-256 55795f14a9cb11ee419e8b33bec749199811fc6fbefa1efbb89bdd6e22c39b53.

The model package contains the weights, vocabulary, a standalone NumPy reference and licenses. It contains no corpus or training code; the training pipeline is published separately under Apache-2.0, with the corpus rebuilt from pinned public sources rather than redistributed. Weights and vocabulary are CC BY-SA 4.0; inference code is Apache-2.0. These licenses do not cover the Android app.