Home / Licences

Open-source licences

AI Keyboard builds on open-source software and open models. These are the third-party components in version 2.2 and the terms they are used under.

The components below are open-source software or openly licensed models, and their licence texts are published here as the licences require. The same notices ship inside the app. Corrections are welcome at support@kengblog.com.

Offline speech and on-device AI

ComponentLicenceUsed forSource
sherpa-onnx Android runtime
v1.13.8
Apache-2.0
Licence text
Runs the offline SenseVoice speech recogniser. Built from source for arm64-v8a, recognition only.github.com/k2-fsa/sherpa-onnx
ONNX Runtime
v1.28.2, Microsoft
MIT
Licence text
Runs the SenseVoice model inside sherpa-onnx.github.com/microsoft/onnxruntime
kaldi-native-fbank
v1.22.3
Apache-2.0
Licence text
Audio feature extraction, statically linked in sherpa-onnx.github.com/csukuangfj/kaldi-native-fbank
kaldi-decoder
v0.3.0
Apache-2.0
Licence text
Decoding, statically linked in sherpa-onnx.github.com/k2-fsa/kaldi-decoder
kaldifst (with OpenFST-derived code)
v1.8.0
Apache-2.0
Licence text
Statically linked in sherpa-onnx.github.com/k2-fsa/kaldifst
simple-sentencepiece
v0.7
Apache-2.0
Licence text
Tokenisation, statically linked in sherpa-onnx.github.com/pkufool/simple-sentencepiece
LLVM libc++ (Android NDK 27.2.12479018)
Apache-2.0 with LLVM Exceptions, and MIT
Licence text
C++ runtime.libcxx.llvm.org/
llama.cpp and ggml
tag b11696
MIT
Licence text
Runs the optional on-device writing-style model on the CPU.github.com/ggml-org/llama.cpp
OpenCC4j
v1.13.1
Apache-2.0
Licence text
Traditional-Chinese phrase conversion for Taiwan.github.com/houbb/opencc4j

ONNX Runtime's complete upstream third-party notices, including its bundled dependencies, are in ONNX_RUNTIME_THIRD_PARTY_NOTICES.txt. The pinned upstream releases provide licence files but no separate NOTICE files.

Models, downloaded on demand

These are not bundled in the app. They are downloaded from Hugging Face to private app storage when you ask for them, and verified by checksum.

ModelLicenceNotes
SenseVoice Small, INT8 ONNX
by FunAudioLLM / Alibaba Group, converted by the sherpa-onnx project
FunASR Model Open Source License Agreement v1.1 (custom, not MIT). Licence textRequires attribution to the source and author and retention of the model names. The licence describes the model software as for reference and learning purposes only. Original: github.com/FunAudioLLM/SenseVoice. Converted artefact: Hugging Face.
Qwen3 0.6B and Qwen3 1.7B (Q4_K_M GGUF)
by the Qwen team, Alibaba Cloud
Apache-2.0. Licence textGGUF quantisations by bartowski: 0.6B, 1.7B. Original: github.com/QwenLM/Qwen3.

Japanese and Chinese typing engines

Bundled in the app and run entirely on the device, with no network calls. Full licence texts: CJK_TYPING_LICENSES.txt.

ComponentLicenceUsed forSource
Mozc
revision 0136c357
BSD 3-ClauseJapanese conversion. Its dictionary derives from IPAdic (Nara Institute of Science and Technology, ICOT Free Software terms) and the public-domain Okinawa dictionary. Statically links Abseil (Apache-2.0) and Protocol Buffers lite (BSD 3-Clause).github.com/google/mozc
librime
1.17.0
BSD 3-ClauseChinese input engine.github.com/rime/librime
yaml-cpp, LevelDB, marisa-trie
marisa-trie 0.3.1
MIT; BSD 3-Clause; BSD 2-ClauseLibraries used by librime. marisa-trie is used under its BSD 2-Clause option (it is offered as BSD 2-Clause or LGPL-2.1-or-later).github.com/jbeder/yaml-cpp
OpenCC
1.4.2
Apache-2.0
Licence text
Script conversion between Traditional and Simplified Chinese, including the t2tw chain for Traditional (Taiwan).github.com/BYVoid/OpenCC
Rime Luna Pinyin (朙月拼音) and Rime Essay
revisions 56b934b0 and 054920de
GNU LGPL v3.0Pinyin data. The app's compiled pinyin table is a build product of these two datasets, and its schemas are reduced derivatives of Luna Pinyin's.github.com/rime/rime-luna-pinyin

Android and Kotlin libraries

The app also uses Jetpack Compose and other AndroidX libraries, Dagger Hilt, Room, Kotlin coroutines and serialization, Retrofit and OkHttp, all under the Apache License 2.0, which is reproduced in LICENSE-APACHE-2.0.txt.

All notice files

Gemini, Groq and Hugging Face are separate services you may choose to use; they are not bundled software. See the privacy policy.