Topophones

Home / Guides

MediaPipe LLM Inference API is in maintenance mode: what Android developers should know

Updated 27 Nov 2026.

Cover graphic for: MediaPipe LLM Inference API is in maintenance mode: what Android developers should know

Reader question: I found a tutorial that uses MediaPipe to run a language model in an Android app. Should I build on it?

Google's Android guide for the MediaPipe LLM Inference API opens with a notice. The API is in maintenance-only mode, and Google recommends migrating Android projects to the LiteRT-LM Android (Kotlin) API. That one line decides most of the answer: older tutorials still work as a learning aid, but new work should start from LiteRT-LM. Our page on LiteRT-LM supported models and measured speeds covers the replacement.

What the guide says about devices

  • The API runs language models completely on the device, for tasks such as text generation, retrieving information in natural language form, and summarising documents.
  • Google says it is optimized for high-end Android devices, such as the Pixel 8 and Samsung S23 or later, and does not reliably support device emulators. If you only test on an emulator, you will not learn how a model behaves.

What the quickstart does

  1. Add the com.google.mediapipe:tasks-genai library (the guide shows version 0.10.27).
  2. Download a model. The guide uses Gemma-3 1B in a 4-bit quantized format from Hugging Face.
  3. During development, push the model to the phone with adb. For release, Google says to host the model on a server and download it at runtime, because the model is too large to bundle in an APK.
  4. Create the task with the model path and a maximum top-K, then call generateResponse() for one answer, or the async version to stream partial results.

What is not stated

The guide does not say when support will end, and we found no date. We also did not test whether apps built on it keep working.

What we did not check

We did not build or run the sample. The library version and model names are those on the guide on 27 November 2026 and will change.

Sources

  1. LLM Inference guide for Android, Google AI Edge (read 27 Nov 2026)
  2. Gemma 4 on LiteRT-LM, Google AI Edge

Checked: 27 Nov 2026. Figures change; confirm on the source before you rely on them.

Keep reading