What this calculator does
It turns four assumptions into a price: the provider's input price, its output price, the token mix of a request and the fixed cost per call. It then applies your target gross margin and divides the result by the value you assign to one credit.
The maths is intentionally small and deterministic. It does not call a model, fetch a price list or read your billing provider. The result is an estimate for planning, not a quote for a customer.