AI Economics 1: Unit Economics: Cost and Value per Task

The money side of driving AI products: what a feature really costs per task, what it is really worth, and the decisions that keep the margin positive as usage grows.

This guide follows the AI product management guide, whose metric tree (Product 3: Metrics: from model quality to business KPIs) puts a value on each ticket. Here we work out the cost side with prices checked in October 2026. The running example is the same support copilot: about 400 tickets a day, a team of 25 agents at $40 an hour, and refunds up to $50 issued directly.

The three pages

PagePart of the question it answers
1 · Unit economics (this page) — Cost per task: the unit economics of an AI feature to Cost levers, in order of payoffWhat does one task cost, what is it worth, and which levers cut the cost?
2 · Routing and sourcing — Economics 2: Model routing and cascades to Economics 2: Lock-in and portability: what an abstraction layer really buysWhich model handles which task, should we build or buy, and how do we keep the option to leave?
3 · Pricing and strategy — Economics 3: Pricing AI features: seats, usage, credits, outcomes to Economics 3: Build it: a cost model and business case for the copilotHow do we charge for it, where should we bet, and what does the business case look like?

Cost per task: the unit economics of an AI feature

You already know that tokens have a price and that output costs more than input (How LLMs Work: Cost and Latency), and you have seen caching, routing and batching as platform features (Production AI Platform: Cost and latency engineering). This section turns those pieces into the number leadership asks for: what does it cost us to do one unit of the job?

Unit economics — the cost and value of one unit of the thing you deliver, here one support ticket. If one unit loses money, more volume loses more money.

Cost per task — everything you pay to finish one task end to end: every model call, every tool and API call, the human time spent on it, and a fair share of the fixed costs. Not the cost of one call.

Why cost per call misleads

Most teams first meet AI cost as a price per call: "one Sonnet call with 7,000 tokens in and 300 out is under a cent". That number is correct and almost useless. Three things sit between it and the real bill.

  • An agent makes many calls per task. The copilot reads the ticket, calls get_order, searches the help center, maybe searches again, then drafts. Each step is a full model call that re-sends the growing conversation. Anthropic reported that agents use about 4× the tokens of a chat, and multi-agent systems about 15× (multi-agent research post, June 2025).
  • Calls are not the only cost. Guardrail checks, an online judge, embeddings, the vector store, tracing, and above all the human who reviews the draft are all part of the task.
  • Not every task succeeds. A draft the agent throws away still cost money, and it costs human time too. The real unit cost is cost divided by success rate (Cost per successful task).

A useful sense of scale: Product 1: When not to use an LLM estimated LLM triage (one short classification call per ticket) at about $1.20 a day. The drafting agent below costs about $19 a day in model calls, 16 times more, for the same 400 tickets. The difference is the loop.

The rest of this section builds the copilot's cost per resolved ticket line by line, with prices checked on 25 Oct 2026. The value side comes from Product 3: Worked numbers: from draft outcomes to cost per ticket, and the Python cost model in Economics 3: Build it: a cost model and business case for the copilot reuses every input.

The full cost stack

Write down every line before you price any of them. The list below is what a finance partner will ask about, in roughly the order teams forget them.

LineWhat it isOften forgotten because
Model tokensUncached input, cache writes, cache reads, output (thinking bills as output) People price only input and output, at list price
Calls per taskAgent turns; each re-sends the contextDemos show the happy path
RetriesRate limits, overloads, invalid tool JSON, timeouts They do not show in traces of successful runs
Tool and API callsPaid APIs the agent calls (search, enrichment) Billed on another vendor's invoice
RetrievalEmbedding the query, vector store, re-ranker Tiny per call, but a fixed monthly bill
GuardrailsInjection and PII checks on input and output Owned by the security team
Judges and evalsOnline judge on live traffic, nightly eval runs Seen as a test cost, not a running cost
Human reviewMinutes an agent spends reading, editing or rewriting the draft Paid from the support budget
Infra and peopleGateway, tracing, the engineers who run the feature Fixed, so it vanishes in a per-call view

cost per task = Σcalls (tokens × price) × retry factor + tools + retrieval + guardrails + judge + human minutes × loaded rate + fixed costs ÷ volumeDivide by the success rate to get cost per successful task (Cost per successful task).

The token line has four prices, not two. With Anthropic's prompt caching, input marked for caching and sent for the first time is a cache write (1.25× the input price for the 5-minute cache); input found in the cache is a cache read (a small fraction of the input price); and input after the last cache point is plain uncached input. The API reports all four counts on every response, so you can price each call exactly:

# $ per million tokens, claude-sonnet-5-5, checked 25 Oct 2026
P = {"in": 2.00, "write_5m": 2.50, "read": 0.10, "out": 10.00}

def call_cost(u, p=P):
    """u is response.usage from the Messages API."""
    return (u.input_tokens * p["in"]
            + u.cache_creation_input_tokens * p["write_5m"]
            + u.cache_read_input_tokens * p["read"]
            + u.output_tokens * p["out"]) / 1e6

Log this per call with a task_id, sum per task, and you have the raw material for everything below. The gateway (Production AI Platform: The LLM/AI gateway) is the natural place to do it. (If you use the 1-hour cache, price those writes at 2×; the usage.cache_creation object splits writes by lifetime.)

The prices you plug in (October 2026)

List prices in US dollars per million tokens, standard tier, from each vendor's pricing page on 25 Oct 2026. Prices change several times a year: date every number you put in a business case.

ModelInputCache readOutput
Claude Sonnet 5.5 (claude-sonnet-5-5)$2.00$0.10$10.00
Claude Haiku 5.5, prompts ≤ 100K tokens$0.10$0.01$0.50
Claude Opus 5.5$4.00$0.20$20.00
Claude Fable 5.1$10.00$0.25$50.00
OpenAI gpt-6.1-sol$2.00$0.10$10.00
OpenAI gpt-6-luna$0.10$0.01$0.50
Google gemini-3.8-flash, until 31 Dec 2026$0.75$0.075 $3.75

Three details in this table change the math, and none of them is in a cost spreadsheet from last year.

  • Cache reads are no longer always 10% of input. Anthropic charges 0.1× on most models, but 0.05× on Sonnet 5.5 and Opus 5.5, and 0.025× on Fable 5.1. Cache writes stay at 1.25× (5-minute cache) or 2× (1-hour cache).
  • Haiku 5.5 has a price cliff. A request whose prompt is over 100,000 tokens pays $0.50 / $2.50 for every token in that request, cached or not: five times the normal price.
  • Some prices are promotions. Gemini 3.8 Flash doubles to $1.50 / $7.50 on 1 Jan 2027. OpenAI marks gpt-5.6-sol pricing as promotional "at least through November 21, 2026". A business case built on a promotional price has a hole in it from day one.

Per-token prices also do not compare models on their own. Anthropic's pricing page says Claude models from 4.7 on use a tokenizer that produces about 30% more tokens for the same text, and other vendors' tokenizers differ again. Compare dollars per ticket on your tickets, never dollars per million tokens.

Worked example: cost per resolved ticket

The copilot runs in draft mode: it drafts a reply for every ticket, and a human agent reviews, edits and sends it. The inputs are below. Ticket volume, mix, human minutes and agent cost are the ones used in Product 3: Worked numbers: from draft outcomes to cost per ticket. Token counts and calls per ticket are realistic placeholders for an agent of this shape; replace them with your own traces. Prices are the real Oct 2026 list prices.

InputValueSource
Volume400 tickets/day, 12,000/monthRunning example
Agent model and pricesSonnet 5.5: $2 in, $2.50 cache write (5 min), $0.10 cache read, $10 outAnthropic pricing page, 25 Oct 2026
Ticket classes (from the daily mix)Easy 200 (order status 120, shipping 80); normal 162 (billing 70, refunds ≤ $50 42, account 50); hard 38 (refunds over $50 18, other 20) Product 3: Worked numbers: from draft outcomes to cost per ticket mix
Calls per ticketEasy 3, normal 5, hard 12Placeholder; read from traces
Input tokens per call7,000 (easy, normal); 12,000 (hard) System prompt + tools ≈ 5,000, plus ticket, KB chunks, tool results
Cache hit rate75% of input read from cache; 25% written at 1.25× Automatic caching on the growing conversation
Output tokens per call300, including thinkingPlaceholder
Retries3% of calls repeated in fullPlaceholder
Guardrails2 Haiku 5.5 calls per ticket, 1,500 in / 50 out each Input check, output check
Online judge1 Sonnet 5.5 call per ticket, 1,500 in / 300 out, uncached As in Evals 2
Embeddings2 queries × 300 tokens, text-embedding-3-small, $0.02/M OpenAI pricing page, 25 Oct 2026
Fixed AI infra$600/month: vector store, tracing, gatewayPlaceholder
Draft outcomes72% sent as-is, 20% edited, 8% discarded (92% usable) Product 3: Worked numbers: from draft outcomes to cost per ticket
Human minutes per ticketAs-is 8.5, edited 10, discarded 13; no copilot 12.0 Product 3: Worked numbers: from draft outcomes to cost per ticket
Loaded agent cost$40/hour = $0.667/minuteProduct 3: Worked numbers: from draft outcomes to cost per ticket (finance number)
Reopened within 7 days9%, assumed the same with and without the copilot Product 3: Worked numbers: from draft outcomes to cost per ticket

Step 1: one agent call. An easy or normal call reads 5,250 tokens from cache, writes 1,750 and outputs 300:

read    5,250 × $0.10 / 1M  = $0.000525
write   1,750 × $2.50 / 1M  = $0.004375
output    300 × $10   / 1M  = $0.003000
one call                    = $0.0079    (hard-ticket call: $0.0114)

Step 2: calls per ticket, with retries. Easy: 3 × $0.0079 × 1.03 = $0.024. Normal: 5 calls = $0.041. Hard: 12 × $0.0114 × 1.03 = $0.141. Weighted by the mix (50% / 40.5% / 9.5%), the agent loop costs $0.042 per ticket, at 4.8 calls per ticket on average. This is the number Product 3: Worked numbers: from draft outcomes to cost per ticket reads from the gateway cost log as "$0.04 AI cost per ticket".

Step 3: the AI lines the gateway log misses. Judge: 1,500 × $2 + 300 × $10 per million = $0.006. Guardrails: $0.0004. Embeddings: $0.00001. Variable AI cost: $0.048 per ticket, about $580 a month. Fixed infra adds $600 ÷ 12,000 = $0.05. Full AI cost: $0.10 per ticket, more than double the $0.04 that shows up on the model invoice.

Step 4: human time. From Product 3: Worked numbers: from draft outcomes to cost per ticket: 0.72 × 8.5 + 0.20 × 10 + 0.08 × 13 = 9.16 minutes, at $0.667 a minute = $6.11.

Per ticketNo copilotWith copilot
Agent loop tokens (gateway log)–$0.042
Judge, guardrails, embeddings–$0.006
Fixed AI infra ÷ volume–$0.050
Human time12.0 min = $8.009.16 min = $6.11
Cost per ticket$8.00$6.21
Cost per resolved ticket (÷ 0.91)$8.79 $6.82
Two horizontal bars on the same dollar scale. Without the copilot a ticket costs $8.00, all human time (12.0 minutes at $40 an hour). With the copilot it costs $6.21: $6.11 of human time (9.16 minutes) and $0.10 of AI, a sliver too thin to see at this scale. A zoomed bar below breaks the $0.10 of AI into three parts: $0.042 for the agent loop tokens that the gateway log shows, $0.006 for the judge, guardrails and embeddings, and $0.050 for fixed infra spread over 12,000 tickets a month.
Cost per ticket, drawn to scale. Read it as: at full scale, the AI is a sliver: 1.6% of the cost of a ticket. The model invoice ($0.042) is less than half of even that sliver. The money is in the human minutes, so that is where savings come from.

Read the result the right way round. AI is 1.6% of the cost of a ticket; human time is 98%. This is normal for a draft-mode copilot. It means the biggest cost lever is not a cheaper model but a draft that needs less human time (The lever that is not on the list). It also means the business case lives or dies on the 2.84 minutes saved, which Value per task: measuring what the feature is worth shows is the hardest number to defend.

The saving is $8.00 − $6.21 = $1.79 per ticket, or about $21,500 a month, the same figure Product 3: Worked numbers: from draft outcomes to cost per ticket uses. Counting only the $0.04 agent loop would overstate it by about $700 a month: that is the judge, guardrails and fixed infra. Neither figure includes the engineers who build and run the copilot; Worked example: margin per ticket adds them, and Economics 2: Build, buy, or partner covers total cost of ownership.

A distribution, not an average

The $0.048 average hides a skewed spread. Agent loops have a fat tail: a hard ticket makes more calls and each call carries more context, so its cost grows faster than its call count.

Ticket classShare of ticketsAI variable costShare of loop spend
Easy (3 calls)50%$0.03129%
Normal (5 calls)40.5%$0.04739%
Hard (12 calls, bigger context)9.5%$0.14732%
Two stacked bars, each 100% wide. The top bar is share of tickets: easy 50%, normal 40.5%, hard 9.5%. The bottom bar is share of agent-loop spend: easy 29%, normal 39%, hard 32%. Per-ticket AI cost is $0.031 for easy, $0.047 for normal and $0.147 for hard tickets.
Hard tickets: 1 in 10 tickets, 1 in 3 dollars. Read it as: the hard tenth of tickets makes 12 calls with bigger context, so it costs almost five times an easy ticket and takes a third of the spend. Report p95 and p99 per ticket, not only the mean.

One ticket in ten drives a third of the loop spend, and a hard ticket costs almost five times an easy one. Real traffic is worse than this three-bucket model: a few tickets loop 30 or 40 times because a tool keeps failing or the model keeps searching, and those few can double a day's bill.

So report cost as p50, p95 and p99 per task, plus the share of spend from the top 10% of tasks, and break it down by ticket class. Alert on p99, not on the mean: one runaway loop barely moves the mean but shows up at p99 the same day.

Cost per successful task

You do not pay for drafts; you pay for drafts that get used. A discarded draft bought nothing, and in Product 3: Worked numbers: from draft outcomes to cost per ticket it costs the agent 13 minutes, more than no draft at all.

cost per successful task = cost per attempt ÷ success rate$0.048 ÷ 0.92 = $0.053 of variable AI cost per usable draft; $0.107 with fixed infra.

Define "success" before you compute it, and pick the definition the business pays for. For the copilot there are three candidates: draft usable (sent as-is or edited, 92%), ticket resolved (not reopened in 7 days, 91%), and customer satisfied. Draft usable is the right unit for the AI cost, because that is what the AI delivers. Ticket resolved is the right unit for the whole support cost, which is why the table in Worked example: cost per resolved ticket divides by 0.91.

This is also why a cheaper model can cost more. Run the whole copilot on Haiku 5.5 and variable AI cost falls from $0.048 to about $0.009 per ticket, a saving of $0.04. Now suppose Haiku moves 5 points of drafts from "sent as-is" to "discarded". Each of those costs 4.5 more minutes (13 − 8.5), so the average ticket costs 0.05 × 4.5 × $0.667 = $0.15 more in human time. The switch saves $0.04 and spends $0.15. Always compare models on cost per successful task, including the human line.

The same ticket on another vendor

Run the same inputs on OpenAI's gpt-6.1-sol. Its list price is identical to Sonnet 5.5: $2 input, $0.10 cached input, $10 output. OpenAI also charges a 1.25× cache write on GPT-5.6 and later models (with a 30-minute default lifetime), so even the cache math matches. At equal token counts the agent loop costs the same $0.042.

That is the useful lesson: at the frontier, list prices have converged. On your ticket, vendors differ in things the price sheet does not show: how many tokens each tokenizer produces for your text, how verbose each model's output and thinking are, how many turns each needs, and its draft outcome mix. You only learn those by running both on the same eval set and measuring tokens and outcomes per ticket (Economics 2: Lock-in and portability: what an abstraction layer really buys covers what switching would cost).

The cheap tier has converged too: Haiku 5.5 and gpt-6-luna both list at $0.10 / $0.50. Whether a cheap model is a saving depends entirely on the outcome mix it achieves, which is the subject of Economics 2: Model routing and cascades.

Self-hosting an open-weights model changes the shape of the cost, not just its size. You pay for GPUs by the hour whether or not tickets arrive, so cost per ticket depends on how busy you keep them. At 400 tickets a day a GPU sits mostly idle and the per-ticket cost is far above the API price. A later guide in this track covers the GPU math.

Value per task: measuring what the feature is worth

Cost comes from invoices and logs. Value has to be estimated, and the estimate is where most AI business cases go wrong. Product 3: Metrics: from model quality to business KPIs already built the copilot's metric tree and walked it up to money: handle time 12.0 → 9.16 minutes, about $21,500 a month, about 4 of the 25 agents' time. This section does not redo that arithmetic. It does three things the tree does not: it covers the kinds of value that do not run through handle time, it shows how to measure each one so the number survives a finance review, and it puts value next to the full cost from Cost per task: the unit economics of an AI feature to get a margin.

Value per task — the money the business gains or keeps because the AI did one task: cost avoided, revenue earned or kept, or losses prevented. Value per task minus cost per task is margin per task.

Four kinds of value

KindFor the copilotHow hard to prove
Time savedHuman minutes per ticket go down (Product 3: Worked numbers: from draft outcomes to cost per ticket) Easy to measure, hard to bank (The time-saved illusion)
DeflectionTickets solved with no human at all; zero in draft mode Medium: must prove they were truly solved
RevenueFaster, better answers keep customers Hard: slow signal, many causes
Quality and riskFewer wrong refunds and policy mistakes Medium: count the errors avoided

Lead with the kind you can prove and list the others as upside. A business case that rests on retention lift will be asked for evidence you will not have for a year.

Time saved × loaded cost

Loaded cost — what an employee costs the company per hour, not what they are paid: wages plus benefits, payroll taxes, and often tools, seat and management. Product 3: Worked numbers: from draft outcomes to cost per ticket uses $40 an hour from finance. Check that number against public data before you put it in front of a CFO:

  • Median pay for US customer service representatives was $20.59 an hour in May 2024 (BLS Occupational Outlook Handbook).
  • In private industry, wages and salaries were 70.0% of employer compensation cost in June 2026 (BLS Employer Costs for Employee Compensation, released 9 Sep 2026).

So wage plus benefits alone is about $20.59 ÷ 0.70 = $29 an hour at the national median. The $11 gap to $40 is the help-desk seat, other software, management and space, plus B2B SaaS agents earning above the median. That is plausible, but it matters which costs actually fall when you need fewer agent-hours. Software seats fall only if you remove seats; management cost rarely falls at all. A conservative case values saved time at the wage-plus-benefits rate ($29), and an aggressive one at the full loaded rate ($40). At 2.84 minutes per ticket that is $1.39 versus $1.89 per ticket: the choice moves the monthly value by $6,000.

The time-saved illusion

Product 3: Worked numbers: from draft outcomes to cost per ticket warns that the $21,500 is real only if the company changes what it spends. Here is why the warning matters so much, and what the evidence says.

The freed time arrives in small pieces. 568 hours a month across 25 agents is about 23 hours each, or roughly 10 minutes per working hour, delivered as a minute or three per ticket. Nobody's paycheck changes because of gaps. Unless a staffing decision changes, agents finish tickets a little faster and wait for the next one.

A flow from left to right. 2.84 minutes saved per ticket adds up to 568 agent-hours a month. Then a decision point: did a staffing decision change? If yes, three green paths lead to money: hire fewer agents as volume grows, do not backfill people who leave, or move agents to work with a measured value. Each leads to about $21,500 a month banked. If no, a red path: agents finish tickets faster and wait, the dashboard cost per ticket falls, and the support budget stays the same, so $0 is banked.
Saved minutes become money only through a staffing decision. Read it as: the minutes are real either way. The dollars appear only on the green path. Agree which green path you claim before launch, and track it against the staffing plan.

The economic evidence says the gap between "saved" and "banked" is real and large:

  • Humlum and Vestergaard (2025) linked survey data from 25,000 Danish workers in 11 AI-exposed occupations to payroll records. They found average time savings of 2.8% of work hours, and effects on earnings and recorded hours that were statistically zero, ruling out average effects above 1%.
  • Brynjolfsson, Li and Raymond (QJE 2025) studied 5,172 customer support agents given an AI assistant. Issues resolved per hour rose about 15% on average. The 2023 working paper put it at 14%, with 34% for new and low-skilled agents and minimal impact on experienced ones. The same tool is worth very different amounts depending on who uses it.
  • METR's 2025 randomized trial found experienced developers took 19% longer with AI tools, while believing afterwards that AI had made them about 20% faster. Self-reported time savings are not evidence.

Deflection value

Deflection — a ticket that never reaches a human. In draft mode it is zero by design (Product 3: The metric tree). It appears when a slice of tickets is auto-sent, for example order-status replies. Its value is the whole human cost of a ticket ($8.00), not 2.84 minutes of it, which is why autonomy is so attractive. But Chapter 05 showed the catch: a customer who gives up also counts as deflected. Only resolved deflections have value.

per auto-sent ticket
truly resolved (85%)    human cost avoided           = +$8.00
reopened (15%)          a human handles it anyway,
                        ~14 min = $9.33 vs $8.00     = −$1.33
value                   0.85 × 8.00 − 0.15 × 1.33    ≈ +$6.60

The reopen rate drives the result: at 40% reopens the value falls to about $4.30, before counting any customer who leaves. For outside anchors: Gartner's 2019 poll put live-channel contacts at $8.01 each against $0.10 for self-service, close to this copilot's $8.00. And Intercom's Fin charges $0.99 per "outcome" (pricing page, 25 Oct 2026), which is the market price of one AI resolution. Your own AI cost per resolved auto-send is about $0.10 ÷ 0.85 ≈ $0.12 plus your share of engineering; if that total is near $0.99 at your volume, buying beats building (Economics 2: Build, buy, or partner). Per-resolution pricing as a business model is in Economics 3: Pricing AI features: seats, usage, credits, outcomes.

Revenue and quality value

Revenue value comes from customers who stay, buy more, or convert because support was faster or better. For a B2B SaaS it can be the largest number and is the hardest to prove: churn moves slowly, contracts renew yearly, and prices, bugs and sales all move it too. Treat it as upside unless you run a long holdout (Measuring value honestly).

Quality and risk value is the money not lost to mistakes. It is easier to count. In Evals 1: Why vibe checks stop working, a prompt change raised out-of-policy refund promises from about 1 to 5 a day. If the copilot's code-enforced $50 cap prevents, say, two wrong refunds a day at $40 each, that is $80 a day, or $0.20 per ticket. You can count those events in traces, so the number is defensible.

Value can also be negative. A confidently wrong answer can cost more than the ticket: in Moffatt v. Air Canada (Feb 2024) the airline was held liable for its chatbot's wrong refund advice. Put expected error cost in the model as a negative line: error rate × average cost of an error.

Measuring value honestly

Every value number is a difference between a world with the copilot and one without it. You only see one world per ticket, so you need a comparison group, and the design of that comparison decides whether the number is true. Evals 4: A/B tests for AI features covers A/B mechanics and sample sizes, and Product 3: Attribution: was it the copilot? covers attribution. This is the money-specific checklist.

Pick the right unit of randomization

Randomizing by ticket is the default and the wrong choice for handle time. Agents learn from the drafts: an agent who sees good drafts on half their tickets writes faster on the other half too. The control group gets better, and the measured gain shrinks. It is called spillover — the treatment leaks into the control. Randomize by agent (some agents get the copilot, some do not) for handle time. With 25 agents that is a small sample of people, so run it longer and compare each agent with their own pre-launch baseline.

Keep a long-running holdout

Holdout — a small group that keeps working without the feature for months after launch, here 2–3 agents or 5–10% of tickets. It is the only clean way to see slow effects such as reopen rates drifting, CSAT or retention, and it keeps a live "before" to compare with. It has a cost: those agents work at 12.0 minutes, not 9.16. At 2 of 25 agents that is about $1,800 a month of value you give up to know the value is real. Budget it in the business case.

Measure from logs, not from people

Take minutes from system timestamps (ticket opened in the agent's view → reply sent), joined to the trace that produced the draft. Do not use surveys of time saved: the METR result above shows people misjudge their own speed by tens of percent. Count "edited" versus "as-is" from the diff between draft and sent text, not from a button agents may skip.

Watch for effects that fade or fake

  • Novelty effect — people try harder with a new tool. Do not report the first two weeks; compare weeks 3–8.
  • Learning curve — new agents get faster each month with or without AI. A before/after comparison credits the AI with their learning. A concurrent control does not.
  • Mix shift — a release that adds easy order-status tickets lowers average handle time with no help from the copilot. Report minutes per ticket class, not just the average.
  • Gaming the metric — the fastest way to cut handle time is to send drafts unread. Price the counter-metric (reopens) in the same dollars, as Product 3: Guardrails and counter-metrics in dollars does.

Write the claim down before the test

Before launch, write which value you claim (for example "2.5 minutes per ticket, banked as three non-backfilled roles"), how it will be measured, and the smallest effect that would make the feature worth keeping. Then the result either clears the bar or it does not. A team that chooses its metric after seeing the data will always find one that went up.

Worked example: margin per ticket

Now put value next to the full cost from Worked example: cost per resolved ticket, and include the engineers. Assume half of one engineer's time keeps the copilot running: evals, prompt updates, incidents, model migrations. At a loaded $200,000 a year, that is $8,333 a month, or $0.69 per ticket at 12,000 tickets. At this volume it is seven times the whole AI line.

Per ticketTime bankedTime not banked
Value: 2.84 min × $0.667+$1.89$0.00
AI variable cost (loop, judge, guardrails)−$0.05−$0.05
Fixed AI infra ($600/month)−$0.05−$0.05
Engineering (0.5 FTE)−$0.69−$0.69
Margin per ticket+$1.10−$0.79
Per month (12,000 tickets)+$13,200 −$9,500
A horizontal bar chart around a zero line, in dollars per ticket. Time banked: value +$1.89 to the right; costs to the left: AI variable $0.05, fixed infra $0.05, engineering $0.69, total $0.79; margin +$1.10. Time not banked: value $0; the same $0.79 of costs; margin minus $0.79.
Margin per ticket, with and without banking the time. Read it as: the engineers ($0.69) cost seven times the whole AI line at this volume. Without banked time, there is nothing on the value side to pay for them.

Three things follow. First, the decision is not about tokens: model tokens are about 6% of the copilot's running cost. Second, the copilot is worth building only if the time is banked, so the conversion plan is part of the design. Third, volume changes the answer: at 4,000 tickets a day the same half engineer costs $0.07 a ticket and the margin rises to about $1.77. At small volumes, buying a vendor product often wins (Economics 2: Build, buy, or partner).

The quality value from Revenue and quality value ($0.20 per ticket, if you can count it) would add $2,400 a month. Show it as a separate, separately evidenced line, never folded into time saved.

Cost levers, in order of payoff

Once you know cost per task and where it goes, you can cut it. The levers are well known; what a staff engineer adds is the order. Pull the levers that cost nothing in quality first, the ones that trade quality for cost later, and the risky ones last. Each lever below is priced on the Worked example: cost per resolved ticket copilot and applied one after another, so the savings are real and do not double-count.

The ranking

LeverCopilot saving per ticketEffortQuality risk
1. Prompt caching$0.100 → $0.048 (−51%)HoursNone
2. Fewer agent turns−$0.008DaysLow; check end-state evals
3. Smaller model for easy tickets−$0.008Weeks (per-route evals)Medium
4. Output-length control−$0.003HoursLow
5. Context trimming−$0.002DaysLow to medium
6. Batch API for async work−$0.003 (judge only)HoursNone; adds delay
7. Semantic cachingSmall hereWeeksHigh: wrong answers
A waterfall chart in dollars per ticket. Start without caching at $0.100. Prompt caching removes $0.052, leaving $0.048. Fewer agent turns removes $0.008, a smaller model for easy tickets $0.008, output-length control $0.003, context trimming $0.002, and batching the judge $0.003, ending at $0.024.
Variable AI cost per ticket, lever by lever. Read it as: caching alone does more than everything after it combined. Each later lever is applied on top of the earlier ones, so the steps shrink as input gets cheaper.

Caching takes variable AI cost from $0.100 to $0.048; levers 2–7 then take it to $0.024 (another −50%). Two warnings before the details. Savings do not add: once caching makes input cheap, trimming input saves less, so re-price after every lever. And the order on your workload may differ: a single-call feature has no turns to cut, and a nightly batch summarizer gets 50% from lever 6 alone.

Prompt caching

Prompt caching — the provider stores the processed form of a prompt prefix, so a later request that starts with the same bytes reuses it at a discount. The mechanics are in Production AI Platform: Cost and latency engineering. The economics, from Anthropic's pricing and caching docs on 25 Oct 2026:

  • Cache write: 1.25× input price for the default 5-minute cache, 2× for the 1-hour cache.
  • Cache read: 0.1× input on most models, 0.05× on Sonnet 5.5 and Opus 5.5, 0.025× on Fable 5.1. The multipliers stack with the batch discount.
  • A read refreshes the entry's lifetime for free. Lifetime counts from the start of the request.
  • The prefix is matched in the order tools → system → messages; any byte change invalidates everything after it. The minimum cacheable prefix is 512 tokens on current models. Caches are isolated per organization and, on the Claude API, per workspace.

For the copilot, caching cuts variable cost from $0.100 to $0.048, about 51%. Anthropic's 2024 launch post said "up to 90%"; with 0.05× reads the ceiling is now 95%. Why only half here? Output tokens ($0.003 per call) are never cached and are now 38% of each call's cost. And the 25% of input that is new each turn is written at 1.25×, so it costs more than without caching. Caching wins most on long, stable prefixes with short outputs.

The 5-minute cache is the right choice here. Within a ticket, agent turns are seconds apart. Across tickets, 400 a day in a 10-hour shift is one every 90 seconds, so the shared system prompt stays warm all day and each read refreshes it. The 1-hour cache pays only when requests sharing a prefix are 5 to 60 minutes apart. OpenAI's caching is automatic; on GPT-5.6 and later it charges a 1.25× write for its 30-minute default (2.5× for 12 hours), and earlier models have no write charge.

Fewer agent turns

Each turn re-sends the whole conversation, so turns multiply everything else. Three ways to remove them:

  • Do deterministic steps in code, before the loop. Every order-status ticket needs the order record. Parse the order ID and call get_order before the first model call, and pass the result in. The model no longer spends a turn asking for it. Easy tickets drop from 3 calls to 2.
  • Let the model call tools in parallel: order lookup and KB search in one turn, not two.
  • Cap the loop. After 8 calls, stop and hand off to a human with the work so far. Hard tickets drop from 12 calls to 8.

Together: about −$0.008 per ticket, the biggest saving after caching, at low quality risk. In the same spirit, Anthropic reported that programmatic tool calling (the model writes code that calls several tools and returns only the filtered result) cut average token use by 37% on complex research tasks (Nov 2025). Check that end-state success did not fall (Evals 3); the cap in particular moves some cost to humans (The same ticket on another vendor).

A smaller model for easy tickets

Haiku 5.5 lists at $0.10 / $0.50, one-twentieth of Sonnet 5.5. One Haiku call in the copilot costs $0.0004 instead of $0.0079. Sending the 200 easy tickets a day to Haiku saves another $0.008 per ticket after lever 2. The guardrail checks already run on Haiku, which is why they cost a fraction of a cent.

The saving is real only if easy tickets are correctly identified and Haiku's drafts on them are as good. If Haiku moves 5 points of easy-ticket drafts from "sent as-is" to "discarded", the human cost is 0.5 × 0.05 × 4.5 min × $0.667 ≈ $0.075 per average ticket: ten times what the switch saved. That is why this lever needs per-route evals and gets its own section (Economics 2: Model routing and cascades).

Output-length control

Output costs 5× input on every model in the The prices you plug in (October 2026) table, and thinking tokens bill as output. After caching, output is the largest token line per call. Two controls:

  • Ask for less. Support replies should be short anyway. State the target length and show a short example. On tool-calling turns, ask for no preamble.
  • Lower the effort setting on routes that do not need deep reasoning: output_config={"effort": "medium"} on Sonnet 5.5, whose default is high. Lower effort means less thinking, fewer and more combined tool calls, and terser text.

Cutting output from 300 to 200 tokens per call saves about $0.003 per ticket after levers 1–3. Do not use a tight max_tokens as the control: a reply cut off mid-sentence is a failed task, and the retry costs more than the tokens saved.

Context trimming and retrieval precision

Every token in the prompt is paid again on every later turn. The usual waste is retrieval: ten KB chunks "to be safe" when two contain the answer. Better ranking (a re-ranker, or retrieval evals that measure precision, as in Evals 3) lets you send fewer chunks. Removing 1,000 tokens per call saves only about $0.002 per ticket here, because with caching most of those tokens were cheap reads. Without caching the same cut would save about three times more.

The same applies to tools. Tool definitions sit in every request. Anthropic's tool search tool, which loads definitions only when needed, cut token use by 85% in their example of a large tool library (Nov 2025). The copilot has two tools and does not need it; an agent with fifty MCP tools does.

Batch API for work nobody waits for

Anthropic's Message Batches API gives 50% off input and output for requests that can wait (results within 24 hours, usually much sooner), and the discount stacks with cache pricing. OpenAI's Batch and Flex tiers are also half price. A live ticket cannot wait, but parts of the system can:

  • The online judge scores drafts after they are sent, to track quality trends. Batching it halves its cost: −$0.003 per ticket. You lose same-minute alerts, so keep a small real-time sample for alerting if you need one.
  • Nightly and pre-release eval runs (Evals 4: Evals in CI/CD and as a shared platform): 50% off the whole eval bill.
  • Backfills: re-tagging old tickets, re-summarizing the KB, generating synthetic cases.

Semantic caching, last and carefully

Semantic cache — return a stored answer when a new request is similar in meaning to an old one, judged by embedding similarity above a threshold. Prompt caching reuses computation on identical bytes and still produces a fresh answer; a semantic cache skips the model entirely. That is why it saves the most per hit, and why it is the riskiest lever.

The risk is measurable. The vCache paper (Schroeder et al., 2025) found that in a cache of 45,000 entries, correct and incorrect cache hits had almost the same mean similarity score: 0.85 versus 0.84. No single threshold separates right answers from wrong ones, so a fixed threshold gives an unpredictable error rate. Their fix learns a separate threshold per cached entry to meet a chosen error bound.

For the copilot, semantic caching fits almost nowhere. Each ticket has its own order, dates and amounts. "Refund my order" for an order delivered 12 days ago and one delivered 40 days ago look the same to an embedding and need opposite answers. Use it only for answers that depend on no account data (such as "how do I reset my password?"), with a high threshold, and invalidate entries when the KB article behind them changes.

The lever that is not on the list

Caching already saves $0.052 per ticket. Levers 2–7 together save another $0.024, about $290 a month at 12,000 tickets. Now look at the human line. Product 3: Worked numbers: from draft outcomes to cost per ticket showed that moving 5 points of drafts from "discarded" to "sent as-is" saves 0.23 minutes per ticket. At $0.667 a minute that is $0.15 per ticket, $1,800 a month: six times all the token levers combined.

Three horizontal bars in dollars per month at 12,000 tickets. Prompt caching, already on: about $620. Levers 2 to 7 combined: about $290. Moving 5 points of drafts from discarded to sent as-is: about $1,800 of agent time.
Monthly savings: token levers against one quality gain. Read it as: once caching is on, one modest quality gain is worth six times every other token lever combined. For a draft-mode copilot, the best cost lever is a better draft.

For a draft-mode copilot the best cost lever is quality: better retrieval, better prompts, or a better model if it cuts discarded drafts. This is why levers 3 and 7 need care. A lever that saves a cent of tokens and costs one point of discarded drafts (0.01 × 4.5 min × $0.667 = $0.03 of human time) loses money. The picture flips for an autonomous agent, where there is no human minute to save and the AI cost is the whole cost; then the token levers matter in full.

Check yourself

Question 1

The gateway dashboard shows the copilot at $0.04 per ticket and the PM's business case uses that number. Finance asks for the full AI cost per ticket. What do you add, and roughly what is the answer?

Show answer

The $0.04 is only the agent loop's model tokens. Add the online judge (about $0.006), guardrail calls and embeddings (well under a cent), and fixed AI infra spread over volume ($600 ÷ 12,000 = $0.05). Full AI cost is about $0.10, more than double. Then say what is still missing: the engineers who run it (about $0.69 per ticket at 0.5 FTE and this volume). None of this changes the go/no-go much, because human time is about $6.11 per ticket, but a number that hides half its lines will not survive the first finance review.

Question 2

A teammate proposes moving the whole copilot from Sonnet 5.5 to Haiku 5.5 because it is 20× cheaper per token. Offline evals show the share of discarded drafts rising from 8% to 12%, with as-is falling by the same 4 points. Is it a saving?

Show answer

No. Variable AI cost falls from about $0.048 to $0.009, saving roughly $0.04 per ticket. Each draft that moves from as-is (8.5 min) to discarded (13 min) costs 4.5 more agent minutes, so 0.04 × 4.5 × $0.667 ≈ $0.12 more human cost per ticket. Net: about $0.08 worse per ticket, or about $960 a month. Compare models on cost per successful task including human time, and look at routing only the easy slice with per-route evals (Economics 2: Model routing and cascades).

Question 3

The support director says the copilot "frees 4 agents" and wants it in next year's savings plan. Volume is flat, attrition is low, and there are no open roles. What do you tell finance the copilot is worth next year, and what would change your answer?

Show answer

On a cash basis, close to zero from time saved, and negative after AI and engineering costs (about −$0.79 per ticket, −$9,500 a month), because no staffing decision converts the 568 hours into lower spend. It becomes worth up to about $1.89 per ticket only through a named path: not backfilling departures as they happen, absorbing planned volume growth without hiring, or moving agents to work with a measured value. Write the path and its timing into the plan, and value the time at the wage-plus-benefits rate (~$29/h) unless seats and management costs will also fall.

Question 4

You want to prove the copilot's handle-time saving to finance. The PM proposes randomizing tickets 50/50 for two weeks starting launch day. What is wrong with this design, and what do you run instead?

Show answer

Three problems. Spillover: agents see drafts on half their tickets and learn from them, so control tickets get faster and the gain is understated. Novelty: the first weeks of a new tool are not typical. Duration: two weeks cannot show reopen or retention effects. Instead randomize by agent (or compare each agent with their own pre-launch baseline), drop weeks 1–2, measure minutes from timestamps per ticket class, keep a long-running holdout of 2–3 agents (about $1,800 a month of forgone value), and write down the claimed effect and the minimum worthwhile effect before the test.

Question 5

After a release, variable AI cost per ticket jumps from $0.048 to about $0.12 with no change in calls per ticket or output length. What is the most likely cause, how do you confirm it in minutes, and how do you prevent it?

Show answer

A cache invalidator: something in the prefix (tools or system prompt) now changes per request, such as a timestamp, a ticket ID or an unsorted tool list, so every call writes the full prefix at 1.25× instead of reading it at 0.05×. Confirm by charting cache_read_input_tokens ÷ total input tokens per route; it will have dropped from about 75% to near zero, while cache_creation_input_tokens jumps. Fix by moving the changing value after the last cache breakpoint, and keep an alert on cache hit rate per route.

Question 6

You have one engineer-month to spend on the copilot's cost. Option A: levers 2–7 (fewer turns, Haiku for easy tickets, shorter output, trimming, batch judge). Option B: error analysis on discarded drafts to cut them from 8% to 3%. Which do you pick, with numbers? When would the answer flip?

Show answer

B. Option A saves about $0.024 per ticket, roughly $290 a month at 12,000 tickets, and the Haiku lever carries quality risk. Option B moves 5 points of drafts from discarded to as-is, saving 0.05 × 4.5 min × $0.667 ≈ $0.15 per ticket, about $1,800 a month, six times more. The answer flips for an autonomous agent with no human minutes to save, or at much higher volume: at 100× the tickets, Option A is worth about $29,000 a month.

Sources

Next

You can now cost a task, value it, and cut the cost. Page 2 covers the sourcing decisions: routing between models, build versus buy versus partner, and lock-in.