tu
Part of HexoKit — see all projects there.
AI coding assistant cost tracking CLI. Track your token usage in style!
Install
curl -fsSL https://shll.ai/install | sh -s -- tuInstalls tu (plus the shll meta-CLI) via Homebrew, handling tap trust automatically. To install the entire shll toolkit instead:
curl -fsSL https://shll.ai/install | sh📖 Full walkthrough: the install guide covers install, shell completions, and multi-machine setup in depth.
<img width="1025" height="675" alt="tu terminal output showing today's AI coding assistant costs across Claude Code, Codex, OpenCode, Gemini, Copilot, and Kimi" src="https://github.com/user-attachments/assets/d6d1c930-8230-4910-ba1b-985e7df17e7c" /
Shell completions
# bash
echo 'eval "$(tu shell-init bash)"' >> ~/.bashrc
# zsh
echo 'eval "$(tu shell-init zsh)"' >> ~/.zshrc
# fish
tu shell-init fish > ~/.config/fish/completions/tu.fish💡 Have other shll tools? shll shell-install handles all of their shell integrations and autocompletions at once.
Update
tu update
# brew update
# brew upgrade tuUsage
📖 See workflows for end-to-end recipes, and the full command reference for every command and flag.
tu # Today's cost, all tools
tu cc # Today's cost, Claude Code
tu h # Daily cost history, all tools
tu cc mh # Monthly cost history, Claude Code
tu m # This month's cost, all tools
tu m lb # This month's leaderboard — users ranked by cost (multi mode)
tu lbh # Daily leaderboard history — rows x user columns (multi mode)Sources: cc (Claude Code), codex/co (Codex), oc (OpenCode), gemini/gem (Gemini), copilot/cop (Copilot), kimi/ki (Kimi), all (default)