Claude Code usage
Lupen
Itemized cost receipts for Claude Code and Codex — by turn, verified, local.
Install
brew install --cask momoraul/lupen/lupenFound in the project README. Check it for setup steps after installing.
git clone https://github.com/momoraul/Lupen.gitFrom 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,…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
Claudestat
34DeibyGS/claudestat
Real-time execution trace and cost intelligence for Claude Code
Cccost
26badlogic/cccost
Instrument Claude Code to track actual token usage and cost
Claude Code Manager
32vishalguptax/claude-code-manager
Claude Code Manager: a VS Code sidebar for Claude Code sessions, usage and limits, accounts, MCP, skills, hooks, agents and plugins. 100% local.
So Agentbar
22sotthang/so-agentbar
macOS menu bar app that monitors your active Claude Code agent sessions in real-time
Claude Session Keeper
33nomadictuba2005/claude-session-keeper
claude-session-keeper sends a simple "Hi" message to Claude Code every 5 hours, allowing your rolling clock to reset as early as possible. This can allow you to code a lot more, as if a session starts at 6 am instead of 9 am for example, you can have the same usage in the first session equivalent to 5 hours in just 2.
Agent Usage Monitor
32wuyuxiangX/agent-usage-monitor
Raycast extension for real-time Claude Code session monitoring with hooks-based state tracking
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.