Know what each customer costs you, and stop the ones that cost more than they pay.
If you sell an AI product, inference is cost of goods. TensorCost sets each customer’s AI cost, counted once and matched to your bill, against what that customer pays you, and holds a margin floor or a fixed limit at the call.
How it works
Calls carry a customer id. The bill supplies the total. You send the revenue, and we never hold a key to your billing system.
- check_circleCost per customer, reconciled — each customer’s share of metered calls, applied to what the provider actually billed that day. Discounts, credits and marketplace pricing reach the per-customer number.
- check_circleRevenue in — each customer’s monthly revenue, sent as a signed request from your billing system, a script or Zapier, or uploaded as a CSV. It works whatever you bill with: Stripe, Chargebee, an ERP or a spreadsheet. The secret that signs it can’t read anything back.
- check_circleMargin per customer per month — revenue minus counted cost. Untagged spend is its own line, and the page shows how much of the spend is tagged.
- check_circleA margin floor — for teams that share revenue. One rule for every customer, such as “keep 40%”. Each customer’s limit follows from what they pay you. A hard-capped floor refuses the next call; a soft-capped floor warns.
- check_circleNo revenue to share? A fixed limit — one rule such as “each customer, $500 a month”. Set it as a hard cap and the next call after a customer reaches it is refused. As a soft cap it warns, and as an alert it only notifies you.
- check_circleUsage out — your billing system pulls each customer’s daily AI cost and tokens with a read-only usage key that opens that one read and nothing else. Each day is marked once it’s settled, so you can bill from figures that won’t move.
At the floor
Step down first. Refuse at the floor.
Near its floor, and only if you’ve turned on live routing and have a proven cheaper model, a customer’s traffic moves to that model. Otherwise the traffic keeps going until the floor. At the floor, a hard cap refuses the next call and a soft cap warns.
- Near the floor: the cheaper model the judge already passed
- At the floor, on a hard cap: the next call is refused
Customers and figures are illustrative.
What we do and what your billing system does
Billing isn’t our job. Your billing system sends us revenue and takes usage from us. We never hold a key to it.