Track your AI coding costs in real-time. Vibe Coding Tracker is a lightweight, high-performance CLI tool built in Rust that monitors and analyzes your Claude Code, Codex, Copilot, Gemini, OpenCode, Cursor, Hermes, Grok, DeepSeek Harness, and Antigravity usage — with detailed cost breakdowns, token statistics, and code operation insights, all while keeping the memory footprint minimal.
Note: CLI examples use the short alias
vct. If you installed via npm/pip/cargo, the binary might be namedvibe_coding_trackerorvct. Create an alias or replacevctwith the full name when running commands if needed.
Why Vibe Coding Tracker?
Know Your Costs
Stop wondering how much your AI coding sessions cost. Get real-time cost tracking with automatic pricing updates from LiteLLM.
Ultra-Lightweight
Built with Rust for minimal resource footprint. The interactive TUI dashboard typically sits at around 60 MB of resident memory once the first refresh is done, even with thousands of sessions on disk — no Electron, no bloated runtimes. A persistent per-session ledger under ~/.vct/sessions/ means only new or changed sources are ever parsed again, even across runs.
Beautiful Visualizations
Choose your preferred view:
- Interactive Dashboard: One terminal app with Usage, Analysis, Quota and Settings tabs, an immediate loading spinner, background incremental refreshes, a scrollable, sortable model list (arrow keys), a live per-process CPU/memory readout, and compact K/M/B number formatting
- Static Reports: Professional tables for documentation
- Script-Friendly: Plain text and JSON for automation
- Full Precision: Export exact costs for accounting
Zero Configuration
Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemini, OpenCode, Cursor, Hermes, Grok, DeepSeek Harness, and Antigravity. No setup required — just run and analyze. A ~/.vct/config.toml is created with sensible defaults on first run if you ever want to tweak behavior (see Configuration).
Rich Insights
- Token usage by model and date
- Cost breakdown by cache types (read / create)
- File operations tracking (edit, read, write lines)
- Tool call history (Bash, Edit, Read, Write, TodoWrite)
- Per-provider totals
Key Features
| Feature | Description |
|---|---|
| Multi-Provider | Claude Code, Codex, Copilot, Gemini, OpenCode, Cursor, Hermes, Grok, DeepSeek Harness, and Antigravity |
| Smart Pricing | Fuzzy model matching + daily cache from LiteLLM |
| 4 Display Modes | Interactive TUI, static table, plain text, and JSON |
| Dual Analysis | Token/cost stats (usage) + code operation stats (analysis) |
| Live Quota Panels | Live quota usage for Claude, Codex, Copilot, Cursor, Grok, and Antigravity |
| Ultra-Lightweight | Around 60 MB RSS in the TUI, compact incremental scans — built with Rust |
| Live Updates | Responsive loading and background refreshes with change highlighting |
Quick Start
Installation
Choose the installation method that works best for you:
Method 1: Install from npm
Prerequisites: Node.js v22 or higher
Choose one of the following package names (they are identical):
# Main package
npm install -g vibe-coding-tracker
# Short alias with scope
npm install -g @mai0313/vct
# Full name with scope
npm install -g @mai0313/vibe-coding-tracker
Method 2: Install from PyPI
Prerequisites: Python 3.8 or higher
pip install vibe_coding_tracker
# Or with uv
uv pip install vibe_coding_tracker
# Run without installing, straight from PyPI (uv)
uvx vibe_coding_tracker usage
Method 3: Install from crates.io
Install using Cargo from the official Rust package registry:
cargo install vct-cli
First Run
# Open the interactive app on the Usage tab
vct
# Or run the binary built by Cargo/pip
vibe_coding_tracker
# Open it on the Analysis tab (code operations across all sessions)
vct analysis
Command Guide
Run vct --help to list the commands, and vct <command> --help for a command's flags.
vct with no command opens the interactive app, one screen with four tabs: Usage, Analysis, Quota and Settings. vct usage, vct analysis and vct quota open the same app on their own tab, while --json, --text and --table print and never open it. Without a terminal (piped or redirected), a bare vct prints the help and exits with status 2.
| Key | Action |
|---|---|
Tab / Shift+Tab |
Next / previous tab (or click a tab in the top bar) |
↑ / ↓ |
Move the selected row |
Enter |
Show the selected model's full numbers (and matched pricing model on Usage) |
← / → |
Sort by the column to the left / right (Usage, Analysis) |
[ / ] |
Earlier / later time range: day, week, month, all (Usage, Analysis) |
r |
Refresh now (Usage, Analysis) |
m |
Merge / split provider prefixes, saved to the config file (Usage) |
p |
Open the Provider Usage panel (Usage) |
? |
List the current tab's keys |
Esc |
Close the open panel |
q |
Quit |
The Quota and Settings tabs scan no sessions. The first visit to Usage or Analysis starts that tab's scan, and only the tab on screen refreshes on its timer. The right side of the tab bar shows the time range and vct's own memory and CPU.
Time range flags (shared by usage and analysis, mutually exclusive, default --all; in the app they set the range it opens with):
| Flag | Window |
|---|---|
--daily |
Sessions modified today |
--weekly |
Current ISO week (Monday → today) |
--monthly |
Current calendar month |
-a, --all |
Every session on disk (default) |
Usage Command
Track your spending across all AI coding sessions.
Basic Usage
# Open the app on the Usage tab (recommended)
vct usage
# Static table for reports
vct usage --table
# Plain text for scripts
vct usage --text
# JSON for data processing (every row has cost_usd; matched_model only when priced under another model name)
vct usage --json
# Save enriched JSON with shell redirection
vct usage --json > report.json
# Combine time range with output format
vct usage --weekly
vct usage --table --monthly
vct usage --json --daily
# Merge same model reported under different provider prefixes
# (e.g. openai/gpt-5.5 + azure/gpt-5.5 + gpt-5.5 -> one row)
vct usage --table --merge-providers
Preview: Usage Tab (vct usage)
vct Usage Analysis Quota Settings range day week month all 61.8 MB · CPU 0.1%
┌ Models · $79.33 · 49.1M tokens · 3 models ───────────────────────────────────────────────────────────── sort: cost ▼ ┐
│Model Input Output Cache Read Cache Write Total Cost (USD) Share│
│ │
│claude-opus-4-8 25.7K 179K 42.9M 496K 43.6M $77.59 ━━━━━━━━━ 88.8%│
│claude-haiku-4-5-20251001 5.57K 19.8K 5.20M 55.0K 5.28M $1.34 ━ 10.8%│
│gemini-3.1-pro-preview 129K 10.3K 66.0K 1.70K 207K $0.40 0.4%│
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
● Claude $78.93 ● Gemini $0.40
↑↓ move ←→ sort [ ] range p providers m merge ⏎ details r refresh tab view ? help q quit Star on GitHub
The Usage and Analysis tabs each start their scan on the first visit and draw a centered Loading sessions... spinner. Loading stays responsive to q, Ctrl+C, and resize events. Later scans keep the last successful data visible with a Refreshing... footer. A failed refresh keeps the last-known-good view and retries on the next scheduled or manual refresh. A range with no sessions shows an empty table.
Preview: Table & JSON (vct usage)
--table prints the same numbers as a static report with a per-provider summary; --json emits one enriched row per model (each with cost_usd) for scripting.
Token Usage Statistics
┌───────────────────────────┬─────────┬─────────┬─────────────┬─────────────┬──────────────┬────────────┐
│ Model ┆ Input ┆ Output ┆ Cache Read ┆ Cache Write ┆ Total Tokens ┆ Cost (USD) │
╞═══════════════════════════╪═════════╪═════════╪═════════════╪═════════════╪══════════════╪════════════╡
│ opencode/gemini-3.5-flash ┆ 19,421 ┆ 254 ┆ 0 ┆ 0 ┆ 19,675 ┆ $0.03 │
│ gpt-5.5 ┆ 242,227 ┆ 16,229 ┆ 2,406,912 ┆ 0 ┆ 2,665,368 ┆ $5.56 │
│ claude-opus-4-8 ┆ 401,937 ┆ 936,186 ┆ 138,099,926 ┆ 6,057,836 ┆ 145,495,885 ┆ $151.29 │
│ TOTAL ┆ 663,585 ┆ 952,669 ┆ 140,506,838 ┆ 6,057,836 ┆ 148,180,928 ┆ $156.88 │
└───────────────────────────┴─────────┴─────────┴─────────────┴─────────────┴──────────────┴────────────┘
Totals (by Provider)
┌───────────────┬─────────────┬─────────┐
│ Provider ┆ Tokens ┆ Cost │
╞═══════════════╪═════════════╪═════════╡
│ Claude ┆ 145,495,885 ┆ $151.29 │
│ Codex ┆ 2,665,368 ┆ $5.56 │
│ OpenCode ┆ 19,675 ┆ $0.03 │
│ All Providers ┆ 148,180,928 ┆ $156.88 │
└───────────────┴─────────────┴─────────┘
// vct usage --json (one model shown; rows come in no fixed order)
[
{
"cost_usd": 151.29,
"model": "claude-opus-4-8",
"usage": {
"cache_creation": {
"ephemeral_1h_input_tokens": 0,
"ephemeral_5m_input_tokens": 6057836
},
"cache_creation_input_tokens": 6057836,
"cache_read_input_tokens": 138099926,
"input_tokens": 401937,
"output_tokens": 936186,
"reasoning_output_tokens": 0,
"total_tokens": 145495885
}
}
]
Every row carries the same flat token fields regardless of provider. A few keys appear only on a row that has something to put in them: cache_creation splits the cache writes into their 5-minute and 1-hour TTL shares, server_tool_use counts Claude web searches, above_tier holds the tokens of requests whose prompt crossed a long-context price tier, and a Gemini row that spent tool tokens carries tool_tokens, which LiteLLM has no rate for and which are counted in total_tokens alone.
What It Scans
The tool automatically scans these directories:
~/.claude/projects/**/*.jsonl(Claude Code — recursive, includes subagent logs)~/.codex/sessions/**/*.jsonl(Codex — recursive, includes daily subdirectories) plus~/.codex/archived_sessions/*.jsonl, the flat directory Codex moves a session's log into when you archive it (a session found in both is counted once)~/.copilot/session-state/<sessionId>/events.jsonl(Copilot CLI)~/.gemini/tmp/<project_hash>/chats/*.jsonl(Gemini CLI)~/.local/share/opencode/opencode.db(OpenCode — SQLite database; honors$XDG_DATA_HOME)~/.cursor/chats/*/*/store.db(Cursor — SQLite chat stores, used foranalysisand a localusageestimate consistent with the other providers)~/.hermes/state.db(Hermes — SQLite database, honors$HERMES_HOME;usageonly)$GROK_HOME/sessions/*/*/signals.json(Grok CLI — defaults to~/.grok; siblingupdates.jsonlsuppliesanalysisdata)$DSH_HOME/sessions/*/*/session.jsonl.zstd(DeepSeek Harness — defaults to~/.dsh; a root configured withcompression = "none"writessession.jsonlinstead, and both are read)~/.gemini/{antigravity-cli,antigravity,jetski}/brain/*/.system_generated/logs/transcript_full.jsonl(Antigravity — theagyCLI, the Desktop app and other Antigravity builds, counted as one provider; each conversation's model comes from the siblingconversations/<id>.db)
Grok usage is one point-in-time local context estimate: vct records signals.json's contextTokensUsed as cache-read tokens and estimates cost at the model's cache-read price. It is not cumulative billed usage. analysis reconstructs completed Read / Write / Edit / Bash / TodoWrite operations from the sibling updates.jsonl. For your actual billed allowance, see the Grok quota panel under Quota Command.
For noninteractive usage and analysis scans, vct exits with an error when every discovered source fails. If only some sources fail, it keeps the successful results and prints one diagnostic summary to stderr. The TUI stays best-effort and preserves its last successful payload instead.
Session Ledger
Every usage and analysis scan reads and writes a per-session ledger under ~/.vct/sessions/ (one <provider>.json per assistant). A session that has not changed is never parsed twice, so one-shot runs and the dashboard's first paint only spend time on what changed. More importantly, a session stays in the ledger after its source is gone: when an assistant prunes its own history (Claude Code keeps 30 days by default) or a whole session directory such as ~/.claude/projects is deleted, every total still includes it, and noninteractive runs print a one-line note saying how many sessions came from the ledger. A resumed session is re-read when its log changes. The ledger holds only per-day token counts and tool counters in each provider's own shape, never transcripts or prices, and vct never deletes it: an unreadable file is renamed aside and a file written by a newer vct is left alone. Delete the directory to start over from what is on disk. vct analysis --json and vct analysis FILE parse their files in full and do not use it.
Other Machines
vct usage and vct analysis can add the sessions of other machines to this one's totals. List them as ssh destinations in config.toml:
[remotes]
hosts = ["devbox", "wei@laptop"]
vct then runs vct ledger export on each host over ssh and folds what comes back into every total. Only that machine's ledger crosses the connection, which is per-day token counts and tool counters: conversations, databases and credentials stay where they are. Each host needs a login that works without a prompt, because vct runs ssh in batch mode: a key, an agent, or whatever your ~/.ssh/config sets up for that name. If a Linux or macOS remote does not have vct installed yet, the local vct automatically downloads the matching release binary, streams it over ssh into ~/.local/bin/vct, and exports the ledger right away (even if the remote machine has no outbound internet access).
- A one-shot command (
--json,--text,--table) fetches first and waits up to 30 seconds per host. A host's first export parses its whole history and can outlast that wait; it finishes there anyway, so the next run gets it. The app fetches in the background everyrefresh_intervalseconds (default 300) and never waits. - A host that cannot be reached keeps showing its last fetched data, with a warning on stderr for a one-shot command and in the log for the app. Taking a host out of
hostsremoves its data. - A non-interactive ssh session has a bare
PATH, so vct looks for the remote binary onPATH, in~/.local/bin, in~/.cargo/binand under~/.nvmbefore auto-installing into~/.local/bin. If it is installed elsewhere, setcommandto how to start it. - A session both machines hold, as with a shared home directory, counts once. Days are each machine's own local dates. Totals are merged, with no per-machine breakdown.
vct analysis --json,vct analysis FILEand the quota panels stay local.
Analysis Command
Deep dive into code operations — see exactly what your AI assistant did.
See tests/fixtures/sessions/ for sample inputs and matching JSON outputs for the four JSONL providers, plus the Grok session fixture under tests/fixtures/sessions/grok/ the DeepSeek Harness one under tests/fixtures/sessions/dsh/, and the Antigravity one under tests/fixtures/sessions/antigravity/.
Basic Usage
# Open the app on the Analysis tab, all sessions (default)
vct analysis
# Static table output with per-provider totals
vct analysis --table
# Plain text for scripts
vct analysis --text
# Complete parser results for every session
vct analysis --json
# Analyze a single conversation file → stdout JSON
vct analysis ~/.claude/projects/session.jsonl
# Summarize only that conversation
vct analysis ~/.claude/projects/session.jsonl --table
# Save complete JSON with shell redirection
vct analysis --json > report.json
vct analysis ~/.claude/projects/session.jsonl > session-analysis.json
# Combine time range with output format
vct analysis --weekly
vct analysis --table --monthly
vct analysis --json --daily
vct analysis --json --daily > today.json
Preview: Analysis Tab (vct analysis)
vct Usage Analysis Quota Settings range day week month all 61.9 MB · CPU 0.1%
┌ Models · 135K lines · 1.80K tool calls · 3 models ─────────────────────────────────────────────── sort: edit lines ▼ ┐
│Model Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write│
│ │
│claude-opus-4-8 12.4K 88.1K 9.02K 412 231 604 96 88│
│gemini-3.1-pro-preview 2.10K 14.8K 1.62K 84 44 112 16 15│
│claude-haiku-4-5-20251001 840 5.40K 610 31 16 42 6 5│
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌ Providers ───────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days│
│ │
│● Claude 13.2K 93.5K 9.63K 443 247 646 102 93 12│
│● Gemini 2.10K 14.8K 1.62K 84 44 112 16 15 3│
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
↑↓ move ←→ sort [ ] range ⏎ details r refresh tab view ? help q quit Star on GitHub
The table is sorted by edit lines, highest first; ← / → move the sort to the column on that side, and the sorted column's header is highlighted.
Preview: Table & JSON (vct analysis)
--table renders the per-model breakdown plus a per-provider summary (with an Active Days column). --text and --table are compact projections of the same normalized parser records. --json keeps the complete records, including per-operation details and token usage. With no <FILE>, the outer array contains one CodeAnalysis object per session; with <FILE>, stdout is that single object and matches the corresponding shape under tests/fixtures/sessions/.
Analysis Statistics
┌─────────────────┬────────────┬────────────┬─────────────┬──────┬──────┬──────┬───────────┬───────┐
│ Model ┆ Edit Lines ┆ Read Lines ┆ Write Lines ┆ Bash ┆ Edit ┆ Read ┆ TodoWrite ┆ Write │
╞═════════════════╪════════════╪════════════╪═════════════╪══════╪══════╪══════╪═══════════╪═══════╡
│ gpt-5.5 ┆ 0 ┆ 3,087 ┆ 0 ┆ 25 ┆ 0 ┆ 10 ┆ 0 ┆ 0 │
│ claude-opus-4-8 ┆ 1,493 ┆ 15,564 ┆ 970 ┆ 123 ┆ 134 ┆ 144 ┆ 0 ┆ 12 │
│ TOTAL ┆ 1,493 ┆ 18,651 ┆ 970 ┆ 148 ┆ 134 ┆ 154 ┆ 0 ┆ 12 │
└─────────────────┴────────────┴────────────┴─────────────┴──────┴──────┴──────┴───────────┴───────┘
// vct analysis --json (one abbreviated session shown)
[
{
"user": "alice",
"extensionName": "Claude-Code",
"insightsVersion": "...",
"machineId": "...",
"records": [
{
"totalUniqueFiles": 3,
"totalReadLines": 120,
"readFileDetails": [
{
"filePath": "/repo/src/main.rs",
"lineCount": 120,
"characterCount": 4102,
"timestamp": 1783872000000
}
],
"toolCallCounts": { "Bash": 1, "Edit": 0, "Read": 1, "TodoWrite": 0, "Write": 0 },
"conversationUsage": { "claude-opus-4-8": { "input_tokens": 42, "output_tokens": 18 } }
}
]
}
]
Batch analysis reads live provider stores. If an assistant appends to a session during the scan, later runs can legitimately contain newer data. Unchanged inputs serialize in a deterministic order.
Noninteractive analysis returns an error when every discovered source fails or uses an unrecognized schema. If only some sources fail, successful output is preserved and a warning is written to stderr.
analysis FILE follows the same rule for malformed or unsupported records inside one file: parsed JSON/text/table output is preserved on stdout and a generic skipped-record warning is written to stderr.
Codex code-mode sessions expose a completed JavaScript exec cell but no structured trace for its nested tools. VCT counts that cell as one Bash call and preserves its source in complete JSON, but does not guess nested Read/Edit/Write operations.
Update Command
Keep installations up to date automatically in the background.
Release builds check for a newer release in the background at most once per UTC day across every installation method (the installer scripts, npm, PyPI, and cargo install). When a newer release is available, vct downloads and installs the matching binary without printing to stdout or stderr, and the new version takes effect on the next launch. In the interactive app, the footer shows Updated to vX.Y.Z once the update is ready; on Windows, a quiet post-exit helper swaps the executable after the running process exits. A network failure, rate limit, read-only install directory, or another running update leaves the current session untouched and records the reason in the diagnostic log (throttled to once per UTC day). Local debug builds and VCT_OFFLINE=1 skip the check completely.
Set general.auto_update = false in ~/.vct/config.toml to disable automatic background updates. The explicit vct update command retains its manual behavior, and VCT_OFFLINE=1 applies to it as well: --check, the interactive prompt, and --force return without contacting GitHub.
Basic Usage
# Check for updates
vct update --check
# Interactive update with confirmation
vct update
# Force update — always downloads latest version
vct update --force
Preview (vct update --check)
Current version: v1.3.0
Checking for latest release...
Latest version: v1.3.0 — you are up to date!
Version Command
Report the embedded build metadata (binary version, Rust toolchain, Cargo version):
vct version # Pretty table
vct version --text # One-field-per-line, script-friendly
vct version --json # Machine-readable JSON
┌───────────────┬──────────┐
│ Version ┆ 1.3.0 │
│ Rust Version ┆ 1.96.0 │
│ Cargo Version ┆ 1.96.0 │
└───────────────┴──────────┘
Quota Command
The live quota panels full screen, or one provider's raw quota/usage API response.
Quota Tab
vct quota opens the app on the Quota tab (or switch to it with Tab or by clicking Quota in the top bar). It shows live quota usage for Claude Code, Codex, GitHub Copilot, Cursor, Grok, and Antigravity with zero setup: vct reads each provider's own credentials, calls its usage API (for Antigravity, asks the agy CLI) on a background thread, and keeps the cards current while you work. Every gauge is percent used, so a full bar means the window is spent, not untouched. Cards stretch their gauge bars to the available width, fitting as many providers as the terminal allows (a +N hidden, enlarge the terminal note counts the rest). It scans no session, so it opens at once and is light enough to leave running in a spare pane. Trim panels under [usage.quota] in config.toml, or set it to [] to hide every quota card.
vct quota
vct Usage Analysis Quota Settings 31.6 MB · CPU 0.0%
┌ ● Claude ────────────────────────────┐┌ ● Codex ─────────────────────────────┐
│max 5x just now││plus just now│
│5h ━━━━━━─────────── 30% ↻ 2h18m ││5h ───────────────── 0% ↻ 4h59m │
│7d ━━━━━──────────── 28% ↻ 6d3h ││7d ━──────────────── 1% ↻ 6d8h │
│Fable ━━━────────────── 14% ↻ 6d3h ││credits 0 · +3 reset │
│bal - · $0.00 used ││reset expires 17d11h │
└──────────────────────────────────────┘└──────────────────────────────────────┘
tab view ? help q quit Star on GitHub
- Claude — plan tier, 5-hour, weekly, and per-model weekly usage from the official OAuth usage API (
GET /api/oauth/usage), read from~/.claude/.credentials.json, plus your credit balance. Polled about once a minute to stay under the endpoint's rate limit; a redLIMITflag appears in the title when a cap is hit. The per-model weekly row is best-effort and simply hides when that scope is not returned. - Codex — plan tier, available 5-hour and weekly usage windows, credit balance, and the earliest fetched available earned-reset expiry from the ChatGPT backend (
wham/usage+wham/rate-limit-reset-credits) using~/.codex/auth.json(with approximate remaining messages / spend cap when applicable); falls back to the newestrate_limitsin your Codex session logs when the API is unavailable (the title showsCodexvsCodex (session)). - Copilot — plan tier plus your premium-request quota, shown as two gauges: percent used and the used / total request count (e.g.
45/1500), from GitHub's Copilot API (GET /copilot_internal/user), read from~/.copilot/config.json. The request impersonates the Copilot CLI. The token is long-lived, so there is no refresh; a401/403shows arun: copilot loginhint. - Cursor — plan tier, total / auto / API percent used, and on-demand spend from cursor.com (
GET /api/usage-summary), using the session token in~/.config/cursor/auth.json. - Grok — plan tier plus your included-allowance usage for the current weekly or monthly period, from the Grok CLI's own billing endpoint (
GET /v1/billing?format=credits), read from~/.grok/auth.json. A prepaid balance is shown only once it is non-zero, and pay-as-you-go spend once you have either spent something or set a cap. The request impersonates the Grok CLI; a401/403shows arun: grok loginhint. - Antigravity — the limits of each shared model pool (for agy: Gemini, and Claude / GPT, each with a 5-hour and a weekly limit), from the
agyCLI's own/usagecommand (agy -p /usage --output-format json). The card names each pool as agy does and labels each limit by agy's own window (5hfirst, thenweekly); a card too short for every pool flags the rest with+N./usagereports no plan, so the first line shows only the age. vct runsagyfrom yourPATH, or else from where agy installs (~/.local/bin/agy,%LOCALAPPDATA%\agy\bin\agy.exe) or from/google/bin/releases/jetski-devs/tools/clion Linux or/usr/local/bin/jetskion macOS; an agy that has not signed in never hides a build found there. agy keeps its own sign-in fresh, so vct only checks whether agy's sign-in entry exists (Windows Credential Managergemini:antigravity, macOS Keychaingemini/antigravity, or~/.gemini/antigravity-cli/antigravity-oauth-token) and reads its modification time, never reading or writing the token; a build at those two paths signs in its own way, so finding it is enough. Each poll starts agy (a few seconds and about 260 MB), so this card refreshes at most every 5 minutes. When agy cannot sign in, the card shows arun: agy acp --loginhint and the dashboard does not run agy again until that sign-in entry changes.
Automatic token refresh. For Claude, Codex, and Grok, when a token is near expiry or rejected, vct refreshes it and writes the new token back to the provider's own credential file (in that CLI's exact format). For Grok, every other login in the file is preserved on write. If a refresh cannot proceed, the panel shows a run: <provider> auth login hint instead of breaking. Copilot (long-lived token) and Cursor (kept fresh by its own client) are read-only — vct never writes their credential files. Antigravity's token belongs to agy, which refreshes it whenever vct asks it for /usage.
A card appears only for a provider whose credentials are present, placed on a uniform grid that fits as many cards per row as the terminal allows and wraps the rest onto the next row.
Platform note: on macOS, Claude Code stores its OAuth credentials in the system Keychain rather than
~/.claude/.credentials.json, so the Claude panel is not shown on macOS. Cursor's~/.config/cursorcredential path is Linux-oriented.
vct monitorand the hidden aliasvct fetchare removed. Usevct quotafor the cards andvct quota <provider>for a raw response.
Raw Response (vct quota <provider>)
With a provider, vct quota prints that provider's raw response with no parsing or aggregation. It calls the same quota endpoint the usage dashboard uses (Claude / Codex / Copilot / Cursor / Grok) exactly once and prints the raw body, so you can inspect the exact API shape or sanity-check your credentials. It reads each provider's stored credentials and does not refresh tokens: if a token is expired, re-auth with that provider's own CLI (claude / codex / copilot / cursor-agent / grok). vct quota antigravity instead runs agy -p /usage --output-format json once (found the way the dashboard finds it) and prints what it printed; agy refreshes its own token as it does so.
--json, --text and --table print one provider's response, so vct quota --json without a provider is an error.
# Raw JSON (default)
vct quota claude
vct quota codex
vct quota copilot
vct quota cursor
vct quota grok
vct quota antigravity
# Flattened plain text
vct quota codex --text
# Flattened key/value table
vct quota copilot --table
Configuration
vct keeps its user settings in ~/.vct/config.toml. The file is created with defaults on first run, so you never have to write it by hand — edit it only when you want to change a default. It is generated from vct's typed settings and carries a #:schema directive on the first line, so a schema-aware TOML editor (taplo / VS Code "Even Better TOML") gives you autocomplete and validation. Print the schema yourself with vct config schema. A file written by an older vct is upgraded to the current layout in place the next time vct reads it (or on demand with vct config migrate), so an upgrade never leaves you on a stale format. That upgrade also adds a quota panel released after your file was written — once. Remove the name again and it stays removed, and a panel you had already dropped is never brought back.
Run vct config show to print the file; its comments explain every setting.
Settings Tab
Switch to the Settings tab with Tab (or click Settings in the top bar) to edit every config.toml setting as a form: one list of every setting grouped by section, the section list on the left marking where the selection is, and under them the selected field's description, config key and default. A * marks a field changed from its default.
vct Usage Analysis Quota Settings 31.8 MB · CPU 0.0%
┌ Sections ──────┐┌ Settings ─────────────────────────────────────────────────────────────────────────────── 27 more ↓ ┐
│ General ││ General │
│ › Usage ││ Default time range ‹ all ›│
│ Analysis ││ Check for updates on start [x] on│
│ Providers ││ │
│ Remotes ││ Usage │
│ Performance ││ Merge models across providers [ ] off│
│ Logging ││ Redraw interval ‹ 10 s ›│
│ ││ Quota panel: Claude [x] on│
│ ││ Quota panel: Codex [x] on│
│ ││ Quota panel: Copilot [x] on│
│ ││ Quota panel: Cursor [x] on│
│ ││ Quota panel: Grok [x] on│
│ ││ Quota panel: Antigravity [x] on│
│ ││ Quota poll interval ‹ 60 s ›│
└────────────────┘└────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌ Quota panel: Claude · usage.quota.panels ─────────────────────────────────────────────────────────── default: [x] on ┐
│Which live quota panels to show in the app (by provider name: `claude` / `codex` / `copilot` / `cursor` / `grok` / │
│`antigravity`). An empty list hides every quota card. │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
↑↓ move ←→ change space toggle ⏎ edit x reset e editor tab view ? help q quit Star on GitHub
↑/↓move through every setting,PgUp/PgDnjump a section,←/→change a value (toggle, step a number, cycle a choice),Spacetoggles,xresets the field to its default, andeopens the file in$VISUAL/$EDITORand reloads it when the editor exits.Enteropens an editor: a list to pick from, a number or text input, or the remote host list (aadd,Enteredit,ddelete).- Each change is written to the file at once and keeps the file's comments.
- Changes to merge, the refresh intervals, the quota panels, the quota poll interval and the provider toggles show in the running app (quota panels when you open the Quota tab). Default time range, auto update, scan threads, logging and remotes apply from the next start, and the form says so on those fields.
Editing the file by hand and the vct config commands below still work.
Managing the file
# Print the config file path
vct config path
# Print the current settings
vct config show
# Open the file in $VISUAL / $EDITOR (falls back to vi / notepad)
vct config edit
# Print the JSON schema (regenerate with: vct config schema > vct.schema.json)
vct config schema
# Upgrade a legacy-format file to the current layout in place
vct config migrate
Smart Pricing System
How It Works
- Automatic Updates: Fetches pricing from LiteLLM once per UTC day
- Deterministic Matching: Finds the most specific model match even for versioned or provider-prefixed names
- Failure Safety: A failed fetch cannot replace a good cache; vct keeps the previous map and backs off for five minutes before another attempt
Model Matching
Priority Order:
- Exact Match:
claude-sonnet-4→claude-sonnet-4 - Normalized:
claude-sonnet-4-20250514→claude-sonnet-4 - Substring:
custom-gpt-4→gpt-4 - Fuzzy: Uses Jaro-Winkler similarity (70% threshold)
- Fallback: Shows $0.00 if no match found
Generic placeholder names (e.g. default, what cursor-agent records for auto-mode sessions) and very short names never take a substring/fuzzy match — unpriced is safer than a coincidental neighbor's price.
Cost Details
- Context tiers are per request: LiteLLM's "above Nk tokens" rates (e.g. GPT-5.x above 272k, Gemini above 200k) and its Qwen / doubao volume rows alike apply only to requests whose own prompt context crossed the boundary — never to a whole scan's token sum. Each request bills at whichever of the model's published rows its own context reached, so a model priced in four bands charges its top band for the requests that got there. Providers without per-request granularity — and offline scans — bill at the lowest rate, so tiered-model costs are a lower bound there.
- Beyond tokens: Claude web-search tool calls (
server_tool_use.web_search_requests) are billed per query on top of the token cost; every other model's per-query charge is $0. - OpenCode: a novel model name is priced from its tokens only on an exact LiteLLM match; with no exact match, vct trusts the assistant message's own stored cost instead of guessing from a loosely-similar name.
- Hermes: priced the same way as OpenCode — an exact LiteLLM match prices from tokens, otherwise vct uses Hermes's own stored cost.
- DeepSeek Harness:
dshrecords no cost of its own, so every model is priced from LiteLLM through the same lookup chain as the other file-based providers — there is no stored-cost fallback like OpenCode's or Hermes's. It routes to whatever the deployment configures, so expect deployment-defined model names, which land at $0 when nothing in LiteLLM matches. - Antigravity: priced from LiteLLM like the other file-based providers, under the model each request's generation record names. Compaction requests name no model, so their tokens are priced as the model in use when they ran.
- Grok:
contextTokensUsedis priced as cache-read tokens only (falling back to the input rate when the model publishes no cache-read price); this is a point-in-time local context estimate, not cumulative billed usage.
Development
Contributor setup, building from source, tests, code quality, commit conventions, and release and packaging notes live in CONTRIBUTING.md.
Metadata
Release files for vibe-coding-tracker 3.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vibe_coding_tracker-3.2.2.tar.gz | 32.6 MB | Without provenance | Details for vibe_coding_tracker-3.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vibe_coding_tracker-3.2.2-py3-none-any.whl | Python 3 | none | any | Details for vibe_coding_tracker-3.2.2-py3-none-any.whl |
Total release size: 65.2 MB
Release files / vibe_coding_tracker-3.2.2.tar.gz
| Download URL | vibe_coding_tracker-3.2.2.tar.gz |
|---|---|
| Size | 32.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea7147bd33538c48fbeb5cfe5de2a8d622a022083a7abe689bb4275980e196d3
|
|
BLAKE2b-256 checksum How to use checksums |
85dec3b1f21ae29e110338cfb35319034022a88ada39ad362adaea7c639e2853
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vibe_coding_tracker-3.2.2-py3-none-any.whl
| Download URL | vibe_coding_tracker-3.2.2-py3-none-any.whl |
|---|---|
| Size | 32.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c2424f32e23ee519ad305cbf1ecb78d84e9d559d3ed8847be0858042d2ddd80
|
|
BLAKE2b-256 checksum How to use checksums |
60d54f17a7682e91bc4d97f77aa62da1b87a616de1e90e00054b5ec8c11633ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for vibe-coding-tracker 3.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.