Claude AI Cost Tracker
Track your Claude Code AI costs in real-time directly in VS Code. Monitor daily and weekly spending, analyze model usage, and set cost alerts.
Install from MarketplaceFull visibility into your AI spend
Real-Time Cost Tracking
Monitor today's costs and token usage in real-time.
Daily Breakdown
See daily costs with hourly detail and 7-day comparison.
Weekly Breakdown
Track weekly costs with customizable week start day.
Model Analytics
Analyze costs by Claude model — Haiku, Sonnet, Opus.
Project & Skills Tracking
View costs by project and Claude skills/tools used.
Smart Alerts
Set daily/weekly spending thresholds with color-coded warnings.
5-Tab Dashboard
Live Usage, Daily, Weekly, Models, Projects, and Skills tabs.
Token Breakdown
Input, output, cache read, and cache creation tokens separately.
Sidebar Integration
Quick view of today's, weekly, and all-time spend.
Status Bar
Cycle through daily/weekly/monthly/all-time views.
Impact Analysis
ROI, time saved, success rates from Claude's /insights data.
Auto-Refresh
Configurable polling with live countdown in the sidebar.
Automatic cost tracking from local data
Reads Claude Session Files
Parses ~/.claude/projects/*.jsonl session files created by Claude Code.
Calculates Costs
Multiplies token counts by official Anthropic pricing — input, output, cache read, and cache write.
Aggregates by Period
Groups costs by hour, day, week, and month for analysis.
Displays in VS Code
Shows data in sidebar, status bar, and a multi-tab dashboard with charts.
Accurate pricing for every model
| Model | Input | Output | Cache Read | Cache Write |
|---|---|---|---|---|
| Claude 3.5 Haiku | $1/M | $5/M | $0.10/M | $1.25/M |
| Claude 3.5 Sonnet | $3/M | $15/M | $0.30/M | $3.75/M |
| Claude Opus 4.6 | $5/M | $25/M | $0.50/M | $6.25/M |
Custom pricing overrides supported via aiUsageCost.customModelPricing setting.
Customize to your needs
| Setting | Default | Description |
|---|---|---|
dailyAlertThreshold | 10 | Daily spending alert threshold in USD |
weeklyAlertThreshold | 50 | Weekly spending alert threshold in USD |
weekStartDay | monday | First day of the week for weekly breakdown |
pollIntervalMinutes | 5 | Auto-refresh interval in minutes |
showInsightsAnalysis | false | Enable Impact Analysis sidebar |
developerHourlyRate | 50 | Developer hourly rate for ROI calculation |
billingType | api | api (pay-per-token) or max (subscription) |
Stop guessing your Claude costs
View the source code on GitHub or browse more tools in the garden.