See what your coding agents use.

Track tokens, estimated cost, and sessions across Claude Code, Codex, and other agents. agent-stats reads the logs already on your machine.

Install on macOS with Homebrew
brew install nathandelenclos/tap/agent-stats
Linux and Windows downloads
agent-stats serveSample data
Usage overviewLast 7 days
Estimated cost
$14.80
Requests
312
Cache hit rate
76%

Estimated cost by day

  • Mon: Codex 0.86 USD, Claude Code 0.54 USD
  • Tue: Codex 1.20 USD, Claude Code 0.62 USD
  • Wed: Codex 0.95 USD, Claude Code 0.73 USD
  • Thu: Codex 1.61 USD, Claude Code 0.58 USD
  • Fri: Codex 1.31 USD, Claude Code 1.00 USD
  • Sat: Codex 2.12 USD, Claude Code 0.98 USD
  • Sun: Codex 1.15 USD, Claude Code 1.15 USD
Codex
$9.20
Claude Code
$5.60

Works with your coding agents

  • Claude Code
  • Codex
  • OpenCode
  • Cursor
  • Gemini CLI
View all supported agents

From totals to individual sessions

Usage and cost

Compare requests, tokens, cache hits, and estimated cost across coding agents, models, and projects.

Session history

Open a session to see its models, tool calls, subagents, and prompt signals.

Prompt review

Find requests you keep repeating and decide what belongs in your project instructions.

Your session logs stay on your machine.

agent-stats opens logs read-only and writes a local SQLite index. The dashboard listens on your machine by default.

See what the index stores