Skip to content

onWatch

Developer Productivity

Free, open‑source AI API quota monitoring that tracks usage across multiple providers and shows historical data via a local dashboard.

Go Latest v2.11.46 · 1mo ago Security brief →

Features

  • Monitors token/usage quotas for nine major LLM APIs in real time
  • Stores historical per‑cycle data locally in SQLite
  • Provides a lightweight (<50 MB RAM) Material Design web dashboard with dark/light mode
  • Zero telemetry – all data stays on the user’s machine
  • Cross‑platform install via shell script, Homebrew, PowerShell, or Docker

Recent releases

View all 77 releases →
v2.11.46 New feature
Notable features
  • Structured JSON logging available through --log-format=json or ONWATCH_LOG_FORMAT=json
Full changelog

What's New

Structured JSON logging (#70)

You can now switch log output from the default key=value text format to JSON via CLI flag or environment variable:

# CLI flag
onwatch --log-format json

# Environment variable
ONWATCH_LOG_FORMAT=json onwatch

JSON output uses Go's native slog.JSONHandler, producing machine-readable logs ideal for container logging pipelines (Fluentd, Loki, CloudWatch, etc.).

  • Accepts aliases: text, txt, fmt for text format; json for JSON
  • Case-insensitive input
  • Works in all modes: background, --debug, --debugstdout, and Docker
  • Defaults to text if unset or unrecognized

Full Changelog: https://github.com/onllm-dev/onWatch/compare/v2.11.45...v2.11.46

v2.11.45 Bug fix
⚠ Upgrade required
  • After updating, re‑save each profile to restore correct tokens using `codex auth` followed by `onwatch codex profile refresh`.
Notable features
  • Auto-save settings in menubar apply changes immediately
  • Menubar fetches live data from main daemon, eliminating stale displays
  • Newly added providers appear automatically in the menubar
Full changelog

Bug Fix

Codex Team/Business workspace token cross-contamination (#69)

When multiple users from the same ChatGPT Team or Business workspace saved profiles, they shared the same account_id. The system credentials fallback only checked account_id match when picking up tokens from ~/.codex/auth.json - so one user's tokens would silently overwrite the other profile, causing both to poll with the same identity and show identical usage data.

The fallback now also checks user_id, rejecting system credentials that belong to a different user on the same workspace.

After updating, re-save your profiles to restore correct tokens:

# Log into first account
codex auth
onwatch codex profile refresh <profile1>

# Log into second account  
codex auth
onwatch codex profile refresh <profile2>

Menubar Improvements

  • Auto-save settings - changes apply immediately, no manual Save needed
  • Fixed menubar showing stale data - companion now fetches from the main daemon instead of building its own snapshot
  • New providers auto-visible - newly added providers appear in menubar without manual configuration

Full Changelog: https://github.com/onllm-dev/onWatch/compare/v2.11.44...v2.11.45

v2.11.43 Bug fix

Fixed menubar to open the dashboard on the configured port rather than hardcoding port 9211.

Full changelog

What's Changed

  • fix(menubar): open dashboard on configured port, not hardcoded 9211 by @prakersh in https://github.com/onllm-dev/onWatch/pull/66

Full Changelog: https://github.com/onllm-dev/onWatch/compare/v2.11.42...v2.11.43

v2.11.42 New feature
Notable features
  • Add Cursor provider support
Full changelog

What's Changed

  • Add Cursor provider support by @LeslieLeung in https://github.com/onllm-dev/onWatch/pull/59

New Contributors

  • @LeslieLeung made their first contribution in https://github.com/onllm-dev/onWatch/pull/59

Full Changelog: https://github.com/onllm-dev/onWatch/compare/v2.11.41...v2.11.42

v2.11.40 New feature
Notable features
  • Custom API Integrations
Full changelog

What's Changed

  • Feat: Custom API Integrations by @sgogriff in https://github.com/onllm-dev/onWatch/pull/52

Full Changelog: https://github.com/onllm-dev/onWatch/compare/v2.11.39...v2.11.40

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
648
Forks
43
Languages
Go JavaScript HTML

Install & Platforms

Install via
shell-script brew docker binary go
Platforms
linux macos windows

Beta — feedback welcome: [email protected]