# Vibe Usage

> Free local-first AI coding token and cost tracker across 36 tools including Claude Code, Codex, Antigravity, Cursor, Gemini CLI, and OpenCode. Canonical URL: https://vibefriends.com/en/usage

## Quick Start

```bash
npx @vibe-cafe/vibe-usage
```

- First run signs you in and enables automatic 30-minute background sync on login; subsequent runs trigger an immediate manual sync.
- [Download Mac App](https://github.com/vibe-cafe/vibe-usage-app/releases/latest)
- [Download Windows App](https://github.com/vibe-cafe/vibe-usage-windows/releases/latest)
- [Vibe Usage (中文版)](https://vibefriends.com/usage)
- [Setup & AI Skill Guide](https://vibefriends.com/usage/setup)
- [AI Coding Leaderboard](https://vibefriends.com/rank)
- [Community Usage Trends](https://vibefriends.com/usage/trends)
- [AI Model Token Pricing](https://vibefriends.com/usage/models)
- [Vibe Products](https://vibefriends.com/products)
- [Vibe Learn](https://vibefriends.com/learn)

## Core Features

- **Automatic Background Sync**: Keep the Mac or Windows app running in your menu bar / system tray, or rely on the 30-minute CLI background daemon.
- **Privacy-First & Open Source**: Source code, file contents, and prompts never leave your device. Sync uploads only aggregated token usage buckets (cost is estimated server-side from model pricing), session summaries with hashed IDs linked to your account (timestamps, durations, message counts), 5-minute model-output active-time totals, optional project names (which can be anonymized or omitted), and minimal device & sync metadata (hostname, OS platform, runtime, client version, and sync identifiers), with public leaderboard opt-out. Both the CLI and desktop clients are open source.
- **Open-Source Repositories**: [CLI](https://github.com/vibe-cafe/vibe-usage) · [Mac](https://github.com/vibe-cafe/vibe-usage-app) · [Windows](https://github.com/vibe-cafe/vibe-usage-windows)
- **Multi-Dimensional Breakdown**: Filter token consumption and 350+ model cost estimates by time, tool, model, and project.
- **AI Skill**: Install the Skill into Claude Code, Codex, or Cursor so your coding agent can sync and query your token usage directly.

## AI Skill & CLI Commands

```bash
# Official AI Skill
npx @vibe-cafe/vibe-usage skill

# Community AI Skill
npx skills add vibe-cafe/vibe-usage

# Manage 30-minute background sync daemon
npx @vibe-cafe/vibe-usage daemon status
npx @vibe-cafe/vibe-usage daemon uninstall
npx @vibe-cafe/vibe-usage daemon install

# Reset cloud totals and re-upload from local logs
npx @vibe-cafe/vibe-usage reset --local
npx @vibe-cafe/vibe-usage reset
```

## Supported AI Coding Tools (36)

- Alma (`alma`)
- Claude Code (`claude-code`)
- Codex (`codex`)
- Cola (`cola`)
- Grok (`grok`)
- Copilot CLI (`copilot-cli`)
- CraftAgent (`craft-agent`)
- Cursor (`cursor`)
- DimAgent (`dimagent`)
- Gemini CLI (`gemini-cli`)
- OpenCode (`opencode`)
- OpenClaw (`openclaw`)
- Oh My Pi (`omp`)
- pi (`pi-coding-agent`)
- Qoder (`qoder`)
- Qoder CN (`qoder-cn`)
- Qwen Code (`qwen-code`)
- Kimi Code (`kimi-code`)
- Kiki (`kiki`)
- MiniMax Code (`mcode`)
- MiMoCode (`mimocode`)
- Amp (`amp`)
- Droid (`droid`)
- DeepSeek Harness (`dsh`)
- Antigravity (`antigravity`)
- Trae CLI (`trae-cli`)
- Hermes (`hermes`)
- Kiro (`kiro`)
- Cline (`cline`)
- Roo Code (`roo-code`)
- WorkBuddy (`workbuddy`)
- ZCode (`zcode`)
- Devin (`devin`)
- CodeBuddy (`codebuddy`)
- CodeArts Agent (`codearts-agent`)
- Kilo (`kilo`)

## Frequently Asked Questions

### How does automatic background sync work?

Your token usage updates automatically once background sync is active. With the desktop app (Mac or Windows), keep Vibe Usage running in your menu bar or system tray. With the CLI, running npx @vibe-cafe/vibe-usage the first time automatically installs a background daemon that syncs every 30 minutes and starts on login. Run the same command anytime for an immediate manual sync, or manage the daemon with daemon status, daemon uninstall, and daemon install.

### Does Vibe Usage upload my source code, file contents, or prompts?

No. Source code, file contents, and prompts never leave your device. Vibe Usage parses logs locally and uploads only aggregated token usage buckets (cost is estimated server-side from model pricing), session summaries with hashed IDs linked to your account (timestamps, durations, message counts), 5-minute model-output active-time totals, optional project names (which can be anonymized or omitted), and minimal device & sync metadata (hostname, OS platform, runtime, client version, and sync identifiers). You can hide yourself from the public leaderboard in settings, and both the CLI and desktop clients are open source on GitHub.

### Is Vibe Usage completely free?

Yes, Vibe Usage is 100% free to use with no paywalls, seat fees, or trial limits.

### How are estimated costs calculated across 350+ models?

Cost estimates are computed from official per-million-token pricing across 350+ models, covering input, output, and cache-read tokens. Your dashboard coverage indicator shows what percentage of your tokens matched known model pricing, while unrecognized models are excluded from cost estimates.

### Which AI coding tools are supported? (36 tools)

Vibe Usage currently supports 36 AI coding tools out of the box—including Claude Code, Codex, Antigravity, Cursor, Gemini CLI, OpenCode, Copilot CLI, Cline, Roo Code, Kiro, Amp, and Devin—by parsing your local usage logs automatically.

### How do I set up the AI Skill for Claude Code, Codex, or Cursor?

Run npx @vibe-cafe/vibe-usage skill (official) or npx skills add vibe-cafe/vibe-usage (community) to install the AI Skill into Claude Code, Codex, or Cursor. Once installed, your coding agent can sync and query your token usage directly from your terminal or IDE.
