Cost formula
COGS per user = (API cost per request × requests per user per month); Gross margin = (revenue per user − COGS per user) / revenue per user; Break-even price = COGS per user / target gross margin
Calculator
Model an AI feature’s API cost against seat or usage revenue. See margin, AI COGS as a percent of revenue, and the price you need to hit your target.
Contribution margin
90.0%after AI + non-API COGS
$143,963.88 gross profit · GPT-5 mini
Inputs
Seat + usage revenue against model COGS for the AI feature.
Insights
How much of total cost of goods is the model bill.
AI COGS sits 20.0 pts under your 20% target.
Planning unit economics only—excludes taxes, payment fees, and support costs unless you fold them into non-API COGS%. Updated 2026-07-31. Approximate static list prices for planning only. Always verify against each provider’s official pricing page before production budgeting.
Guide
Map AI API cost of goods sold to seat pricing, adoption rates, and usage limits to understand margin per customer. SaaS features with embedded LLM calls need unit economics before launch so you do not subsidize power users indefinitely. Connect technical token assumptions to business pricing decisions.
COGS per user = (API cost per request × requests per user per month); Gross margin = (revenue per user − COGS per user) / revenue per user; Break-even price = COGS per user / target gross margin
AI features have variable COGS unlike traditional SaaS. Without per-user cost modeling, generous unlimited plans can destroy margin on heavy users while undercharging relative to value on light users.
Use your effective rate if you have discounts; otherwise CentsPerToken list prices provide a conservative planning baseline. Verify against actual invoices monthly.
Model a distribution of usage tiers. Blended COGS across all users may look healthy while power users are underwater—segment analysis is essential.
No. This calculator focuses on AI API COGS inputs for SaaS planning. Full P and L requires your finance team's broader assumptions.
No. All figures are approximate planning estimates based on your inputs and static list prices.