AI Calculator Pro

What's my expected gross margin on each AI request?

Need to calculate gross margin per AI request? Underprice and every heavy user erodes your margin; overprice and you lose the sale. This page helps teams tracking unit economics find the number that covers AI costs and still leaves the margin you want.

Results update automatically as you type.

Result
$0.0994 margin per request
99.4% gross margin
Revenue / request
$0.1000
AI cost / request
$0.000585
Margin / request
$0.0994
Gross margin
99.4%

Why this isn't trivial

The part people underestimate: margin per request depends on both your price and the exact token cost, which varies with prompt and output length. In practice the biggest savings come from shrinking prompt and output tokens to widen margin, so it is worth modelling before you commit.

How it's calculated

We estimate this by subtracting per-request AI cost from the revenue attributable to that request. Every figure uses the current provider prices baked into the site (reviewed daily), and you can override any input to match your own assumptions.

Frequently asked questions

What if requests vary in size?+

Model a typical and a worst-case request; margin can differ sharply between them.

How do I widen margin?+

Cut tokens per request or move to a cheaper model where quality allows.

Are these prices up to date?+

Yes. The model prices behind this calculator are refreshed and reviewed daily, so your estimate reflects current provider rates rather than a stale snapshot.

Related

Estimates for planning. Pricing data last reviewed 28 July 2026.