- Notifications
You must be signed in to change notification settings - Fork11
Fast, cross-platform, real-time token usage tracker and cost monitor for Gemini CLI / Claude Code / Codex CLI / Qwen Code / Cline / Roo Code / Kilo Code / GitHub Copilot / OpenCode / Pi Agent / Piebald.
License
Piebald-AI/splitrail
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
We've releasedPiebald, the ultimate agentic AI developer experience.
Download it and try it out for free!https://piebald.ai/
Splitrail is afast, cross-platform, real-time token usage tracker and cost monitor for:
- Gemini CLI (andQwen Code)
- Claude Code
- Codex CLI
- Cline /Roo Code /Kilo Code
- GitHub Copilot
- OpenCode
- Pi Agent
Run one command to instantly review all of your CLI coding agent usage. Upload your usage data to your private account on theSplitrail Cloud for safe-keeping and cross-machine usage aggregation. From the team behindPiebald.
Note
⭐If you find Splitrail useful, please considerstarring the repository to show your support! ⭐
Download the binary for your platform on theReleases page.
Splitrail can run as anMCP (Model Context Protocol) server, allowing AI assistants to query your usage statistics programmatically.
splitrail mcp
get_daily_stats- Query usage statistics with date filteringget_model_usage- Analyze model usage distributionget_cost_breakdown- Get cost breakdown over a date rangeget_file_operations- Get file operation statisticscompare_tools- Compare usage across different AI coding toolslist_analyzers- List available analyzers
splitrail://summary- Daily summaries across all datessplitrail://models- Model usage breakdown
Splitrail stores its configuration at~/.splitrail.toml:
[server]url ="https://splitrail.dev"api_token ="your-api-token"[upload]auto_upload =falseupload_today_only =false[formatting]number_comma =falsenumber_human =falselocale ="en"decimal_places =2
On Windows, we uselld-link.exe from LLVM to significantly speed up compilation, so you'll need to install it to compile Splitrail. Example forwinget:
winget install --id LLVM.LLVM
Then add it to your system PATH:
:: Command promptsetx /MPATH"%PATH%;C:\Program Files\LLVM\bin\"set"PATH=%PATH%;C:\Program Files\LLVM\bin"
or
# PowerShellsetx/M PATH"$env:PATH;C:\Program Files\LLVM\bin\"$env:PATH="$env:PATH;C:\Program Files\LLVM\bin\"
Then use standard Cargo commands to build and run:
cargo run
Build as normal:
cargo runCopyright © 2026Piebald LLC.
About
Fast, cross-platform, real-time token usage tracker and cost monitor for Gemini CLI / Claude Code / Codex CLI / Qwen Code / Cline / Roo Code / Kilo Code / GitHub Copilot / OpenCode / Pi Agent / Piebald.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Contributors7
Uh oh!
There was an error while loading.Please reload this page.



