Something went wrong. Try again.
npx ccusage
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781{ "combinedOptions": { "agent_period_options": ["agent_options", "last_options"], "all_agent_period_options": ["all_agent_options", "last_options"], "all_agent_session_options": ["all_agent_options", "session_options"], "blocks_combined_options": ["shared_claude_options", "blocks_options"], "claude_daily_options": ["shared_claude_options", "daily_options", "last_options"], "claude_monthly_options": ["shared_claude_options", "last_options"], "claude_session_options": ["shared_claude_options", "session_options"], "claude_weekly_options": ["shared_claude_options", "weekly_options", "last_options"], "codex_period_options": ["codex_options", "last_options"], "openclaw_combined_options": ["agent_options", "openclaw_options"], "openclaw_period_options": ["agent_options", "openclaw_options", "last_options"], "pi_combined_options": ["agent_options", "pi_options"], "pi_period_options": ["agent_options", "pi_options", "last_options"] }, "root": { "usage": ["ccusage [daily] <OPTIONS>", "ccusage <COMMANDS>"], "commands": [ { "name": "daily", "description": "Show all detected coding (agent) CLI usage grouped by date" }, { "name": "monthly", "description": "Show all detected coding (agent) CLI usage grouped by month" }, { "name": "weekly", "description": "Show all detected coding (agent) CLI usage grouped by week" }, { "name": "session", "description": "Show all detected coding (agent) CLI usage grouped by session" }, { "name": "blocks", "description": "Show usage report grouped by session billing blocks" }, { "name": "statusline", "description": "Display compact status line for Claude Code hooks with hybrid time+file caching (Beta)" }, { "name": "claude", "description": "Show Claude Code usage commands" }, { "name": "codex", "description": "Show Codex token usage commands" }, { "name": "opencode", "description": "Show OpenCode token usage commands" }, { "name": "amp", "description": "Show Amp token usage commands" }, { "name": "droid", "description": "Show Droid usage commands" }, { "name": "codebuff", "description": "Show Codebuff usage commands" }, { "name": "hermes", "description": "Show Hermes usage commands" }, { "name": "pi", "description": "Show pi-agent usage commands" }, { "name": "goose", "description": "Show Goose usage commands" }, { "name": "kilo", "description": "Show Kilo usage commands" }, { "name": "copilot", "description": "Show GitHub Copilot CLI usage commands" }, { "name": "gemini", "description": "Show Gemini CLI usage commands" }, { "name": "kimi", "description": "Show Kimi usage commands" }, { "name": "qwen", "description": "Show Qwen usage commands" }, { "name": "openclaw", "description": "Show OpenClaw usage commands" }, { "name": "grok", "description": "Show Grok Build CLI usage commands" } ] }, "pages": [ { "path": ["daily"], "description": "Show all detected coding (agent) CLI usage grouped by date", "usage": "ccusage daily <OPTIONS>", "options": "all_agent_period_options" }, { "path": ["monthly"], "description": "Show all detected coding (agent) CLI usage grouped by month", "usage": "ccusage monthly <OPTIONS>", "options": "all_agent_period_options" }, { "path": ["weekly"], "description": "Show all detected coding (agent) CLI usage grouped by week", "usage": "ccusage weekly <OPTIONS>", "options": "all_agent_period_options" }, { "path": ["session"], "description": "Show all detected coding (agent) CLI usage grouped by session", "usage": "ccusage session <OPTIONS>", "options": "all_agent_session_options" }, { "path": ["blocks"], "description": "Show usage report grouped by session billing blocks", "usage": "ccusage blocks <OPTIONS>", "options": "blocks_combined_options" }, { "path": ["statusline"], "description": "Display compact status line for Claude Code hooks with hybrid time+file caching (Beta)", "usage": "ccusage statusline <OPTIONS>", "options": "statusline_options" }, { "path": ["claude"], "description": "Usage reports for claude.", "usage": "ccusage claude <COMMANDS>", "commands": [ { "name": "daily", "description": "Show usage report grouped by date" }, { "name": "monthly", "description": "Show usage report grouped by month" }, { "name": "weekly", "description": "Show usage report grouped by week" }, { "name": "session", "description": "Show usage report grouped by conversation session" }, { "name": "blocks", "description": "Show usage report grouped by session billing blocks" }, { "name": "statusline", "description": "Display compact status line for Claude Code hooks with hybrid time+file caching (Beta)" } ] }, { "path": ["claude", "daily"], "description": "Show usage report grouped by date", "usage": "ccusage claude daily <OPTIONS>", "options": "claude_daily_options" }, { "path": ["claude", "monthly"], "description": "Show usage report grouped by month", "usage": "ccusage claude monthly <OPTIONS>", "options": "claude_monthly_options" }, { "path": ["claude", "weekly"], "description": "Show usage report grouped by week", "usage": "ccusage claude weekly <OPTIONS>", "options": "claude_weekly_options" }, { "path": ["claude", "session"], "description": "Show usage report grouped by conversation session", "usage": "ccusage claude session <OPTIONS>", "options": "claude_session_options" }, { "path": ["claude", "blocks"], "description": "Show usage report grouped by session billing blocks", "usage": "ccusage claude blocks <OPTIONS>", "options": "blocks_combined_options" }, { "path": ["claude", "statusline"], "description": "Display compact status line for Claude Code hooks with hybrid time+file caching (Beta)", "usage": "ccusage claude statusline <OPTIONS>", "options": "statusline_options" }, { "path": ["codex"], "description": "Usage reports for codex.", "usage": "ccusage codex <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Codex token usage grouped by day" }, { "name": "monthly", "description": "Show Codex token usage grouped by month" }, { "name": "session", "description": "Show Codex token usage grouped by session" } ] }, { "path": ["codex", "daily"], "description": "Show Codex token usage grouped by day", "usage": "ccusage codex daily <OPTIONS>", "options": "codex_period_options" }, { "path": ["codex", "monthly"], "description": "Show Codex token usage grouped by month", "usage": "ccusage codex monthly <OPTIONS>", "options": "codex_period_options" }, { "path": ["codex", "session"], "description": "Show Codex token usage grouped by session", "usage": "ccusage codex session <OPTIONS>", "options": "codex_options" }, { "path": ["opencode"], "description": "Usage reports for opencode.", "usage": "ccusage opencode <COMMANDS>", "commands": [ { "name": "daily", "description": "Show OpenCode token usage grouped by day" }, { "name": "weekly", "description": "Show OpenCode token usage grouped by week" }, { "name": "monthly", "description": "Show OpenCode token usage grouped by month" }, { "name": "session", "description": "Show OpenCode token usage grouped by session" } ] }, { "path": ["opencode", "daily"], "description": "Show OpenCode token usage grouped by day", "usage": "ccusage opencode daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["opencode", "weekly"], "description": "Show OpenCode token usage grouped by week", "usage": "ccusage opencode weekly <OPTIONS>", "options": "agent_period_options" }, { "path": ["opencode", "monthly"], "description": "Show OpenCode token usage grouped by month", "usage": "ccusage opencode monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["opencode", "session"], "description": "Show OpenCode token usage grouped by session", "usage": "ccusage opencode session <OPTIONS>", "options": "agent_options" }, { "path": ["amp"], "description": "Usage reports for amp.", "usage": "ccusage amp <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Amp token usage grouped by day" }, { "name": "monthly", "description": "Show Amp token usage grouped by month" }, { "name": "session", "description": "Show Amp token usage grouped by session" } ] }, { "path": ["amp", "daily"], "description": "Show Amp token usage grouped by day", "usage": "ccusage amp daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["amp", "monthly"], "description": "Show Amp token usage grouped by month", "usage": "ccusage amp monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["amp", "session"], "description": "Show Amp token usage grouped by session", "usage": "ccusage amp session <OPTIONS>", "options": "agent_options" }, { "path": ["droid"], "description": "Usage reports for droid.", "usage": "ccusage droid <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Droid usage grouped by date" }, { "name": "monthly", "description": "Show Droid usage grouped by month" }, { "name": "session", "description": "Show Droid usage grouped by session" } ] }, { "path": ["droid", "daily"], "description": "Show Droid usage grouped by date", "usage": "ccusage droid daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["droid", "monthly"], "description": "Show Droid usage grouped by month", "usage": "ccusage droid monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["droid", "session"], "description": "Show Droid usage grouped by session", "usage": "ccusage droid session <OPTIONS>", "options": "agent_options" }, { "path": ["codebuff"], "description": "Usage reports for codebuff.", "usage": "ccusage codebuff <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Codebuff usage grouped by date" }, { "name": "monthly", "description": "Show Codebuff usage grouped by month" }, { "name": "session", "description": "Show Codebuff usage grouped by session" } ] }, { "path": ["codebuff", "daily"], "description": "Show Codebuff usage grouped by date", "usage": "ccusage codebuff daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["codebuff", "monthly"], "description": "Show Codebuff usage grouped by month", "usage": "ccusage codebuff monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["codebuff", "session"], "description": "Show Codebuff usage grouped by session", "usage": "ccusage codebuff session <OPTIONS>", "options": "agent_options" }, { "path": ["hermes"], "description": "Usage reports for hermes.", "usage": "ccusage hermes <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Hermes usage grouped by date" }, { "name": "monthly", "description": "Show Hermes usage grouped by month" }, { "name": "session", "description": "Show Hermes usage grouped by session" } ] }, { "path": ["hermes", "daily"], "description": "Show Hermes usage grouped by date", "usage": "ccusage hermes daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["hermes", "monthly"], "description": "Show Hermes usage grouped by month", "usage": "ccusage hermes monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["hermes", "session"], "description": "Show Hermes usage grouped by session", "usage": "ccusage hermes session <OPTIONS>", "options": "agent_options" }, { "path": ["pi"], "description": "Usage reports for pi.", "usage": "ccusage pi <COMMANDS>", "commands": [ { "name": "daily", "description": "Show pi-agent usage grouped by date" }, { "name": "monthly", "description": "Show pi-agent usage grouped by month" }, { "name": "session", "description": "Show pi-agent usage grouped by session" } ] }, { "path": ["pi", "daily"], "description": "Show pi-agent usage grouped by date", "usage": "ccusage pi daily <OPTIONS>", "options": "pi_period_options" }, { "path": ["pi", "monthly"], "description": "Show pi-agent usage grouped by month", "usage": "ccusage pi monthly <OPTIONS>", "options": "pi_period_options" }, { "path": ["pi", "session"], "description": "Show pi-agent usage grouped by session", "usage": "ccusage pi session <OPTIONS>", "options": "pi_combined_options" }, { "path": ["goose"], "description": "Usage reports for goose.", "usage": "ccusage goose <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Goose usage grouped by date" }, { "name": "monthly", "description": "Show Goose usage grouped by month" }, { "name": "session", "description": "Show Goose usage grouped by session" } ] }, { "path": ["goose", "daily"], "description": "Show Goose usage grouped by date", "usage": "ccusage goose daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["goose", "monthly"], "description": "Show Goose usage grouped by month", "usage": "ccusage goose monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["goose", "session"], "description": "Show Goose usage grouped by session", "usage": "ccusage goose session <OPTIONS>", "options": "agent_options" }, { "path": ["kilo"], "description": "Usage reports for kilo.", "usage": "ccusage kilo <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Kilo usage grouped by date" }, { "name": "monthly", "description": "Show Kilo usage grouped by month" }, { "name": "session", "description": "Show Kilo usage grouped by session" } ] }, { "path": ["kilo", "daily"], "description": "Show Kilo usage grouped by date", "usage": "ccusage kilo daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["kilo", "monthly"], "description": "Show Kilo usage grouped by month", "usage": "ccusage kilo monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["kilo", "session"], "description": "Show Kilo usage grouped by session", "usage": "ccusage kilo session <OPTIONS>", "options": "agent_options" }, { "path": ["copilot"], "description": "Usage reports for copilot.", "usage": "ccusage copilot <COMMANDS>", "commands": [ { "name": "daily", "description": "Show GitHub Copilot CLI usage grouped by date" }, { "name": "monthly", "description": "Show GitHub Copilot CLI usage grouped by month" }, { "name": "session", "description": "Show GitHub Copilot CLI usage grouped by session" } ] }, { "path": ["copilot", "daily"], "description": "Show GitHub Copilot CLI usage grouped by date", "usage": "ccusage copilot daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["copilot", "monthly"], "description": "Show GitHub Copilot CLI usage grouped by month", "usage": "ccusage copilot monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["copilot", "session"], "description": "Show GitHub Copilot CLI usage grouped by session", "usage": "ccusage copilot session <OPTIONS>", "options": "agent_options" }, { "path": ["gemini"], "description": "Usage reports for gemini.", "usage": "ccusage gemini <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Gemini CLI usage grouped by date" }, { "name": "monthly", "description": "Show Gemini CLI usage grouped by month" }, { "name": "session", "description": "Show Gemini CLI usage grouped by session" } ] }, { "path": ["gemini", "daily"], "description": "Show Gemini CLI usage grouped by date", "usage": "ccusage gemini daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["gemini", "monthly"], "description": "Show Gemini CLI usage grouped by month", "usage": "ccusage gemini monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["gemini", "session"], "description": "Show Gemini CLI usage grouped by session", "usage": "ccusage gemini session <OPTIONS>", "options": "agent_options" }, { "path": ["kimi"], "description": "Usage reports for kimi.", "usage": "ccusage kimi <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Kimi usage grouped by date" }, { "name": "monthly", "description": "Show Kimi usage grouped by month" }, { "name": "session", "description": "Show Kimi usage grouped by session" } ] }, { "path": ["kimi", "daily"], "description": "Show Kimi usage grouped by date", "usage": "ccusage kimi daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["kimi", "monthly"], "description": "Show Kimi usage grouped by month", "usage": "ccusage kimi monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["kimi", "session"], "description": "Show Kimi usage grouped by session", "usage": "ccusage kimi session <OPTIONS>", "options": "agent_options" }, { "path": ["qwen"], "description": "Usage reports for qwen.", "usage": "ccusage qwen <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Qwen usage grouped by date" }, { "name": "monthly", "description": "Show Qwen usage grouped by month" }, { "name": "session", "description": "Show Qwen usage grouped by session" } ] }, { "path": ["qwen", "daily"], "description": "Show Qwen usage grouped by date", "usage": "ccusage qwen daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["qwen", "monthly"], "description": "Show Qwen usage grouped by month", "usage": "ccusage qwen monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["qwen", "session"], "description": "Show Qwen usage grouped by session", "usage": "ccusage qwen session <OPTIONS>", "options": "agent_options" }, { "path": ["openclaw"], "description": "Usage reports for openclaw.", "usage": "ccusage openclaw <COMMANDS>", "commands": [ { "name": "daily", "description": "Show OpenClaw usage grouped by date" }, { "name": "monthly", "description": "Show OpenClaw usage grouped by month" }, { "name": "session", "description": "Show OpenClaw usage grouped by session" } ] }, { "path": ["openclaw", "daily"], "description": "Show OpenClaw usage grouped by date", "usage": "ccusage openclaw daily <OPTIONS>", "options": "openclaw_period_options" }, { "path": ["openclaw", "monthly"], "description": "Show OpenClaw usage grouped by month", "usage": "ccusage openclaw monthly <OPTIONS>", "options": "openclaw_period_options" }, { "path": ["openclaw", "session"], "description": "Show OpenClaw usage grouped by session", "usage": "ccusage openclaw session <OPTIONS>", "options": "openclaw_combined_options" }, { "path": ["grok"], "description": "Usage reports for Grok Build CLI.", "usage": "ccusage grok <COMMANDS>", "commands": [ { "name": "daily", "description": "Show Grok Build CLI usage grouped by date" }, { "name": "monthly", "description": "Show Grok Build CLI usage grouped by month" }, { "name": "session", "description": "Show Grok Build CLI usage grouped by session" } ] }, { "path": ["grok", "daily"], "description": "Show Grok Build CLI usage grouped by date", "usage": "ccusage grok daily <OPTIONS>", "options": "agent_period_options" }, { "path": ["grok", "monthly"], "description": "Show Grok Build CLI usage grouped by month", "usage": "ccusage grok monthly <OPTIONS>", "options": "agent_period_options" }, { "path": ["grok", "session"], "description": "Show Grok Build CLI usage grouped by session", "usage": "ccusage grok session <OPTIONS>", "options": "agent_options" } ]}