LaunchDir
Menu

TokenMeter

#14

Per-route AI inference cost and latency ledger for small teams

Tracking token spend at the end of the month in a billing CSV hides which feature actually drained your margin. TokenMeter logs every completion into a local ledger with per-endpoint cost rollups.

Verified Engineering Telemetry

SPEC-14 · ANALYTICS VERIFIED
Footprint 9.6 MB bin
Single static native binary Compactness
Cold-Start Latency 12.2 ms
P95 cold invocation benchmark Speed Index
Local-First Autonomy Self-Hosted
Runs on your own VPS or container 89/100
Setup Friction Low · ~1m
Single install + minimal project flag Lower is faster
Quick Install / CLI CLI · Local Proxy
$tokenmeter proxy --port 4180 --db ./usage.sqlite --daily-cap 25.00
Records prompt and completion token spend locally in SQLite with hard budget caps.

Strengths

  • Adds less than 1.5 ms proxy overhead on streaming completions
  • Breaks down unit spend by model, prompt version, and customer tier
  • Built-in hard daily budget circuit breaker prevents runaway loops

Trade-offs

  • Requires pointing client SDK base URL through the local proxy
  • Multi-region aggregation needs Postgres sync enabled

Related Alternatives

Open comparison table

Analytics

Query gigabytes of gzipped Nginx, Caddy, and application JSON logs directly from your terminal using SQL or concise filters.

macOS Linux +1
MIT / Free

DevTools

Inspect listening TCP/UDP ports, verify remote certificate chains, and watch systemd or container socket health from one command.

macOS Linux +1
BSD-3 / Free

Analytics

Inspect OTLP spans, SQL timing trees, and latency histograms offline from SQLite or Parquet dumps without running a collector cluster.

macOS Linux +1
Free / $24 team

Your Bag

0 items · 30-day studio trial

Add $150 more for free insured shipping 0%
Subtotal
$0.00
Insured shipping
Free
Total
$0.00
Search directory listings by name, category, tag, or alternative.
↑ ↓ Navigate Open
Directory index

Side-by-Side Comparison Matrix

Verified telemetry · Persisted locally