Introduction
Nearly every cost question is a version of "why does this not match?". It usually does not match for a good reason, and the reasons are enumerable.
It does not match my provider invoice
It will not, and both numbers can be right. Cost Explorer derives spend from observed token usage and applied rates; your provider computes from its own metering under your commercial terms.
Cause | Direction |
Uninstrumented traffic | Reads low |
Models with no rate available | Reads low |
Non-inference charges — storage, hosting, egress | Reads low |
Negotiated or committed-use discounts | Reads high |
Batch pricing | Reads high |
Free tiers and credits | Reads high |
Billing month vs a rolling window | Either |
Note: Use Cost Explorer for attribution and trend; use the invoice for the total. They answer different questions. The one thing you should chase is a gap far larger than your discounts explain — that points at traffic nobody is observing, which is a coverage problem wearing a cost report's clothes.
An agent shows activity but no cost
Are token counts on the spans? — Cost is derived from tokens. Traces can arrive perfectly well with no usage data on them.
Does a rate exist for that model? — Usage is observed independently of pricing. A model with no rate shows activity and no spend.
Is the model registered? — Attribution needs something to attribute to.
The totals do not add up
Two arithmetic traps account for most of these:
Expecting the Agent total to include model spend. It does not. Spans that belong to model assets are counted only in the Model view, so the two views do not overlap.
Summing a grouping and expecting the total. Spend that cannot be attributed is still counted and appears in no slice.
Spend spiked
Check spend per trace first — If it is flat, the spike is volume and there is nothing wrong. If it rose, the agent's behaviour changed.
Ask what you changed — LLM-based controls and AI judges both add model calls. Correlate with your own configuration changes before investigating the agent.
Group by agent, then by model — One narrows to who, the other to what.
Read a trace from the window — Retries, a grown context, a switched model — each of these is visible in a single run.