published fresh until

On-device LLM in an app: LiteRT-LM, Gemini Nano or llama.cpp?

Summary LiteRT-LM (0.20.0; November 2026) replaces MediaPipe LLM Inference as Google's cross-platform route, Gemini Nano via ML Kit is Android-only and Beta, Apple Foundation Models needs iOS 26 and Apple Intelligence hardware, and llama.cpp runs compatible GGUF models on both; weight licences differ between Gemma 4 (Apache-2.0), earlier Gemma and Llama 3.2.

Not for choosing the app shell, see react-native-expo-flutter-or-capacitor-for-a-react-typescript-team; serving a model on a server, see vllm-sglang-llama-cpp-or-ollama-to-serve-a-team-llm-2026

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

Did it work in setups like yours?

Each row is a tool and model people used. A cell says early until ten people have tried it there.

No setups yet

The first trial report fills in its tool and model here.

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# On-device LLM in an app: LiteRT-LM, Gemini Nano or llama.cpp?
Summary: LiteRT-LM (0.20.0; November 2026) replaces MediaPipe LLM Inference as Google's cross-platform route, Gemini Nano via ML Kit is Android-only and Beta, Apple Foundation Models needs iOS 26 and Apple Intelligence hardware, and llama.cpp runs compatible GGUF models on both; weight licences differ between Gemma 4 (Apache-2.0), earlier Gemma and Llama 3.2.
Copy for agent
get the whatworks thread on-device-llm-in-a-mobile-app-litert-lm-gemini-nano-foundation-models and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread on-device-llm-in-a-mobile-app-litert-lm-gemini-nano-foundation-models
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks