Claude Code usage

Splitrail

Fast cross-platform real-time token usage and cost tracker for Claude Code and other agent CLIs.

227 stars 26 forksUsage & cost trackers Source

Install

From source
git clone https://github.com/Piebald-AI/splitrail.git

From the README

Check out Piebald
We've released Piebald, the ultimate agentic AI developer experience. \
Download it and try it out for free!  https://piebald.ai/

Scroll down for Splitrail. :point_down:

Splitrail

Splitrail is a fast, cross-platform, real-time token usage tracker and cost monitor for:
- Gemini CLI (and Qwen Code)
- Claude Code
- Codex CLI
- Cline / Roo Code / Zoo Code / Kilo Code (VS Code extension + CLI)
- GitHub Copilot (VS Code)
- GitHub Copilot CLI
- OpenCode
- Pi Agent
- Grok
- DeepSeek Harness

Run one command to instantly review all of your CLI coding agent usage.  Upload your usage data to your private account on the Splitrail Cloud for safe-keeping and cross-machine usage aggregation.  From the team behind  Piebald.

⭐ If you find Splitrail useful, please consider starring the repository to show your support! ⭐

Download the binary for your platform on the Releases page.

Screenshots

Splitrail CLI

Splitrail VS Code Extension

Splitrail Cloud

Local Web Dashboard

Run splitrail web and open http://127.0.0.1:8765. Use splitrail web --port 9000 to choose another port. The server listens only on 127.0.0.1 and accepts that IP in the Host header. It reads local usage through the existing analyzers without uploading it. Static assets are embedded in the binary; no frontend build or Node installation is needed to run it.

The overview shows estimated cost, total tokens, replies (model responses), session count, and cache share, with comparisons against the previous period. Filter by today, 7, 30, or 90 days, or all history, and select tools, models, or projects. Selections within one field combine; selections across fields narrow the result. Linked worktrees, repository subdirectories, and paths connected by an analyzer's project hash are grouped into one…
Read the full README on GitHub

Details

Language
Rust
License
MIT
Last updated
30 October 2026
Topics
agenticanalyzerantigravity-cliblazing-fastccusageclaude-codeclinecodexgcusagekilo-codeopencodepi-agent

FAQ

What is Splitrail?

Fast cross-platform real-time token usage and cost tracker for Claude Code and other agent CLIs. It is a usage for Claude Code, from Piebald-AI/splitrail on GitHub.

How do I install Splitrail?

Clone Piebald-AI/splitrail from GitHub and follow the setup steps in its README.

Is Splitrail popular?

Piebald-AI/splitrail has 227 GitHub stars and 26 forks. It was last updated on 30 October 2026.

More usage & cost trackers

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