Reconcile Claude Code usage with your Anthropic invoice
Reconcile Claude Code usage with your Anthropic invoice. Trace seats, usage credits and API charges through one worked month-end close.
On this page
A developer checks a Claude Code session and sees $48. Finance opens the Anthropic invoice and can't find a $48 charge. Both figures can be right. Claude Code priced the tokens from the session. The invoice shows what the organization paid under its contract. First check which account paid for that session. Claude Code cost documentation · Anthropic's invoice guide
Most teams need two separate answers. Finance needs the charges to tie to the bill. Engineering needs to know which people, tools and sessions drove the cost. Weave Token Intelligence helps with the second question by labeling billed amounts, configured seat costs and priced usage. You can open the rows behind a person's number before deciding whether it belongs in a finance report. Weave's AI report
Start with how Claude Code was signed in
The same engineer can use a company seat for interactive work and run a background job with credentials tied to a Console workspace. A cloud provider or a gateway can be the payer on a third path. Grouping the sessions under one email address helps you see activity. It does not tell you which bill to open. Claude Code authentication
Scroll horizontally if needed →
| If the session ran through… | Start with… | Check before adding the dollars |
|---|---|---|
| A Claude subscription | The subscription invoice and usage-credit charges | Included activity can have a dollar estimate even though the seat already covered it. On seat-based Enterprise plans, the cost and usage endpoints reflect usage credits. Reconcile the seat charge from the invoice. |
| A Claude Console organization | The Console Cost export and the API invoice | Match the paying org, workspace and dates. Separate Claude Code activity from API work done by other applications. |
| A cloud provider or third-party gateway | The statement for the account paying that provider | A Claude model name does not identify the billing account. Check whether the gateway usage export and the underlying bill describe the same charge. |
Anthropic documents the distinction between its Enterprise Analytics, Claude Code Analytics and Usage and Cost Analytics APIs. The Console's Claude Code Analytics API reports estimated cost by model. The newer Usage and Cost Analytics cost endpoint reports discounted amounts before credits and exposes cost types such as token usage and web search. Confirm which report you have before comparing totals. Anthropic analytics API comparison · Usage and Cost Analytics API
Run the close in three passes
1. Tie the paying accounts to the statement. Start with a completed billing period. Match the dates, currency, payer and billing account. Export at the organization and workspace scope you need, including the default workspace where applicable. Keep seat purchases, usage, credits, tax and applied balances on separate rows. If you prepay for API credits, record the cash top-up and the usage funded by it separately. Anthropic's invoice guide
2. Classify the work inside each charge. Use an available product, workspace, project or key identifier to separate Claude Code from other work on the same account. For an API analysis, look at the Claude Code product filter and the actor or workspace grouping that fits your investigation. A personal email or a shared API key may leave the owner unknown. Keep that amount visible and ask the owner to resolve it. Usage and Cost Analytics dimensions
3. Explain the rest with usage data. Claude Code's /usage prices session tokens at list rates by default, or at a configured rate when the organization sets one. Use those estimates to find high-usage sessions or gaps in client capture. Compare matched scopes where possible. A difference between a partial telemetry total and a complete invoice is not a missing charge. Claude Code session cost
A worked month-end close
In this illustrative close, finance has $1,500 of seat fees, $250 of subscription overage and $900 of Console API usage. The Console export traces $600 to Claude Code and $300 to a separate application. The statements also show $106 in taxes and $200 in applied balance.
One close, three useful totals
Illustrative account with seats, extra usage and a metered API workspace.
- Seats
- $1,500
- Seat overage
- $250
- Console API
- $900
- Charges before adjustments
- $2,650
- Claude Code charges
- $2,350
- Less $300 from another app
- Amount due
- $2,556
- Adds $106 tax and subtracts $200 in applied balance
- Session estimate
- $2,200
- Tracked outside billed totals
The $2,650 charge subtotal ties out by source. The $2,350 Claude Code subtotal is the amount engineering should discuss before tax or credits. The $2,556 payable comes from the statements, including unrelated usage and adjustments. Suppose captured session activity is valued at $2,200. Leave the apparent $150 gap out of the allocation. It compares a partial session estimate with billed seats and usage.
If you couldn't verify what the $300 funded, the close would still tie at $2,650. Engineering would report $2,350 confirmed for Claude Code and $300 unresolved, with the Console workspace as the starting point for investigation.
Check the cost source in Weave
Open AI → ROI → Cost by fidelity to review how spend was measured. On Overview, open Cost per person → See cost details to inspect usage rows. Weave's Claude Code integration uses the most accurate connected cost source available. A supported Enterprise analytics connection supplies actual billing where available. Console-derived estimates and plugin observations are labeled separately. Weave's Claude Code integration · Cost labels and source order
The plugin's observed label means it had plan or overage state when it priced a request. Usage served inside the allowance is $0 in that record, while observed overage is priced at list rates. A plugin-estimated row lacks the allowance signal and can price a request at full list rates even when the plan covered it. Check the source and paying account before you use either as cash spend. Weave's AI cost documentation
Bring one closed month and one discrepancy to the AI report. Trace the amount from the paying account to the usage rows you can verify. Once those dollars have a source, you can ask what shipped and trace the relevant sessions to a merged PR.
See the work behind your AI spend
Compare code output, AI cost and quality, then inspect the work behind the trend.
Related guides
AI ROI Measurement Tools for Engineering Teams: Token Spend vs Output
Compare AI investment using explicit cost definitions and measured code output.
AI Cost Observability Tools: Coding Agents, LLM Apps and Cloud Spend Compared
Compare tools for coding costs, LLM requests and cloud bills.
What did this pull request cost in AI tokens?
Trace AI session costs to merged PRs and review the work behind them.