Guide · AI agency · Pricing

From 142 hours to a $20,700 quote: risk reserve, margin vs markup, a walk-away price, monthly fees, milestones and change orders – all calculated, none guessed.

Updated 5 November 2026 · About 12 minutes · Figures are fictional USD examples from our quote workbook

Most AI agent projects that lose money were priced as if the demo were the product. Data access is harder than promised, nobody agreed what “working” means, and new requests slide into the original price. This guide walks through one complete quote – a read-only support-ticket triage agent – from hours to a price, a walk-away number, monthly fees and payment milestones.

How the numbers were produced: every figure below was calculated by our quote workbook (116 formulas, recalculated with no errors). The rates and hours are fictional teaching examples in USD – replace them with your own. This is a pricing method, not legal, tax or accounting advice.

The formula in four lines

Direct cost        = hours x internal cost per hour + materials
Risk-adjusted cost = direct cost x (1 + risk reserve)
Price              = risk-adjusted cost / (1 - target gross margin)
Walk-away price    = risk-adjusted cost / (1 - margin floor)

Use your internal cost per hour (what an hour actually costs you), not your billing rate. The billing rate only matters if you sell time and materials.

Step 1 – List the work, not the features

The example agent reads tickets from one system, looks up a licensed knowledge base, and drafts a reply that a person must approve. Thirteen activities across three phases:

PhaseActivities (examples)Hours
DiscoveryWorkshops and baseline, data and permission inventory, scope and acceptance sign-off24
PilotArchitecture and threat model, read-only adapter, knowledge base, prompts and approval step, evaluation set, shadow-mode pilot84
ProductionLogging, alerts, budget caps and rollback; security review; training and handover; project management34
Total (at $55-95 internal cost per hour by role, plus $150 materials)142

Notice how much of it is not “building the agent”: evaluation, permissions, logging, security review and handover are about a third of the hours (46 of 142). Those are the lines that get forgotten in a quick estimate.

Step 2 – From cost to price

LineValueHow
Direct one-time cost$10,760142 h x role cost + $150 materials
Risk reserve (15%)$1,614For data quality and client delays
Risk-adjusted cost$12,374
Price at 40% target margin$20,623$12,374 / (1 – 0.40)
Quoted price (rounded up to $100)$20,700Gross margin 40.2%
Walk-away price (25% margin floor)$16,500Largest discount without cutting scope: about 20%
Effective blended rate$146/hourPrice / total hours

The mistake that costs the most: margin is not markup

“Add 40%” and “40% margin” sound the same and are not. On the same $12,374 risk-adjusted cost:

MethodPriceReal gross margin
Cost + 40% markup$17,32428.6%
40% gross margin$20,62340.0% (a 67% markup)

The difference is about $3,300 on one project – and it is pure profit, so it decides whether the project was worth doing.

How the price moves with risk and margin

We recalculated the same project for nine combinations. Prices are rounded up to $100:

Risk reserve30% margin40% margin50% margin
0%$15,400$18,000$21,600
15%$17,700$20,700$24,800
30%$20,000$23,400$28,000

Two practical readings: the risk reserve is how you price unknowns – raise it when the client can’t show you the data or a test environment. And if the client pushes back, cutting from 40% to 30% margin saves them about 14%; cutting a phase-one feature often saves more and keeps you profitable.

Step 3 – Monthly costs: say who pays

Agents keep costing money after launch. List every recurring item with its unit, volume, unit price, who pays and the date you checked the vendor’s price:

ItemMonthly (example)Who pays
Model API usage (6,000 requests x $0.012 placeholder)$72Client’s own account
Embeddings / re-indexing$1Client’s own account
Vector store$25Client’s own account
Hosting$40Client’s own account
Monitoring and logs$15Agency, resold at 20% margin = $18.75
Maintenance retainer (6 h x $130)$780Agency

Result: the client pays $138/month directly to vendors and $798.75/month to you. Putting usage on the client’s accounts, with a spending cap they set, means a busy month never becomes your loss. The $0.012 per request is a placeholder – model prices change often, so check the vendor’s pricing page the day you quote and write the date in the quote.

Step 4 – Three ways to sell the same project

OptionPrice before taxUse when
A. Fixed price$20,700Scope, data access and acceptance cases are clear
B. Capped time & materialscap $21,200Exploratory work; report hours weekly
C. Phased$3,800 + $12,200 + $4,800 = $20,800Data or permissions are unknown; go/no-go after each phase

Phased pricing is the honest answer to “our data is a mess”: the client buys a $3,800 discovery first, and both sides decide on the pilot with real information. Write the exit criteria for each phase before it starts.

Step 5 – Milestones and change orders

  • Payment: 30% on signature ($6,210), 40% when the agreed acceptance cases pass ($8,280), 30% at go-live handover ($6,210).
  • Acceptance: agree test cases before the pilot – normal, missing information, conflicting sources, permission boundary and malicious instructions – with a pass threshold for each.
  • Change orders: price every new request with the same risk and margin. In our example, 6 extra engineering hours become a $900 change with one working day of schedule impact – signed before work starts.

What every quote should contain

  • Scope of phase one and a clear list of what is not included.
  • Client responsibilities: data access, test environment, a named contact, reviewers.
  • Build fee, tax handling and milestones; monthly fees and who pays which vendor.
  • Acceptance samples and thresholds; defect-fix window; change process.
  • Handover of code, prompts and data; confidentiality and security responsibilities.
  • A line that results depend on input data quality and use – never promise open-ended savings.

Price your own project

The free starter has the 4-sheet calculator (assumptions, cost breakdown, monthly run cost, summary – live formulas, yellow input cells) and a one-page sheet with the formula, eight discovery questions and the red flags that change a price. The full kit adds the pricing-options and change-order sheets, a Word proposal template, acceptance cases and a delivery playbook with a tested reference agent.

FAQ

What target margin should I use?

It depends on your costs and market; the 40% here is an example. Decide your margin floor – the lowest you accept after a discount – before the negotiation, not during it.

Should I charge per agent or per hour?

Clients buy outcomes, so a fixed price per phase usually sells better. Hours stay the basis of your cost model either way; capped time and materials fits genuinely exploratory work.

Should I resell model API usage?

Only if you add a margin and a written rule for usage above the estimate. Usage on the client’s own account with a spending cap is simpler and safer for both sides.

Sources

AI Stack Nav is independent. Product names are trademarks of their owners.