Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_sentencepiece_tokenizer

A pure Dart implementation of SentencePiece tokenizer supporting BPE and Unigram.

pub.devRemove
llamadart

On‑device LLM inference for Dart/Flutter across native and web

pub.devRemove
ScoresHealth7093 (best)
Maintenance65100 (best)
Quality100100
Popularity5385 (best)
Community4674 (best)
Compatibility85100 (best)
UsageDownloads (30 days)41k81k (best)
Likes758 (best)
Pub points160 / 160160 / 160
GitHub stars092 (best)
MaintenanceLatest release1.4.1, 3 months ago0.20.3, yesterday (best)
Major versions in 12 months00
Contributors27 (best)
Publisherbrodykim.workleehack.com
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindPure DartFFI (native library)
Code generationNoNo
Direct dependencies0 (best)12
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Pure Dart implementation with zero dependencies, working across all platforms.
  • Memory efficient with typed arrays and optimized BPE merge operations.
  • Includes support for Hugging Face tokenizer.json and a real-time text streaming API.
  • Offline, no network required
  • Cross‑platform support (native + experimental web)
  • Streaming API and structured JSON output
  • Multimodal capabilities (audio, image, TTS)
Weaknesses
  • Input text exceeding 500,000 characters throws an ArgumentError to prevent out-of-memory errors.
  • Complex native setup (runtime packages, build hooks)
  • Web support is experimental
  • Requires native C++ toolchain resolution on first run
  • Large model binaries increase app size
WarningsNoneNone
dart_sentencepiece_tokenizer vs llamadart: which Flutter package should you use? | pubscout