WTClaude
WTClaude is a billing-grade cost tracking tool for Anthropic's Claude Code, designed to give developers accurate, real-time insights into their spending on AI-powered coding assistants. It works by reading the exact billing data that Anthropic uses to calculate charges, capturing metrics directly from Claude Code sessions run in the terminal. By hooking into the terminal environment, WTClaude ensures that the cost figures it displays are identical to what will appear on the user's Anthropic bill, eliminating guesswork and providing a trustworthy financial picture. Beyond terminal tracking, WTClaude offers an opt-in web dashboard and multi-device sync, allowing users to monitor costs across different machines and coding environments. This dashboard provides a consolidated view of spending, daily breakdowns, and trends, making it easier to manage budgets for individual developers or small teams. For Claude Code usage in the desktop app, where direct billing data isn't available, the tool provides honest, clearly-labeled estimates so users always know the reliability of the numbers they are seeing. WTClaude is free and open-source, released under the MIT license, and can be set up in under 60 seconds using a simple npx command. The tool is built with transparency in mind, never misleading users by presenting estimates as exact data. It currently focuses on Claude Code, with upcoming plans to expand into tracking for Claude Chat and Cowork, and to offer team-oriented features suitable for small and medium businesses without requiring an enterprise plan.
- Category
- Productivity
- Pricing
- Free
Problem solved
Developers and teams using Anthropic's Claude Code face uncertainty about how much their AI interactions are costing them, leading to budget overruns and billing surprises. WTClaude solves this by providing exact, billing-grade cost data directly from the terminal, eliminating reliance on rough estimates. It gives users the same numbers that Anthropic uses for billing, along with a unified dashboard and cross-device sync, so they can confidently track, manage, and forecast their Claude Code expenses without manual effort or guesswork.
Use cases
- Monitor real-time Claude Code costs during development sessions to avoid exceeding a budget.
- Aggregate spending across multiple machines and sessions via the web dashboard to get a complete financial overview.
- Prepare for Anthropic billing changes (e.g., the June 15 billing split) by accurately understanding current usage patterns.
- Evaluate the cost impact of using Claude Code in the desktop app by relying on honest, labeled estimates where exact data is unavailable.
- Identify high-cost projects or interactions to optimize prompt design and reduce unnecessary spending.
- Enable small teams to track departmental Claude Code usage without needing a full enterprise plan.
Audience
- Developers
- ML Engineers
- Data Scientists
- Startups
Pros
- Billing-grade accuracy for terminal-based Claude Code sessions, ensuring parity with Anthropic invoices.
- Transparent distinction between exact costs and estimates, building trust with users.
- Quick and easy setup (60 seconds) with a single npx command.
- Free and open-source (MIT license) with no hidden fees or vendor lock-in.
- Opt-in multi-device sync and web dashboard for consolidated cost tracking.
Cons
- Currently limited to Claude Code; Chat and Cowork tracking are not yet available.
- Desktop app cost figures are estimates only, not guaranteed to match billing exactly.
- Team management features are still under development and not ready for production use.
Official website: https://wtclaude.com/
Canonical LambdaBase page: https://www.lambdabase.com/tools/wtclaude