TokenMeter
A local FastAPI reverse proxy and Streamlit dashboard that logs LLM token usage, latency, task tags and YAML-configured pricing to SQLite with budget alerts and deterministic mock mode.
- Period
- October 2026
- Release
- Public source project
- Work type
- Independent open-source project
- Development
- AI-assisted, with verification
What I built
A local FastAPI reverse proxy and Streamlit dashboard that logs LLM token usage, latency, task tags and YAML-configured pricing to SQLite with budget alerts and deterministic mock mode.
Developed with AI coding assistance. Source code, reproduction instructions and tests are available in the linked repository.
What was checked
The repository contains automated checks for its included examples. Review the source audit below and the repository CI for the relevant commit and execution scope.
Verification date: 2 November 2026. Tests cover the included fixtures and do not establish production performance.
What this demonstrates
Tracks token usage and estimated cost against local YAML price tables. Mock-mode and local proxy tests do not verify third-party provider billing accuracy or multi-tenant production security.
All projectsSource audit
Public source reviewed at the linked commit. Tests describe their included fixtures and do not establish field or production performance.
15 November 2026. Reviewed source 1f657f392307. Source evidence index.