Track inference contribution by SaaS plan by subtracting attributable inference charges from net plan revenue for the same billing period. Compare the result with an explicit contribution target, then inspect the distribution across customer accounts. Use provider billing to reconcile the spend behind the calculation. Use your application records to connect that spend to plan entitlements.
Calculate a contribution that your team can explain
Start with net plan revenue for the period from the billing system. Keep recurring subscription revenue and usage overage revenue visible in separate columns. Apply your finance team's treatment of discounts, credits and refunds. If a customer upgrades halfway through a month, allocate revenue and workload to comparable plan intervals or report the account as a transition for that period. A join to today's customer plan would move that customer's entire history to the new tier.
Use customer and plan identifiers from your application. Map each provider attempt to the customer and feature that initiated it. Save the model, usage units, and the billing dimensions needed for the provider reconciliation. Keep verified spend, estimated spend and spend with unknown ownership distinguishable. Record failed attempts and background work when those calls incur charges. A successful user action can trigger several model calls even if the customer sees one answer.
Use this contribution measure for inference decisions. A product margin calculation also needs the applicable costs of delivering the service, such as retrieval, storage and the application runtime. Keep a separate cost stream for these workloads and assign it with a documented method. FinOps Foundation token cost guidance
Reconcile the plan view with the provider bill
Suppose your usage ledger estimates $2,800 of model cost for the month. The billing report shows $3,100 for the comparable provider scope. Before allocating the $300 difference, reconcile the time window, currency, project, and charge categories. Check for requests made by a background job or test suite that uses the same billing account. Check also for invoice adjustments your request-time rates cannot represent. OpenAI's Costs endpoint returns aggregate monetary amounts by time bucket and supports grouping by dimensions such as project and line item. Use those dimensions to match the provider scope to your usage ledger. OpenAI Costs API
If you can establish that $180 belongs to a shared application job and $120 is unresolved, report those amounts separately. Assign the $180 by a documented driver when you have evidence of which plans benefit. Carry the $120 as unallocated. Check whether the pricing decision would change if all $120 belonged to the plan under review. If the decision changes, investigate ownership before changing the plan.
Stress-test the included allowance
Suppose 100 customer accounts on one plan contribute $10,000 of net monthly revenue and $2,000 of attributable inference cost. The plan has $8,000 of inference contribution, or 80%. Five accounts account for $800 of that cost and $500 of revenue. Their combined contribution is negative $300. A pricing decision based only on the plan average would miss that concentration.
| Change under consideration | Compare before release |
|---|---|
| More included tasks | Cost under the current mix and a heavy-use scenario |
| Premium model by default | Cost by feature, including the share of requests served by the premium model |
| Paid usage above the allowance | Expected overage revenue and the marginal cost of the extra workload |
| Lower request limits | Cost reduction, legitimate tasks affected and the support burden |
For example, if the five heavy accounts receive another $20 of included inference each while revenue and the other accounts stay constant, plan contribution falls to $7,900, or 79%. If your inference contribution floor is 80%, the plan has no room for this change. If the increase comes from a premium route, calculate the impact of a separate premium allowance before reducing the allowance across all models.
One high-cost account can represent intended use, an application defect, or unexpected adoption of a feature. Check request counts and cost per completed workflow before treating every expensive account as a candidate for a tighter cap. If the application routinely spends twice to deliver one result, fix the failed attempt or duplicate work first.
Alectura can attribute gateway usage and apply policy limits to customer traffic. Keep subscription revenue and the plan contribution calculation in your billing or analytics system. Use customer-level cost tracking to establish the usage ledger and cost per accepted task to compare routes before adjusting allowances. Review Alectura's policy controls against one plan's included allowance.
This catch-up edition for 25 November was released on 30 November 2026.
Source documents (2)
- FinOps Foundation token cost guidanceChecked
- OpenAI Costs APIChecked
Trace a request through Alectura.
Bring a sample prompt and a customer policy. See what reaches the model and which decisions appear in the request record.