Claude Code usage

Lupen

Itemized cost receipts for Claude Code and Codex — by turn, verified, local.

Install

Install
brew install --cask momoraul/lupen/lupen

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/momoraul/Lupen.git

From the README

See what every Claude Code and Codex session actually costs — itemized, verified, local.

  Lupen recomputes your spend straight from the raw Claude Code and Codex logs — broken down by turn, step, and sub-agent, checked against the tokens, and never leaving your Mac.
Install: brew install --cask momoraul/lupen/lupen — or grab the signed DMG. Requires macOS 26 (Tahoe) on Apple Silicon.

What it shows

Your AI coding spend says $50 today. Which provider was it? Which session?
Which turn? Which sub-agent or tool loop? A daily total can't answer that, so
Lupen breaks the number down and recomputes each cost from the raw tokens.

- Provider-scoped totals — $50 today · Claude Code · 12 sessions · 84 turns. Claude Code and Codex stay in separate modes instead of one mixed list.
- Cost per Turn, Step, SkillGroup, and SubAgent, where the data allows it.
- Recomputed, then diffed — each cost is recomputed from raw tokens and the public price table and compared to the reported total, so any difference is shown rather than assumed.
- Origin-tagged attachments — every file, image, and URL is labelled by where it entered the context.
- Sub-agent cost rolls up into the parent turn and stays attributable on its own.

Gallery

      The itemized receipt. Drill from a session total down to each turn, skill group, and sub-agent — every row priced and attributable on its own.

      Origin-tagged attachments. Every file, image, and URL is labelled by where it entered the context.

      Daily spend, per provider. Cost, sessions, turns, and tokens over time.

      Searchable and resumable. Find a past session by any prompt it contains, then pick up right where you left off.

Key features

- Provider mode — Choose Claude Code or Codex. Lupen shows only that provider's sessions,…
Read the full README on GitHub

Details

Repository
momoraul/Lupen
Language
Swift
License
MIT
Last updated
13 September 2026
Topics
aiai-codinganthropicclaudeclaude-codeclicodexcost-trackingdeveloper-toolsllmmacosmenubar

FAQ

What is Lupen?

Itemized cost receipts for Claude Code and Codex — by turn, verified, local. It is a usage for Claude Code, from momoraul/Lupen on GitHub.

How do I install Lupen?

Run brew install --cask momoraul/lupen/lupen, then follow the setup in the README.

Is Lupen popular?

momoraul/Lupen has 33 GitHub stars and 5 forks. It was last updated on 13 September 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.