Count every AI dollar once. Then let the budget say no.
TensorCost reads your SDK and proxy calls, your providers’ usage reports and your cloud bills, and counts each dollar once. Budgets and run caps check that number before a call goes out and refuse the one that would go over. The same check covers your developers’ coding tools, your customers, your agents and the gateways you already run.
- An agent run reaches its cap and is refused before the provider is called
- With live routing on, a customer near its margin floor moves to a cheaper model the judge has already passed
Figures are illustrative. Look at the ✕ and at the line that changes destination. Neither can be reached from a billing feed, and both work from a number that has already been matched to the bill.
One count. Six people use it.
One ledger and one check, shown to a different person at each step.
One call shows up three times. We count it once.
The SDK logs it, the gateway logs it and the cloud bill charges for it. TensorCost matches the copies and keeps the bill as the truth, so a total never quietly doubles.
A budget that can refuse.
Budgets and run caps are checked before the provider is called. The next call past the limit gets a refusal it can read. If the check itself can’t answer, the call goes through. It fails open by default.
Each developer, one budget, three tools.
Claude Code, Cursor and GitHub Copilot spend per developer, counted once. Set “each developer, $1,500 a month per tool” once. We push the cap to Cursor and Copilot and refuse Claude Code at the TensorCost gateway.
What each customer costs, against what they pay.
Send each customer’s revenue, or upload a CSV, and it sits against their counted AI cost. We never hold a key to your billing system. Keep a margin floor. Near it, if you’ve turned on live routing and have a proven cheaper model, the customer’s traffic moves to that model. At it, a hard cap refuses the next call.
Which agent spent it, and which run.
Registered agents get an owner and a credential of their own. Cost follows the chain when one agent calls another, counted once. A run cap can be “three times this agent’s usual”, and the stop message names the owner.
Keep your gateway. Give it a counted budget.
LiteLLM, Azure API Management, Apigee and Kong ask TensorCost before they forward a call, and report what they sent. Workato and Power Platform get connectors. TensorCost stays the ledger behind all of them.
Evidence for every call, in your own cloud.
On BYOC, every admission decision is a record: the policy and its version, the caller, the model, the region. It sits in the same hash chain as the audit log, and your auditor can check a quarter of it offline.
Will the commit run out before renewal?
Each AI commit with committed, used and projected spend to renewal, from the same forecast the budgets use. Provisioned throughput priced by its idle hours. The invoice reconciled to the bill, and the forecast’s own error shown next to it.
Then it works like a conversation.
The numbers below are illustrative. The rule they follow is not: one count, checked before the call.
November so far: $151,900, matched to the Anthropic, OpenAI and AWS bills. $32,300 that LiteLLM and the SDK both logged is counted once.
counted $151,900 witness-only $32,300 unattributed 6%
Who is close to a limit?
Two developers are past 90% of $1,500 on Claude Code. One customer is at 42% margin against a 40% floor. Live routing is on, so its traffic has moved to the cheaper model the judge passed.
developer ana@… $1,402 / $1,500 customer northwind margin 42% · floor 40% step-down on
And if the customer crosses the floor?
The floor is a hard cap, so its next call is refused. The call already running finishes and is counted.
The same check, for six buyers.
Each of these is the core pointed at one person’s problem. Take one, or several.
Coding-agent spend
For a VP Engineering. Per-developer spend across Claude Code, Cursor and Copilot, one budget pushed to all three tools.
Customer margins
For whoever owns the margin on an AI product. Cost per customer against the revenue you send, a floor that steps down then refuses, and daily usage your billing system pulls.
Agent identity · Coming soon
For the team running agents in production. A registry with owners, cost that follows the call chain, run caps set against each agent’s own history.
Regulated pack on BYOC · Coming soon
For a CISO or model-risk lead. Per-call evidence, a model and agent inventory, region rules, all inside your own cloud.
Commitments and invoices · Coming soon
For FinOps and the CFO. Commit burn-down to renewal, capacity utilization, invoice reconciliation, and a forecast that shows its own error.
The gateways you already run
For platform teams. LiteLLM, Azure APIM, Apigee, Kong, Workato and Power Platform check one counted budget instead of their own.
Start read-only.
You don’t need anything in the request path to see the first number.
Connect
Billing exports and provider usage reports, through a read-only role. No production access and no code changes.
See it counted once
The last 30 days with the duplicates matched and the unattributed share shown on its own line.
Turn on a check
Add the SDK, the proxy or your gateway’s admit hook when you want a budget that can refuse. Routing starts in shadow. A budget only refuses in hard-cap mode.
Who has to live with it
One ledger. Six people who want different things from it.
Same install. What makes it worth having changes from chair to chair.
VP Engineering
One budget per developer across three coding tools
- Spend per developer, matched across Claude Code, Cursor and Copilot.
- Caps pushed to Cursor and Copilot. Claude Code refused at the gateway.
- Anything we can’t tie to a person is “unattributed”, never a guess.
Cursor Admin API · Copilot AI credits · Claude Code
Founder or CFO
Margin per customer, and a floor that holds
- Revenue you send, or a CSV, against counted cost per customer.
- Near the floor, step down to a proven cheaper model if live routing is on. At it, refuse on a hard cap.
- Your billing system pulls daily cost per customer with a read-only key.
Any billing system · CSV · no billing keys held
Platform team
Agents and gateways under one check
- Caps per run today. An agent registry with owners is coming soon.
- Your gateway asks before forwarding and reports after.
- Fails open by default. On BYOC, fail closed is a deployment setting.
SDK · proxy · LiteLLM · APIM · Apigee · Kong
Security and compliance
Coming soon: evidence your auditor can check without us
- A decision record for every call, in the hash chain.
- Region rules that refuse the call, not just report it.
- All of it inside your own cloud on BYOC: AWS, or Kubernetes on EKS or AKS.
BYOC · OIDC sign-in · SOC 2 not yet
FinOps
Coming soon: commits, capacity and the invoice in one place
- Burn-down of each AI commit to its renewal date.
- Provisioned throughput priced by its idle hours.
- FOCUS exports on a schedule, into your bucket.
FOCUS · CUR · Azure and GCP exports
Finance
A month-end number nobody argues with
- Chargeback per team, customer or feature, as PDF and CSV.
- Every total matched to the provider’s own bill.
- What stays unattributed is shown, not spread.
PDF · CSV · daily tie-out
Owned GPUs join the same ledger through the TensorCost agent, and none of the six needs them.
What we don’t do
Scoped on purpose. People ask for these and we say no.
Not a billing engine
We never create invoices, set prices or take a payment, and we never hold a key to your billing system. It pulls the usage from us.
Not a gateway to replace yours
If you run LiteLLM, APIM, Apigee or Kong, keep it. TensorCost is the ledger and the budget check behind it.
Not general observability
Latency, errors and traces belong to Datadog or Grafana. Run both.
Pricing that's on your side
Developer is free and Scale is a fixed price. Nothing in the bill is worked out from what we save you, and the replay that shows whether it is worth it comes before you pay anything.
Add-ons
Add them yourself on Scale. On Enterprise they’re part of the contract.