LocalType and Gboard: an editor-only benchmark
The one-table card summarizes this page.
Method
On October 11, 2026 a script typed 100 invented sentences into a test editor app of my own, in a native text field and in a web text box, with LocalType 0.5.14 and with Gboard 18.4.1 beta on a Pixel 9a and a Pixel 10 (both on API 37), by injected touches at 60 ms per key after each keyboard’s own reset. Each sentence has four common words of five to eight letters, two with a planted typo (a substituted, transposed, missing or doubled letter) and two clean, and taps land with a Gaussian scatter of 14, 23.5 or 33 px around each key’s center, held inside the keyboard’s key area. Nothing is read from either suggestion strip: each planted typo is scored corrected, unchanged or wrong, and each clean word preserved or changed, from the text left in the editor, with character error rate (CER) alongside, and differences are LocalType minus Gboard with a 95% paired bootstrap by sentence.
Correction
| Condition | Keyboard | Corrected | Unchanged | Wrong | Clean changed | CER |
|---|---|---|---|---|---|---|
| 14 px spread · native | LocalType | 134 | 51 | 15 | 0 | 0.017 |
| Gboard | 103 | 87 (88) | 10 (9) | 1 | 0.028 | |
| 23.5 px spread · native | LocalType | 127 | 54 | 15 (+4 unalignable) | 0 (+2 noise-unrepaired, +4 unalignable) | 0.022 |
| Gboard | 106 (107) | 69 | 21 (20) (+4 unalignable) | 0 (+2 noise-unrepaired, +4 unalignable) | 0.034 (0.033) | |
| 33 px spread · native | LocalType | 110 | 55 | 26 (+9 unalignable) | 4 (+13 noise-unrepaired, +6 unalignable) | 0.045 |
| Gboard | 100 | 55 (54) | 38 (39) (+7 unalignable) | 5 (+5 noise-unrepaired, +4 unalignable) | 0.044 | |
| 23.5 px spread · web | LocalType | 125 | 56 | 15 (+4 unalignable) | 0 (+3 noise-unrepaired, +4 unalignable) | 0.023 |
| Gboard | 106 (108) | 69 (67) | 21 (+4 unalignable) | 0 (+2 noise-unrepaired, +4 unalignable) | 0.033 |
| Condition | Correction rate | Harmful-change rate | Character error rate |
|---|---|---|---|
| 14 px spread · native | +0.155 [+0.10, +0.215] | −0.005 [−0.015, 0] | −0.011 [−0.015, −0.008] |
| 23.5 px spread · native | +0.105 [+0.045, +0.165] / +0.10 [+0.04, +0.16] | 0 [0, 0] | −0.012 [−0.016, −0.007] / −0.011 [−0.016, −0.007] |
| 33 px spread · native | +0.05 [−0.01, +0.11] | −0.005 [−0.035, +0.025] | +0.001 [−0.007, +0.009] |
| 23.5 px spread · web | +0.095 [+0.035, +0.155] / +0.085 [+0.025, +0.145] | 0 [0, 0] | −0.01 [−0.015, −0.006] / −0.01 [−0.014, −0.005] |
With taps scattered 14 px, LocalType corrected 134 of 200 planted typos and Gboard 103. At 23.5 px it was 127 against 106, in the native field and much the same in the web text box. At 33 px it was 110 against 100, a difference the interval does not separate from zero. Among the clean words that could be matched, LocalType changed none through 23.5 px and four at 33 px, against Gboard’s five; at 23.5 px four clean words per keyboard could not be matched at all, because a stray tap hit delete and removed a space, the same two sentences for both. LocalType made more wrong corrections at 14 px (15 against 10) and fewer at 23.5 px (15 against 21) and 33 px (26 against 38); each wrong correction is a replacement by another word, such as out for a mistyped route. Neither keyboard’s correction rate falls off a cliff during a block; both drift a little with the order of the sentences, together.
Equal pixels is nearly equal difficulty here. At 33 px 12% of LocalType’s letter taps and 11% of Gboard’s landed outside the key they aimed at; at 23.5 px 3% of each. Gboard’s rows are taller, 167 px against 142, so the same scatter leaves its rows slightly less often. Thirteen of the 200 planted typos turned out to be words themselves (witch for switch, phone for phones); they stay in the totals, and neither keyboard corrects them. On the other 187, at 14 px, LocalType corrected 72% and Gboard 55%. Words with a tap outside the letters and the space bar are judged against the intended taps and counted: 9 and 3 at 23.5 px, 42 and 10 at 33 px, LocalType and Gboard, of 400.
The counts for the two phones agree within two words in every cell. LocalType’s text was identical on both; Gboard’s differed in one to four sentences per cell. On the Pixel 10 the two web cells were finished in a second block after a second reset. The Pixel 9a, shown above, took one block per cell.
Next-word prediction
A separate probe reads both suggestion strips and taps nothing. It uses 150 phrases from the MacKenzie and Soukoreff set, which people wrote; I did not write test sentences myself, because Chime was trained mostly on machine-written dialogue and my sentences would favour it. Each phrase supplies one target word of three to eight letters, and no word is a target twice. The words before the target are already in the editor, the same for both keyboards. The probe reads the strip, types the target one letter at a time with taps scattered about 9 px, and reads the strip again a second after each letter. Each keyboard is reset once before its block.
| When | LocalType | Gboard |
|---|---|---|
| Before any letter (the next-word offer) | 16 | 15 |
| After one letter | 55 | 46 |
| After two letters | 97 | 81 |
| After three letters, of 127 longer words | 108 | 105 |
| Potential keystroke savings | 48.7% | 46.3% |
The two are at parity. The next-word offer is right for about one target in ten on either keyboard, a difference of +0.007 [−0.04, +0.053]. Once typing starts LocalType reaches the target a little sooner, and the difference in potential savings per word is +0.028 [0.000, +0.056], on the edge of its interval. Potential savings assume the word is tapped the moment it appears, so they are a ceiling and not what anyone saves. One design difference tilts this toward LocalType: while a word is being typed Gboard uses one of its three slots to echo the letters typed, so it shows two suggestions to LocalType’s three. Both strips were steady across their blocks.
This does not show that either keyboard predicts better in use. The context was already in the editor, not typed, which a keyboard may treat differently. Twenty-nine of the 150 targets also appear as a context word in some other phrase. Twenty-three targets are three letters long. The phrase set has been public since 2003 and could be in either keyboard’s training text.
Latency
Both keyboards commit a letter on key release, or when the next finger lands while a contact is still down, so the time from that trigger to the editor change is the part the keyboard controls. In the native field with scattered taps, over 1,131 to 1,620 characters per cell before any correction, from the test editor’s own clock:
| Tap spread | Gboard | LocalType |
|---|---|---|
| 14 px | 8 / 13 · 8 / 13 | 9 / 15 · 11 / 18 |
| 23.5 px | 8 / 13 · 8 / 14 | 8 / 15 · 11 / 18 |
At the median the two are within a millisecond on the Pixel 9a, and Gboard is 3 ms sooner on the Pixel 10. LocalType’s 95th percentile is 2 to 5 ms higher. Every figure is under one 16.7 ms frame. This excludes touch-sensor and display latency and is not typing speed.
What this does not show
- Scripted taps at fixed spacing are not human typing. Nothing here is words per minute, composition, or a practised user. Whether LocalType’s edge at accurate taps survives real fingers, where Gboard’s decoder is built to work, is the open question.
- Gboard reacted to one unnatural property of scripted taps, the absence of any scatter, by changing its behaviour. It may react to others I have not found, such as the fixed 60 ms rhythm. The scattered-tap rows show no sign of it, but that is the absence of a symptom, not a proof.
- The tap-spread model is a choice: Gaussian, the same in both axes, held inside the key area. Three spreads are published; a different model could change the automated winner at the wider spreads.
- The prediction probe reads strips; it does not measure words accepted, and its limits are listed with it.
- Gboard’s model identity, language packs and settings beyond its own reset are not observable; both keyboards were measured after their supported reset, not from a factory state.
- Two phones agreeing says the harness is deterministic, not that two phones are two samples.
- The author of the benchmark is the author of one of the keyboards.
Correction notice
October 11, 2026: I withdrew the results from taps at exact key centers, because Gboard behaved differently under that input.
Builds: LocalType 0.5.14 (34) and Gboard 18.4.1.985164140-beta-arm64-v8a. The harness, cases and scorer live in the LocalType repository.
Chime write-up · Methods and measurements · Download LocalType