Back to products
Usage4Claude

Usage4Claude

Monitor Your Claude AI Usage Right from Your Mac Menu Bar

Overview

What it is

LunaRoute is a high-performance secure local proxy for AI coding assistants like Claude Code, Codex, and OpenCode. Get complete visibility into every LLM interaction with zero-overhead passthrough, session recording, and powerful debugging capabilities

Intent

I need it when

Protect sensitive data in AI conversations before storage

LunaRoute detects and redacts PII (emails, SSNs, credit cards, phone numbers) before writing to disk using configurable redaction modes (mask, remove, tokenize, partial). Data stays local and never leaves the user's machine.

Analyze performance bottlenecks between local code and LLM latency

LunaRoute measures proxy overhead (typically 0.1-0.2ms) separately from provider latency, showing users whether slowness comes from their code or the LLM. Session statistics display average response times and tool call performance metrics.

Route requests to multiple AI providers (OpenAI and Anthropic) from a single endpoint

LunaRoute accepts both OpenAI and Anthropic API formats simultaneously in passthrough mode, routing gpt-* models to OpenAI and claude-* models to Anthropic with zero normalization overhead. Users configure it once and both APIs work automatically.

Debug and understand AI coding assistant interactions in detail

LunaRoute records every LLM interaction (requests, responses, tokens, tool calls) with zero configuration, providing complete visibility into what Claude Code and other AI assistants send and receive. Users can search past sessions, inspect raw JSON, and analyze conversation patterns.

Track token usage and estimate costs across AI coding sessions

LunaRoute automatically breaks down input, output, and thinking tokens by session and model, calculates estimated costs in USD, and stores this data in SQLite for analytics. Users can query token usage patterns and identify expensive interactions.

Drop

Not a fit when

  • User needs a managed SaaS solution with vendor support and uptime guarantees
  • User requires enterprise-grade compliance certifications (SOC 2, HIPAA) for production use
  • User wants a cloud-hosted proxy without local infrastructure setup
  • User needs real-time alerting and monitoring dashboards integrated with external services
  • User operates in an environment where self-hosted open source tools are prohibited by policy
Commercials

Pricing

Free and open source