Skip to content

Piebald-AI/splitrail

Repository files navigation

Splitrail

Splitrail is a fast, cross-platform, real-time Gemini CLI / Claude Code / Codex token usage tracker and cost monitor. 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.

Warning

While support for both Codex is implemented, Codex currently does not output enough information to its recorded chat files. A PR is open on Codex, however: openai/codex#1583. React with 👍 on it to encourage it to be merged!

Also check out our developer-first agentic AI experience, Piebald.

Screenshots

Screenshot of the Splitrail CLI

Screenshot of Splitrail Cloud

Development

Windows

On Windows, we use lld-link.exe from LLVM to significantly speed up compilation, so you'll need to install it to compile Splitrail. Example for winget:

winget install --id LLVM.LLVM

Then add it to your system PATH:

:: Command prompt
setx /M PATH "%PATH%;C:\Program Files\LLVM\bin\"
set "PATH=%PATH%;C:\Program Files\LLVM\bin"

or

# PowerShell
setx /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

macOS/Linux

Build as normal:

cargo run

© 2025 Piebald LLC. All rights reserved.

About

Fast, real-time Gemini CLI / Claude Code / Codex token usage tracker and cost monitor.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •