Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefirebase_ai

Flutter plugin for Firebase AI Logic SDK to access Gemini, Imagen and other generative models.

pub.devRemove
flutter_litert_lm

Run Large Language Models on-device using Google's LiteRT-LM runtime.

pub.devRemove
ScoresHealth86 (best)47
Maintenance99 (best)39
Quality9096 (best)
Popularity72 (best)21
Community64 (best)6
Compatibility93 (best)75
UsageDownloads (30 days)127k (best)713
Likes126 (best)12
Pub points150 / 160150 / 160
GitHub stars—11
MaintenanceLatest release5.2.0, 5 days ago (best)0.3.0, 7 months ago
Major versions in 12 months20 (best)
Contributors—1
Publisherfirebase.google.comUnverified
FitPlatformsAndroid, iOS, Web, macOSAndroid, iOS
WASM-readyYesYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies71 (best)
LicenseAPACHE-2.0APACHE-2.0
Setup effortMediumHigh
JudgementStrengths
  • Tight integration with Firebase ecosystem
  • Automatic handling of auth and App Check tokens
  • Supports latest Google generative models
  • Fully offline execution with no API keys or token billing
  • Hardware acceleration via CPU, GPU (OpenCL), and NPU
  • Supports streaming responses, multimodal inputs, and tool calling
Weaknesses
  • Limited to Firebase AI services only
  • Requires Firebase project configuration and internet access
  • Plugin adds native setup for each platform
  • High memory usage can lead to out-of-memory crashes on large models
  • iOS requires a lengthy one-time local Bazel build process
  • iOS runtime currently limited to CPU backend only
Warnings
  • Native setup
  • Native setup
firebase_ai vs flutter_litert_lm: which Flutter package should you use? | pubscout