Skip to content

SihaoLiu/ai-usage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Usage Monitor

A fast terminal dashboard for tracking token usage and costs across Claude Code, OpenAI Codex, and Google Gemini CLI. Written in Rust.

demo

Features

  • Multi-vendor usage tracking in one place
  • Per-model token breakdown with cost analysis and daily/weekly/monthly projections
  • ASCII time series charts with ANSI colors
  • Responsive display adapting to terminal width
  • Live monitor mode with interactive keyboard controls

Install

Option 1: Download binary

Download the pre-built static binary from Releases and place it anywhere in your $PATH. No dependencies required.

Option 2: Build from source

# Standard build
cargo build --release

# Static binary (portable across x86_64 Linux)
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl

Quick Start

# All vendors, last 7 days (monitor mode)
vibe-usage

# Single snapshot, then exit
vibe-usage --once

# Last 30 days, specific vendor
vibe-usage --days 30 --vendor claude

See docs/usage.md for full usage details, data sources, monitor mode controls, and configuration.

License

MIT License - see LICENSE file.

About

Check your Claude/Codex/Gemini, and learn how much money you save

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors