DataGrout.ai Logo
Free & Open Source · v0.1.4

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

Lumen — real-time LLM cost monitor screenshot

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

HTTP proxy :9090 · JSON API :9091

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

lumen-core

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
Lumen.app

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.

1

Install

sh install.sh

Builds both binaries, assembles Lumen.app in ~/Applications, and registers it with Spotlight.

2

Trust the CA certificate

Lumen → Settings → Certificate → Trust CA

Lumen performs TLS interception. The setup wizard handles this automatically on first run.

3

Launch your LLM tool through Lumen

Lumen → Launch → Cursor → Launch

This pre-configures HTTPS_PROXY and NODE_EXTRA_CA_CERTS. Or set them manually.

4

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.

✓
Semantic caching— Reuse cached reasoning — never pay for the same LLM call twice.
✓
Inference routing (Governor)— Intercept routine requests with efficient symbolic responses.
✓
Context compression— Trim prompts before they hit the LLM with refract and compress.
1

Observe

Lumen

See live token rates and costs per call.

You are here
2

Optimize

Governor + Memory

Route and cache to reduce spend automatically.

3

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

We use cookies to improve your experience, analyze site traffic, and serve personalized content. You can accept all, decline non-essential cookies, or manage your preferences. See our Privacy Policy for details.

Ask the Advisor