Financial Planning

AI Inference Costs: Model the Margin Per Completed Job

Build a customer-delivery cost tree for an AI product, including retries, tools, review and infrastructure, before explaining product margin.

By Finta Editorial TeamPublished November 15, 2026Last reviewed November 14, 2026

Glass portals route a capsule through a processing path and retry loop.

What you will learn

  • reconcile provider consumption to completed paid jobs
  • define the customer-delivery cost boundary
  • test how retries and human review change margin

Model AI inference costs around the completed customer job, not one successful model call. Include failed attempts, retries, tool charges, delivery infrastructure and required human work. Then compare the defined delivery cost with the corresponding customer revenue. A low token bill can coexist with an expensive product.

Use a customer job as the denominator

Define a job that the customer receives and pays for: a completed analysis, processed document or accepted delivery. Count every attempt needed to produce it. Keep nonbillable trials, failed deliveries and refunds visible instead of removing their costs.

AWS’s pricing structure illustrates why model and service dimensions must be checked separately. Match provider consumption to the same job cohort; do not divide a whole-month bill by only the final week’s successful jobs.

Draw the delivery cost tree

Cost branchEvidence to collectCommon omission
Model consumptionInput/output usage, cache policy, model, rate and dateRetry and failed-call tokens
Tools and dataSearch, enrichment, OCR or other supplier usageA second vendor invoice
InfrastructureStorage, compute, orchestration and capacity allocationIdle committed capacity or data transfer
Human delivery workRequired review, exception handling and support boundaryLabor needed to make the promised output usable
Transaction costsApplicable payment and refund costsCosts retained when the customer is refunded

a16z’s AI-economics discussion highlights cloud and human-support costs. Classify actual expenses with the finance owner. A delivery contribution view is not automatically the reported gross margin.

Calculate a fictional customer-delivery cohort

Fictional assumptions, not vendor prices: 10,000 completed paid jobs sell for $0.20 each. Total consumption, including retries, is 100 million input tokens at $1 per million and 20 million output tokens at $5 per million. Other delivery costs are stated below. For this teaching view only, all listed costs are included and no additional delivery costs are assumed.

ItemCost
Input tokens$100
Output tokens$100
Tools and data$150
Allocated delivery infrastructure$90
Required human review, 10 hours at $30$300
Transaction costs$60
Total defined delivery cost$800
Customer revenue$2,000
Delivery contribution / margin$1,200 / 60%

Cost per completed job is $0.08 under this boundary. Revenue minus these costs is not company net profit; product development, sales and other excluded expenses still exist.

Stress-test the expensive exception

ScenarioDefined delivery costMargin on $2,000 revenue
Base$80060%
Token consumption doubles; other inputs unchanged$1,00050%
Required review rises to 40 hours; other inputs unchanged$1,70015%

These scenarios isolate different drivers. More review can overwhelm token savings. Do not cut necessary review merely to improve a spreadsheet; quality and safety remain part of the product promise. Use the existing agent evaluation lesson for the separate task of testing internal output quality.

Copy the customer-delivery margin sheet

Customer job, completion and billing definitions:
Cohort period and job count:
Paid, failed, refunded and trial jobs:
Model/provider/version, rate date and consumption:
Retries and tool calls included once:
Infrastructure and committed-capacity allocation:
Required human review and exception labor:
Other delivery costs and exclusions:
Customer revenue on the same basis:
Cost per completed job and defined margin:
Sensitivity, quality guardrail and evidence owner:

Exercise: do not count retries twice

A provider export already includes $240 of successful and retry calls. A separate log says retries account for $40 of that total. There are $160 other delivery costs and 2,000 completed jobs. What is the cost per completed job?

Answer: ($240 + $160) / 2,000 = $0.20. Adding the $40 again would double-count retries. Keep the retry share as a diagnostic inside the total, not another invoice.

Make the margin explanation reviewable

Tie each cost branch to an actual source, show exclusions and retain the quality requirement. Reconcile billed revenue, credits and completed jobs before comparing customer segments. Refresh rate cards and contract terms when they change.

Keep the approved delivery-economics brief with your fundraising materials in Finta. Ask Aurora to help explain which cost branch drives the sensitivity and what evidence is missing. Validate the figures in the source workbook before sharing the explanation with an investor or changing the delivery plan.

Finta Field Guide. By Finta Editorial Team. Sources checked November 14, 2026. Examples are original, fictional teaching exercises, not customer results, benchmarks or individualized financial, accounting, legal or tax advice.