See every token,
every dollar, live.
Lumen intercepts your LLM API traffic and surfaces cost, token rate, and cache savings as real-time arc gauges — think Activity Monitor for your AI spending.
macOS
Native status bar app
Linux
Browser dashboard
Windows
Browser dashboard
Zero npm dependencies · Privacy-first · Content never stored

Everything you need to understand your AI spend
No dashboards to configure. No data sent to the cloud. Just install, proxy, and watch.
Live Arc Gauges
Cost, token rate, and cache savings displayed as real-time arc meters — updated on every API call.
Multi-Provider
OpenAI, Anthropic, Cursor, and Google AI supported out of the box. Add any OpenAI-compatible host.
Token Breakdown
Input vs. output tokens with cache hit visualization — see exactly where your budget is going.
Event Feed
Scrollable log of every API call with model, tokens, cost, and latency — in real time.
Lap Tracking
Mark session boundaries with the Lap button for before/after cost comparisons. Perfect for measuring optimizations.
Custom Endpoints
Whitelist additional hosts — local LLMs, hosted models, MCP servers — and Lumen will proxy and parse their traffic too.
DataGrout Integration
Toggle DataGrout tools visibility and Intelligent Interface directly from the Lumen settings pane.
Privacy-First
Only token counts and pricing metadata are captured. Message content is never stored or transmitted.
Working with a team?
Lumen is free and stays free. Lumen Pro is a different job.
When the question moves from "what am I spending" to "what did the team spend it on", that's Lumen Pro — spend attributed to project, repository, branch and person across every device, with policy signals and a coverage figure against your provider bill.
How Lumen works
Two processes, zero npm dependencies. Lumen slots between your LLM client and the API — completely transparent.
LLM Client
Cursor / Claude
Any AI tool
:9090
lumen-core
Rust Proxy
Parses tokens · Calculates costs · Aggregates stats
LLM API
OpenAI / Anthropic
Google AI · Cursor
GET /stats
macOS
Lumen.app
Native status bar · SwiftUI arc gauges
Linux / Windows
Browser Dashboard
http://127.0.0.1:9091/dashboard
Rust proxy daemon
- ✓HTTP forward proxy on :9090
- ✓Intercepts and parses LLM API calls
- ✓Calculates per-call costs using live pricing
- ✓Aggregates stats and exposes JSON API on :9091
- ✓Runs on macOS, Linux, and Windows
macOS native UI (optional)
- ✓NSStatusItem in your menu bar
- ✓SwiftUI popover with live arc gauges
- ✓Event feed, endpoint manager, lap controls
- ✓Launches and manages lumen-core automatically
- ✓Linux/Windows users: use the browser dashboard
Up and running in minutes
Select your platform and follow the steps.
Install
sh install.sh
Builds both binaries, assembles Lumen.app in ~/Applications, and registers it with Spotlight.
Trust the CA certificate
Lumen → Settings → Certificate → Trust CA
Lumen performs TLS interception. The setup wizard handles this automatically on first run.
Launch your LLM tool through Lumen
Lumen → Launch → Cursor → Launch
This pre-configures HTTPS_PROXY and NODE_EXTRA_CA_CERTS. Or set them manually.
Watch the gauges
Cmd+Space → Lumen
Cost, token rate, and cache savings update in real time as you use your AI tools.
Now that you can see your costs...
Ready to actually reduce them?
Lumen shows you where every token goes. DataGrout's AI Cost Optimization platform helps you cut that spend through semantic caching, intelligent inference routing, and context compression — without changing your code.
Observe
Lumen
See live token rates and costs per call.
Optimize
Governor + Memory
Route and cache to reduce spend automatically.
Govern
Warden + Invariant
Enforce budgets, policies, and quality gates.
Stop guessing. Start measuring.
Free, open-source, and privacy-first. Install Lumen in minutes.
macOS 14+ · Linux · Windows · MIT License
