ccusage Alternative With Cost per PR and Shareable Receipts
ccusage is a great free CLI for daily and per-session Claude Code totals. AgentReceipt adds cost per PR or ticket, an explanation of each expensive step, share links and PR comments.
What ccusage is
ccusage is a free, open-source CLI that reads your local Claude Code JSONL files and reports usage and cost by day, month, session and 5-hour block.
Where ccusage is the better fit:
- Free and open source
- Runs entirely locally
- Great for daily totals and subscription block tracking
What AgentReceipt does differently
- AgentReceipt attributes cost to a finished task (PR, ticket, branch) and marks abandoned work as waste
- It explains each expensive step (cache miss, idle gap, retry loop, oversized output) with a savings figure
- Receipts get a share link and can be posted as a PR comment
- Nothing to install to try it: drop a file in the browser
Pricing
ccusage is free. AgentReceipt is free in the browser and for one repo; Pro is $19/mo per workspace.
Product details change; check each vendor’s site for current features and prices. Many teams use both: an observability platform for their own LLM apps, and AgentReceipt for coding-agent spend per task.
Itemize your own session
Drop a Claude Code or Codex log. It is parsed in your browser, and you get your real numbers instead of a model.
Drop a session log here
Claude Code ~/.claude/projects/…/*.jsonl, a Codex rollout ~/.codex/sessions/…/rollout-*.jsonl, or the claude-code-action execution file.
Parsed in your browser. Your prompts and code never leave this tab.