See Every Token.
Control Every Dollar.
Real-time AI cost intelligence for Claude Code, Codex, and every model you use. Free, open-source, and runs entirely on your machine.
Free forever ยท Open source ยท No account required ยท Lightweight
AI coding is powerful. AI costs are invisible.
CostDog fixes that in seconds.
Dark Spend
AI assistants charge per token, but there's no dashboard to see it in real time. Dollars tick invisibly.
Instant Visibility
Auto-scans your existing Claude Code and Codex logs. Zero setup. Install and see everything in seconds.
No Visibility
Costs scattered across Claude Code, Codex, and other tools. No single view. No way to compare.
Single Dashboard
All your AI tools in one view. Token-level granularity broken down by model, project, and session.
Bill Shock
You discover your AI spend only when the monthly bill arrives. No alerts. No budgets. No control.
Smart Alerts
Set daily cost thresholds. Get warned before you blow your budget. All data stays on your machine.
Real-Time Cost Tracking
See every token and every dollar as it happens. No waiting for billing dashboards. No surprises at month-end.
Privacy First
All data stays on your machine. Nothing leaves your network. No cloud account, no telemetry, no tracking.
$ costdog --status
$ โ
One-Click Install
~15MB on macOS, ~5MB on Windows. Auto-scans your existing Claude Code and Codex logs. No SDK. No API keys. Install and go.
$ brew install costdog
>> Downloading costdog...
>> Installing costdog 1.6.3...
โ Installed in 2.1s (4.6 MB)
$ costdog start
Scanning logs... found 3 providers.
โ CostDog is running. http://localhost:3618
Everything else you need
Real-time visibility, smart alerts, and deep insights โ all running locally.
Real-Time Dashboard
Live token counts, costs, and session stats refreshing every 30 seconds. Never miss a spike.
Desktop Widget
Always-on-top floating bar that sits above your terminal. Costs at a glance, zero distraction.
Multi-Timeframe
Switch between Today, 7 days, 30 days, and All Time views. Spot trends instantly.
Model Breakdown
See which models cost the most โ ranked by total spend. Know where your money goes.
Smart Alerts
Get warned when daily costs exceed your budget threshold. No more bill shock.
Multi-Tool Support
Claude Code and Codex in one view. More tools coming soon. One dashboard for everything.
Cross-Platform
Native apps for macOS (Intel + Apple Silicon) and Windows. Lightweight installer. Done.
Local SQLite
All data stored locally in ~/.costdog/costdog.sqlite. Query it yourself if you want.
Open Source
MIT licensed. Inspect the code, contribute features, fork freely. Built in public.
Up and running in 4 steps
No SDK. No API keys. No configuration. Just install and see everything.
Install
Download the installer for your platform. macOS (.dmg) or Windows (.exe). Lightweight. Done in seconds.
Open CostDog
It auto-scans your existing Claude Code and Codex session logs. No SDK. No API keys. No configuration.
See Your Costs
Real-time dashboard shows tokens, costs, and trends. Switch between timeframes. Drill into sessions.
Stay in Control
Set budget alerts. Monitor trends. Never be surprised by a bill again.
Free forever for individuals. Pro for teams.
Start free. Upgrade when you need team features, API access, and deeper insights.
Free
Everything you need to track AI costs.
- Desktop widget (Mac + Windows)
- All timeframes (Today / 7D / 30D / All)
- Claude Code support
+5 more features
Download FreeCompare plansPro
For teams that need deeper insights.
- Everything in Free
- Team dashboard
- Custom alert thresholds
+5 more features
Join WaitlistCompare plansFrequently asked questions
Everything you need to know about CostDog.
What AI tools does CostDog support?
Claude Code and Codex CLI today. Support for more tools (Windsurf, Cursor, Aider) and direct API tracking is on the roadmap.
Is my data sent to the cloud?
No. CostDog runs entirely on your machine. Data is stored in a local SQLite file at ~/.costdog/costdog.sqlite. Nothing leaves your network.
How does CostDog get my token usage?
It reads the session log files that Claude Code and Codex already write to your disk. No SDK, no API keys, no configuration needed.
Is CostDog free?
Yes. The core product is free and open-source under the MIT license. A Pro plan with team features and API access is planned.
Does it work on Apple Silicon?
Yes. Universal binary for macOS (Intel + Apple Silicon, ~15MB). Also available for Windows x64 (~5MB EXE, ~7MB MSI).
How accurate is the cost calculation?
We use real-time pricing from OpenRouter, covering 339+ models including Claude, GPT, Gemini, DeepSeek, and more. Prices are cached locally and refreshed every 24 hours.
Can I use it in a team?
Team dashboards are planned for the Pro version. Each developer can use the free version individually today.
Does it affect my AI assistant's performance?
No. CostDog is read-only โ it only reads log files, never modifies them. It runs a lightweight scan every 30 seconds.
How do I install it?
macOS: download the .dmg from GitHub Releases. Windows: download the .exe installer. Both are lightweight and install in seconds.
Can I set a budget limit?
You can configure daily cost alerts today. Hard budget limits with automatic cutoffs are planned for a future release.
Does it support GPT-4, Gemini, and other models?
Currently focused on models used through Claude Code and Codex. Direct API cost tracking for OpenAI, Google, and other providers is on the roadmap.
Is it open source?
Yes. MIT licensed. Star us on GitHub at github.com/bruce-hmz/costdog.
Start seeing your AI costs today
Free. Open source. Lightweight. Install in seconds.