flutter_token_prices version: 0.0.1

Published 2026-11-02

michelhopman

sdk | dart flutter
repository | svn
platform | desktop
status | n/a
  • Readme
  • Changelog
  • Versions

flutter_token_prices

Compact desktop app (macOS, Windows, Linux) with a table of AI model prices: input and output price per 1M tokens, in USD.

graph

  • Prices are fetched automatically every hour (and when the app is resumed or the window is shown again).
  • Add models with the search (+) button, remove them with the x button, drag the handle to reorder. The list and the last downloaded price list survive restarts and work offline.
  • Closing the window hides it to the system tray on macOS/Windows. On Linux it minimizes to the taskbar so the app can always be restored even on panels that do not surface tray menus reliably. Tray menu: Show, Refresh, Quit. The settings menu has "Always on top", "Launch at login", "Dark mode" and "Reset to default models".

Data source

The community maintained LiteLLM price list. It can lag the official price pages and only contains base rates (no cached, batch or long-context tiers).

The downloaded catalog is cached in ~/.flutter_token_prices/catalog.json; the selection is stored with HHPreferences (shared_preferences).

First-time setup

flutter pub add window_manager tray_manager nativeapi           # resolves current versions
flutter create --platforms=windows,linux .                      # pubspec lists them, the folders do not exist yet
flutter pub get

Linux needs GTK 3, X11 and Xi development files to build, and a desktop panel that hosts StatusNotifierItem icons (for GNOME, the AppIndicator extension):

sudo apt install libgtk-3-dev libx11-dev libxi-dev

Develop

See CLAUDE.md for the full list of commands, the design decisions and the data format.

flutter analyze && flutter test
flutter run -d macos        # or -d windows / -d linux, each on its own OS

Changelog

Unpublished

  • material_ui -> 1.11.1 (was 1.11.0)
  • material_ui -> 1.11.0 (was 1.10.0)
  • Linux: close now minimizes to taskbar instead of fully hiding, so the app can always be restored when tray menu clicks are not surfaced by the desktop panel.

0.0.1 - 2026-11-02

  • msix -> 3.18.0 (was 3.16.13)
  • First implementation: hourly price refresh, add/remove/reorder models, tray + small window, launch at login.

0.0.1

2026-11-02

[deb]

download