K Koda Intelligence
exploreDeep Dive
DEEP DIVE BRIEFING № 142 · 16 August 2026
Live Intelligence Fact-checked

Writer cut agent costs 41%
without changing the model

Writer rebuilt the scaffolding around its agents, kept the same six models and the same 22 tasks, and watched cost per task fall 41%. Tokens per task dropped from roughly 14,200 to 8,800, a 38% cut, while blended cost slid from about 21 cents to 12 cents. Cost per successful task fell up to 61% because fewer runs failed outright. The caveat: this is a Writer-authored arXiv preprint from July 2026, not an independent audit. The lever still looks real.

7 MIN READ · BY THE KODA EDITORIAL TEAM · TOOLS · AGENT ECONOMICS
41%COST PER TASK↓ WRITER PREPRINT
38%TOKENS PER TASK↓ 14,200 TO 8,800
61%COST PER SUCCESS↓ OPTIMIZED HARNESS
keyboard_arrow_down
smart_display
WATCH · VISUAL NARRATIVEAnimated breakdown · ~2 min
play_arrowPLAY · YOUTUBE
COST PER TASK41%↓ WRITER PREPRINT TOKENS PER TASK38%↓ 14,200 TO 8,800 COST PER SUCCESS61%↓ OPTIMIZED HARNESS AI IaaS 2026$42.276B↑ GARTNER INFERENCE SHARE55%· GARTNER UBER AI COMMITS70%↑ AIRIA REPORTING Q1 2026 SPEND$89.7B↑ IDC CACHING RANGE15-40%· OPTIMIZATION GUIDES

Writer rebuilt the software wrapped around its AI agents. Same models. Same locked task set. Cost per task fell 41%.

No model swap. No new chips. No fine-tuning run. According to Writer's own reported research, redesigning the agent harness reportedly cut tokens per task from about 14,200 to 8,800, a 38% reduction Blended cost per task went from roughly 21 cents to 12 cents across six models and 22 tasks.

Fair warning on the source: this is a Writer-authored arXiv preprint from July 2026, not an independent audit. The company sells an agent platform, so it has a reason to make the harness look like the hero. I still think the number matters, because it points at the one line item almost nobody budgets for.

Here is the plan for this piece. First, a way to think about where agent money actually leaks. Then the four dials you can turn this week. Then the five-year arc. Then something you can build by Sunday.

The Harness Tax

Every agent run pays a tax that has nothing to do with model intelligence.

AGENT ECONOMICS LEDGER · JULY 2026WRITER ARXIV PREPRINT · GARTNER · IDC · AIRIA

Four numbers that show the harness, not the model, is where the money leaks.

Cost per task reduction Writer preprint · 6 models, 22 tasks
41%
Tokens per task reduction Writer · 14,200 to 8,800 tokens
38%
Cost per successful task Writer · optimized harness analysis
61%
Inference share of AI IaaS Gartner · 2026 production deployment
55%

Call it the Harness Tax: the tokens, retries, and wall-clock time your orchestration layer burns before the model does anything useful. You pay it on every run, whether or not you notice, because the invoice shows up as one blended number at the end of the month.

It arrives in four buckets. Sort your spend into them and you will find your money.

Retry tax: the agent fails and the harness reruns the whole chain instead of the failed step. Context tax: you shovel the same 8,000 tokens of history into every call because pruning felt risky. Handoff tax: five agents pass a bloated payload around, each one re-summarizing what the last one already summarized. Verification tax: nobody checks output cheaply, so a $0.02 mistake triggers a $0.20 redo.

Writer's finding is the cleanest public evidence that these buckets are big. Cost per successful task fell by up to 61% in the optimized harness analysis, more than the raw 41%, because fewer runs failed outright. Fixing failure is cheaper than paying for it twice.

The maxim to remember: an ounce in pre is worth a pound in post. Spend a little intelligence before the model call and you stop paying for cleanup after it.

Four Dials on the Harness

Practical part. If you run agents in production you have four dials, and most teams have never touched three of them.

That is not a model problem. That is a metering and architecture problem wearing a model costume.· KODA ANALYSIS · JULY 2026

Dial one is context. Your agent does not need the whole conversation, it needs the last decision plus the relevant chunk. Retrieval done properly is like an 800 IQ librarian who hands you three pages instead of the whole building. Writer's 38% token cut came largely from this class of change, and tokens are the meter your bill runs on.

Dial two is routing. Not every step needs the frontier model. A cheap model can classify, extract, and format. Save the expensive one for reasoning and final output, then watch your blended rate fall while your quality target stays put.

Dial three is retry granularity. Most agents are built like a Ferrari body on a lawnmower engine: gorgeous flow diagram, no failure isolation. Wrap each tool call so a failure retries that step, not the run. Log the reason too, because the log is what tells you which step is quietly eating 20% of the budget.

Dial four is caching. Repeated system prompts, repeated schema definitions, repeated retrieval hits. General AI optimization guides commonly put caching savings in the 15% to 40% range, which is real money once inference is your dominant cost line.

Now the part that makes this a market story instead of a vendor story. Writer's harness paper did not land alone. Nvidia's NeMo Switchyard arrived in the same window, aimed squarely at the orchestration layer. When the chip company and the application company both start shipping plumbing, the plumbing is where the margin moved.

Then look at what happens when nobody tunes the harness. Uber rolled out Claude Code access in December 2025. Usage nearly doubled by February. By March, 84% of its developers were classified as agentic coding users and roughly 70% of committed code came from AI. The company burned through its entire 2026 AI budget four months into the year, despite a $3.4 billion R&D line, according to reporting from Airia.

That is not a model problem. That is a metering and architecture problem wearing a model costume. Writer's own launch post notes enterprises spending up to $500 million a month on uncapped AI, which tells you how many teams are running with the dials untouched.

One honest caveat. Writer also reported that pairing its agent with Palmyra X6, priced at $2.00 per million input tokens and $8.00 per million output tokens, delivered 52% lower cost per task, dropping from about $0.25 to $0.12, with 48% faster execution and 10% higher quality. So the bigger win came from harness plus model, not harness alone. My read: the harness is the lever you control today, and the model is the lever that arrives on someone else's release schedule.

Three signals inside the same shift

HARNESS TAX
61%

Failure is the most expensive line item nobody meters.

Cost per successful task fell up to 61% in Writer's optimized harness, more than the raw 41% headline, because fewer runs collapsed and got rerun. Retry, context, handoff and verification taxes all bill through one blended invoice at month end. Fixing failure is cheaper than paying for it twice.

SPEND PHASE CHANGE
$42.276B

Inference now outspends training, so waste per run matters more than raw compute.

Gartner projects AI-optimized IaaS at $42.276 billion in 2026, up 96.4% from $21.529 billion in 2025 and heading to $66.143 billion in 2027. The same reporting puts 2026 inference at $23.3 billion against $19 billion for training. IDC counted $89.7 billion of total AI infrastructure spend in Q1 2026 alone.

UNCAPPED BURN
84%

Uber spent its whole 2026 AI budget by April.

After rolling out Claude Code access in December 2025, usage nearly doubled by February and 84% of Uber developers were classified as agentic coding users by March, with roughly 70% of committed code coming from AI. The company burned its entire 2026 AI budget four months in, despite a $3.4 billion R&D line. Writer's launch post notes enterprises spending up to $500 million a month on uncapped AI.

2031

Zoom out and the direction of spend explains why this suddenly matters.

Gartner projects worldwide AI-optimized infrastructure-as-a-service spending at $42.276 billion in 2026, up 96.4% from $21.529 billion in 2025, reaching $66.143 billion in 2027. Hardeep Singh, Senior Principal Research Analyst at Gartner, ties the growth to production deployment rather than model development. The same reporting puts 2026 inference spending at $23.3 billion against $19 billion for training, with 55% of AI-optimized IaaS supporting inference. IDC counted $89.7 billion of total AI infrastructure spend in Q1 2026 alone, up 33.1% year over year, and forecasts $1.08 trillion by 2029.

Read that as a phase change, not a growth chart. When training dominated, the asymmetric advantage belonged to whoever could buy the most compute. When inference dominates, it belongs to whoever wastes the least per run. Different companies, different skills.

Contrast pair worth keeping: model capability is rented, architecture discipline compounds. Every frontier release resets the capability ceiling for everyone at once, competitors included. Your harness efficiency is yours, it compounds run over run, and it never shows up in anyone's press release.

The counterarguments deserve airtime. Analysts at Deloitte and KKR argue the binding constraint is power, grid interconnection, and land, not software. McKinsey notes that new model architectures could cut compute demand outright, which would compete today's harness savings away. It is unclear whether a 41% harness win holds when models get an order of magnitude cheaper, or whether lower unit cost just triggers more usage and a bigger total bill. Jevons has beaten a lot of optimization programs.

So the defensible version of the thesis is narrower than the headline. Scaffolding optimization is now a first-class lever for agent economics. That is not proof that infrastructure beats model choice everywhere. The teams that win probably pull both.

What to Build This Weekend

You do not need a research team or a CS degree for this. You need one workflow and a spreadsheet.

First, instrument. Pick one agent workflow you already run and log four fields per run: tokens in, tokens out, step count, and outcome. Outcome means pass or fail, judged by you. Twenty runs is enough to see the shape.

Second, compute cost per successful task, not cost per run. Total spend divided by successful outcomes. Writer's 61% figure exists because that metric moved more than the raw cost figure did, and it is the only number a finance team should care about.

Third, cut one thing. Prune the context window, or route one step to a cheaper model, or wrap your flakiest tool call in a step-level retry. One change, then rerun your 20 tasks. Simple always defeats complex, and single-variable changes are the only ones you can actually attribute.

Tools from today's digest that fit this job. Trigger.dev's Chat Agent keeps running after you close the tab, which matters because long agent jobs are exactly where retry tax hides and babysitting a browser session is not a strategy. Ballet sells repeatability, trading some flexibility for the same outcome on every run, and repeatability is what makes your cost numbers trustworthy. Kilo Code is open source, so you can read the scaffolding before you trust it, which is the whole point of this exercise. LaraCopilot pitches agentic generation of production-ready apps, so audit its output the way you would audit a contractor's, line by line.

Expect breakage. Your first pruning pass will drop context the agent actually needed and success will fall before it rises. That is the job. Log it, put the piece back, and try the next dial.

Then do it again next month. The harness is not a project you finish, it is a meter you learn to read.

DOJO · BUILD THIS WEEKEND

Instrument one agent workflow, then turn exactly one dial.

  1. Log four fields per run. Pick one agent workflow you already run in production and record tokens in, tokens out, step count, and outcome as pass or fail judged by you. Twenty runs is enough to see the shape of your spend.
  2. Compute cost per successful task. Divide total spend by successful outcomes, not by runs. Writer's 61% figure exists because that metric moved more than the raw 41% cost number, and it is the only version a finance team should care about.
  3. Change one variable, then rerun. Prune the context window, route one step to a cheaper model, or wrap your flakiest tool call in a step-level retry so failures repeat the step and not the chain. Expect success to fall before it rises, log the breakage, put the piece back, and move to the next dial.
Train the full skill in The Dojoarrow_forward
THE BOTTOM LINE

Model capability is rented. Architecture discipline compounds.

Writer's 41% is a vendor number from a vendor preprint, and the bigger win in its own data came from harness plus Palmyra X6 rather than harness alone, a 52% drop from about $0.25 to $0.12 per task. The counterarguments are real too: Deloitte and KKR point at power and land as the binding constraint, McKinsey notes new architectures could compete these savings away, and Jevons has beaten plenty of optimization programs. So take the narrow version of the thesis, which is still the useful one. Scaffolding optimization is now a first-class lever on agent economics, it is the lever you control today, and every frontier release resets the capability ceiling for your competitors at the same instant it resets yours. The harness is not a project you finish, it is a meter you learn to read.

EDITORIAL RECEIPTKODA-20260816-5A8F5ACAC55E
As of16 August 2026MethodClaim extraction, dated-evidence review, and temporal consistency gate.CorrectionsContact the Koda desk
Filed underToolsDeep Dive16 August 2026
Browse the Deep Dive archivearrow_forward

Want this every morning?

AI analysis, world news, markets, and tools. One briefing, delivered free.

One email per day. No spam. Unsubscribe anytime.