Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributellamadart

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

pub.devRemove
tiktoken

A Dart BPE tokeniser for OpenAI models to encode and decode text.

pub.devRemove
ScoresHealth93 (best)48
Maintenance100 (best)0
Quality100100
Popularity85 (best)32
Community74 (best)41
Compatibility100100
UsageDownloads (30 days)81k (best)910
Likes58 (best)22
Pub points160 / 160160 / 160
GitHub stars92 (best)26
MaintenanceLatest release0.20.3, yesterday (best)1.0.3, 4 years ago
Major versions in 12 months00
Contributors7 (best)1
Publisherleehack.commarinvitlov.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFFI (native library)Pure Dart
Code generationNoNo
Direct dependencies120 (best)
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Offline, no network required
  • Cross‑platform support (native + experimental web)
  • Streaming API and structured JSON output
  • Multimodal capabilities (audio, image, TTS)
  • Pure Dart, works on all Flutter platforms
  • No native dependencies, small footprint
  • Supports multiple OpenAI model encodings
Weaknesses
  • 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
  • Only handles tokenisation, no higher‑level API client
  • May be slower than native Rust/Python implementations
WarningsNoneNone
llamadart vs tiktoken: which Flutter package should you use? | pubscout