Skip to main content
The same AI call can show up in TensorCost three times: once when your app makes it, once in the provider’s usage report, and once on your cloud bill. TensorCost counts it once.

Three sources of the same money

Metered calls know who spent the money. Provider reports and bills know what was billed. TensorCost uses both.

Counted once

The diagram shows the one path every figure takes. Budgets and limits read the count at the metered price; Spend, Customers and Ask can read it against a settled bill instead, as the next section explains. TensorCost counts the smallest total every record agrees with:
  • Within one provider account and one model, the most authoritative finished record wins, hour by hour: a Cost and Usage Report or cost export over a usage report, a usage report over invocation logs, logs over metrics.
  • Metered calls that a provider record covers count as the larger of the two, so the record never hides calls and the calls never count on top of the record.
  • Calls no record covers yet count in full.
  • An account never counts less than its bill.
Two records only match when they’re the same model. TensorCost recognises a model under its different spellings, so Claude Sonnet 4.5 on a bill and claude-sonnet-4-5 from the API are the same model. Every page that shows AI spend uses this one rule, so a call counts the same way in Spend, in Customers, on your budgets and in Ask.

When the provider billed less

Sometimes a provider bills less than TensorCost metered: a discount, a credit or a negotiated rate. Spend views then show what you were billed, and each call’s share is scaled down to it, so the discount reaches every team and customer behind those calls. TensorCost only does this when it knows the bill is complete:
  • the day ended at least two days ago (three for Azure, whose export restates recent days);
  • the provider’s records for that day are its own final prices;
  • every call that day names the account it was billed to, and falls in hours the provider’s records for that account cover.
Until then, the day shows the metered price. Spend views filtered to one environment always show the metered price, because a filter can keep the calls while leaving out bill lines tagged differently.
The SDK and the proxy read the billing account from each provider response (for example the organization id Anthropic and OpenAI return), so calls made through SDK 1.7 or later, or through the proxy, can carry their discount. Calls without it keep the metered price.

Why budgets don’t use the discount

Budgets, limits and their forecasts count every call at the metered price, never below it. A cap that counted a discount that hasn’t been billed yet could let spend run past the limit; counting at the metered price means a cap can only stop slightly early. So for a day a provider billed under the meter, a budget can show a little more than the Spend views.