Running a grammar correction model inside an iPhone keyboard An independent developer building Mochi, an on-device iPhone keyboard grammar checker, raised the model's score on the standard grammar correction benchmark from 42.5 to 57.0 in November, putting it in the same range as GECToR-2024, a model 2.6 times larger, while checking a sentence in about 0.2 seconds on an iPhone 14. The model runs entirely on the phone with no server and no account, working in airplane mode, within iOS keyboard memory limits of roughly 77 MB on an iPhone 14 and 177 MB on an iPhone 16. The developer, who says he has no machine learning background, first shipped Spellforge, a ranker-style transformer spell checker, in the Fonts Pro keyboard in 2025, and built the grammar model TITO by distilling a much larger model. Running a grammar correction model inside an iPhone keyboard I’m building Mochi, a keyboard for iPhone that fixes your grammar as you type, in any app. The grammar check is a small model I trained, and it runs on the phone, with no server . For months that model was stuck at 42.5 on the standard grammar correction benchmark. In November it got to 57.0 , in the same range as GECToR-2024