Horizon Edge 4B is a fine-tuned Gemma 4 E4B model packaged in LiteRT-LM format. It delivers higher accuracy than Horizon Edge 2B at a moderate size increase (~3.7 GB), making it the recommended edge choice for devices with 6 GB+ RAM.
1uv tool install litert-lm
23litert-lm run horizon-edge-e4b.litertlm \4 --prompt "Analyze this conversation: Child: hey, want to meet up? Don't tell your parents."
Android / iOS — LiteRT-LM SDK
Load the .litertlm file with the LiteRT-LM SDK. The model includes the tokenizer, system prompt, and chat template — no additional configuration required.
Python
python
1from litert_lm import LiteRTLM
23model = LiteRTLM("horizon-edge-e4b.litertlm")4result = model.generate(5"Analyze this conversation:\nChild: hey\nOther: how old are you? where do you live?"6)7print(result)
Deployment Pattern
Incoming message
│
▼
Horizon Edge 4B (on-device, LiteRT-LM)
│
├── safe ──► No action
│
└── risk ──► Horizon Full (cloud API, full severity assessment)
│
▼
Human moderator review