Claude Code usage
Aiusage
Open-source AI usage tracker — tokens, cost, and sessions across Claude Code, Codex, Hermes, Qoder, and more
Install
npm install -g @juliantanx/aiusageFound in the project README. Check it for setup steps after installing.
git clone https://github.com/juliantanx/aiusage.gitFrom the README
AIUsage Local-first usage tracker for AI coding assistants. Website · Docs · Leaderboard · English | 中文 Track tokens, cost, sessions, models, projects, tool calls, and quota pressure across 20+ AI coding tools in one local dashboard. Local use needs no account, sends no telemetry, and does not require cloud sync. Highlights - One local dashboard for tokens, cost, sessions, models, projects, tool calls, and quotas. - Broad parser support for Claude Code, Codex, OpenCode, Cursor, Copilot, Gemini CLI, and more. - Optional sync through GitHub, S3, R2, or MinIO. - Optional public leaderboard with signed aggregate uploads only. - Desktop widget for a tray/menu-bar glance at recent usage. - Private by default: local parsing and local dashboards do not upload your prompts, completions, source code, or file paths. Quick Start Requirements: Node.js 20+ on macOS, Linux, or Windows. Open http://127.0.0.1:3847 to use the dashboard. serve starts the local web UI immediately and parses local logs in the background during startup. Prefer pnpm: Use Docker: The container binds to 0.0.0.0 so it is reachable from outside Docker, and startup is refused unless AIUSAGE_DASHBOARD_PASSWORD is set to a non-empty value; replace change-me with your own password. Docker persists AIUsage data with the ~/.aiusage mount. To parse AI tool logs from the host, also mount each source log directory and configure the matching AIUSAGE_*_PATH variable. See the Docker docs. Common Commands Full CLI reference: aiusage.jtanx.com/docs#cli-reference. Supported Tools Default paths and environment variable overrides are documented in Data Sources and Source Env Vars. Dashboard Password The dashboard binds to 127.0.0.1 by default. Use aiusage serve --host ::1 for IPv6 loopback. Local…
Details
- Repository
- juliantanx/aiusage
- Language
- TypeScript
- License
- MIT
- Last updated
- 2 November 2026
- Topics
- aiai-analyticsai-coding-assistantai-usageaiusagebetter-sqlite3claudeclaude-codeclicodexcost-trackingdashboard
FAQ
What is Aiusage?
Open-source AI usage tracker — tokens, cost, and sessions across Claude Code, Codex, Hermes, Qoder, and more It is a usage for Claude Code, from juliantanx/aiusage on GitHub.
How do I install Aiusage?
Run npm install -g @juliantanx/aiusage, then follow the setup in the README.
Is Aiusage popular?
juliantanx/aiusage has 139 GitHub stars and 23 forks. It was last updated on 2 November 2026.
More usage & cost trackers
Claude Usage Stick
123oauramos/claude-usage-stick
Real-time Claude Code rate-limit monitor on ESP32 boards!
Claude Batch Toolkit
161s2-streamstore/claude-batch-toolkit
Send non-urgent work to the Anthropic Batch API at 50% cost — directly from Claude Code
Multi Agents
158BichengWang/multi-agents
Multi-agent teams for real work: run teams of coding agents (Claude Code, Codex, any model) in isolated git worktrees, and measure whether the team beats a solo agent on cost and results.
Infomarchy
134nixfred/infomarchy
Omarchy plugin: your wallpaper becomes a live, clickable information desk with every running AI agent (Claude Code, Codex, Grok, Ollama), 7-day heatmap, rate limits, recent prompts, machine stats. Theme-driven.
better-ccusage
92cobra91/better-ccusage
Fork of ccusage that adds support for more providers and Claude Code-compatible tools.
Claud Ometer
132deshraj/Claud-ometer
A local-first analytics dashboard for Claude Code. Gives you full visibility into your usage, costs, sessions, and projects — no cloud, no telemetry, just your data.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.