LLM Digest
Subscribe

Agent Know-How

Agent engineering · know-how

Agent token costs are unpredictable and easily run away

🧱 Obstacle·cost·active·55 entries·62 sources·updated 2026-10-30

A chatbot turn costs a predictable number of tokens; an agent can loop, re-read its whole context every step, spawn sub-agents, and call a model to grade its own work. The bill is a function of behavior, not request count, so one misbehaving run or one topology choice can multiply spend before anyone sees the invoice.

Latest updates
State of the art

Per-token prices are falling, but per-task spend is not. Frontier and open-weight prices drop together, yet Gartner forecasts cost per agentic workflow rising more than fivefold through 2028, because spend scales with steps and tool calls. The deliverable is a cost model per task, not a price list.

Teams pull four levers, roughly in order of payoff:

  • Cache the stable prefix. An agent re-sends its system prompt, tool schemas, and history every turn. Production setups report 90-99% cache hits, and Anthropic's worked example shows one session at $11.20 uncached versus $1.62 cached.
  • Route per task. Benchmarks find only about 7% of agent turns need a frontier model; routing inside the harness cut cost 64-74%.
  • Shrink what the agent re-reads. Validated compaction, tighter tool instructions, and leaner fetched content attack the per-step bill. Naive truncation backfires: agents re-fetch what was cut.
  • Downshift with guardrails. Boundary contracts and harness tuning let cheap models match frontier runs at several times lower cost.

Cost every downshift on total tokens, not sticker price. Quantized reasoning models emit more tokens, cheaper models hallucinate more, and truncation triggers retries. Each can erase the discount. Billing data backs the routing case: a weeks-old frontier model took 3.5% of one vendor's spend.

The open problem is accounting at the right unit. Most reported savings are vendor-measured, offline, or single-customer. Mid-thread re-routing is unsolved, and runaway spend remains the default without an enforced cap (see cost controls). Self-hosters face a parallel floor: GPU utilization, KV-cache placement, and runtime billing often matter more than list price.

Why it matters for platform engineers

This is the obstacle that turns a working demo into an unaffordable product.

Make spend observable per task and per user, and set budgets and caps before a loop runs away. Then treat architecture as the main cost control: compact vs. retrieve, single-agent vs. orchestrated, frontier vs. routed or fine-tuned models. The biggest savings come from how the agent is built, not from shaving the model price.

Cost, latency, and reliability trade against each other, so the deliverable is a cost model you re-run on each model release, not a one-time optimization. See context compaction and orchestration.

Developments 55

Harness, context, and topology drive the per-step bill

11 entries · latest Oct 30, 2026

What the agent re-reads, fetches, and re-sends each turn sets most of the bill; validated compaction, tool-instruction tuning, and task-level measurement beat naive truncation.

Claude Code re-sends each background agent's full transcript every ~30s for a status line

A reverse-engineering gist (Claude Code 2.1.257-2.1.312, binary unmodified, community-reported, not confirmed by Anthropic) finds that every ~30 seconds each background agent's entire transcript goes to that agent's own model, usually Opus, with the prompt "describe your most recent action in 3-5 words". The answer only updates the agents panel; it never reaches the conversation.

It is reportedly on by default since 2.1.232 with no setting to disable it. A second write-up prices one call at Opus 5.5 list rates. Cost grows with transcript length times agent count, so long-lived fleets pay most. Check harness-side housekeeping calls in your own usage logs, not just task prompts.

Pruning redundant rounds from training trajectories cuts inference tokens ~48%

Dependency-Aware Trajectory Refinement treats a multi-turn agent trajectory as a round-level dependency DAG, finds which rounds (failed tool calls, parallel sub-queries, verification-only steps) the final answer depends on, and fine-tunes on the pruned trajectories.

Across four multimodal QA benchmarks it improves accuracy by up to 1.7 points over vanilla fine-tuning while cutting per-sample inference messages ~40% and inference tokens ~48%. Redundant training data inflates the same per-step bill as redundant context, so the fix can sit upstream of compaction.

Trimming agent history without preserving its protocol can break the agent

"Protocol-Preserving Context Trimming for Agentic Workflows" studies agents whose histories hold instructions, tool states, intermediate decisions, and unresolved dependencies. Unrestricted growth drives up compute, but trimming that ignores the interaction protocol can break the agent, not just make it less accurate.

Its budget guardrails keep trimming inside the protocol's constraints, not only inside a token count. It complements ACM's cost/fidelity framing with an account of how trimming fails.

Show 8 earlier entries

GitHub: truncating agent output to save tokens can raise total task cost

GitHub found that when a coding agent's output was truncated or summarized to save tokens, the agent sometimes reopened the original or reran the command, turning one cheaper turn into more turns and more context. Its fixes, measured across the whole task:

  • Selectively compress repetitive build/test logs while keeping source code (the largest cut)
  • Strip unused line-number formatting (5%)
  • Less verbose Task-tool prompts (2.9%)
  • Deliver background results without an extra retrieval call (2.3%)

Each change passed offline benchmarks and online A/B tests. Measure cost per task, not per tool call.

Codex compaction now counts retained images against the token budget

Codex 0.150.1 makes remote compaction count retained images toward its token budget by default, trimming the oldest images as needed.

Before, accumulated screenshots could inflate the context re-sent every turn without showing up in the compaction budget. Agents that work from screenshots should account for images as tokens, not as free attachments.

Only validated compaction gets linear cost without an accuracy cliff, says ACM

"Agentic Context Management" (ACM) argues production agents fail less from weak reasoning than from unmanaged context: histories, large prompts, tool definitions, ballooning tool outputs. It frames three regimes:

  • Naive accumulation: per-step cost grows quadratically with conversation length.
  • Crude summarization: linear cost, but an accuracy cliff.
  • Validated compaction: linear cost with fidelity preserved.

Its reference implementation is Maximem Synap. Treat memory and cost as one lifecycle problem; see context compaction.

Claude Code fixes harness bookkeeping whose cost grew quadratically with turns

Claude Code v2.1.216 fixed a slowdown where long-session message normalization cost grew quadratically with the number of turns, causing multi-second stalls and slow resumes. The same release split filesystem isolation from network egress control into separate sandbox settings, so a team can pay for each control only when it needs it.

The harness's own bookkeeping, not only its model calls, can make a long-running session slow and expensive. Profile the harness, not just the token bill.

One Wikipedia page is 68,240 raw-HTML tokens; a failed fetch pays the full bill

A practitioner measured page costs in Claude Code research sessions: an average Wikipedia article is 68,240 tokens of raw HTML (Nike's homepage is 353,000), against about 950 tokens once the web-fetch tool summarizes it.

The cheap path can invert. On JS-rendered or anti-bot pages the fetch returns nothing useful and the agent dumps the raw HTML into context anyway, paying the worst-case bill for a failed read. Fetched content is its own cost line and needs its own guard.

Rewriting tool instructions, not tools, cut Copilot code review cost ~20%

When GitHub moved Copilot code review onto shared Unix-style tools (grep/glob/view), average cost went up. The tools' instructions invited the broad, exploratory browsing that suits an interactive assistant, not the narrow, diff-anchored search a reviewer needs.

Rewriting the instructions to start from the diff, batch searches before reading, and read only the needed line ranges cut average review cost about 20% while holding review quality. A tool's instructions are as much a cost surface as its schema.

Every skill, hook, and subagent used to steer an agent spends context budget

Anthropic's guide to steering Claude Code compares seven methods (skills, hooks, subagents, rules and more) by the context cost and the authority of each.

Steering and cost are the same knob seen from two sides. Each instruction added to shape behavior consumes context budget on every turn, so a team should pick the cheapest mechanism that carries enough authority for the rule.

Stanford's DeLM cuts multi-agent task cost ~50% by dropping the central orchestrator

Stanford's DeLM reports cutting multi-agent task cost by about 50% by removing the central orchestrator while keeping target completion rates.

The coordination structure, not only the model, dominates multi-agent spend. Topology is a cost decision to make before choosing models; see orchestration.

Also relevant to Proving agent ROI and measuring cost efficiency is hard

Downshifting to cheaper models, costed on total tokens

11 entries · latest Oct 14, 2026

Contracts and harness tuning let cheaper models take frontier work at 5-8x lower cost, but quantization and hallucinations can claw the discount back in extra tokens.

LangChain's early evals put GLM-5 within 4 points of Opus 4.6 at roughly a fifth of the price

LangChain ran 138 Deep Agents test cases per model and reports vendor-reported, early results. Correctness: Opus 4.6 0.68, Gemini 3.1 Pro 0.65, GLM-5 0.64, GPT-5.4 0.61, MiniMax M2.7 0.57.

  • Output pricing per million tokens: GLM-5 $3.15 vs Opus 4.6 $25.
  • LangChain's estimate for 10M output tokens a day: about $250 on Opus vs about $12 on MiniMax M2.7.
  • Open models trail on memory and conversation; categories hold only a handful of cases each.

Each model ran at its provider's default thinking level, and the open models ran on different hosts. Rerun the eval on your own task mix before downshifting.

Sonnet 5.5 keeps Sonnet 5's token price but cuts cost per task up to 30%

Claude Sonnet 5.5 lists at $2/$10 per million input/output tokens, half of Opus 5.5's $4/$20, with the same $0.20 cache-read rate. Its per-token price matches Sonnet 5, but Anthropic reports it needs fewer tokens per task, so the same work costs up to 30% less. It is also on Amazon Bedrock.

Anthropic's routing rule: Sonnet for well-specified tasks with a way to check the result, Opus for long-horizon work. Default effort is high on the API but medium in Claude Code, so one model bills differently by surface; raising Sonnet to xhigh or max spends the saving.

Meta's Muse Code costs up to 20x less if users let it train on their code

Meta's Muse Code Mac coding agent cuts subscription cost up to 20x for users who let it train on their code and usage data.

It is the same downshift logic as smaller models or lower effort, but the currency is data access rather than accuracy or latency. For a company codebase that price usually needs legal sign-off, not an individual opt-in.

Show 8 earlier entries

Reasoning effort is becoming a trainable dial that swings token use 25-50%

Sebastian Raschka surveys how models learn low/medium/high reasoning modes: system-prompt conditioning, RL with per-token cost coefficients, SFT mixing thinking and non-thinking examples, or distilling several reasoning-depth specialists into one model.

Token consumption swings roughly 25-50% across effort levels, and a smaller model at high effort can match a larger one at low effort. Model size and effort have to be tuned jointly, and effort becomes a per-request routing decision based on task complexity.

Grok 4.5 is reported ~80% cheaper for coding agents, with more hallucinations

Coverage of Grok 4.5 puts its coding-agent cost about 80% below a comparable frontier setup, at near-frontier speed, but with a higher hallucination rate.

It is the same cost/reliability trade the boundary-contract and harness-tuning cases make, here left unmitigated. A cheaper model with more hallucinations needs the verification those cases add before the saving is real.

Harness-only tuning let Nemotron 3 Ultra match Opus 4.8's best run at ~8x lower cost

LangChain retuned only the Deep Agents harness (prompts, tool schemas, control flow) around NVIDIA's Nemotron 3 Ultra and matched Claude Opus 4.8's best agent run at roughly 8x lower cost, with no fine-tuning and no bigger model. NVIDIA's write-up of the same work reports benchmark-leading accuracy for the pairing.

Scaffolding investment pays off on every call the harness handles; a bigger model buys quality per call. Both posts come from parties to the result, so validate on your own tasks.

LangChain mines trace failures to fine-tune judges cheaper than frontier models

LangChain describes improving agents as data mining: cluster failures out of production traces, fine-tune judge models on them that run cheaper than frontier LLMs, then hill-climb the agent against those evals.

It is the cheap-instrumentation-over-model-swap move applied to evaluation. The judge's cost scales with every trace, so it is the first place a downshift pays back.

QuasiMoTTo spreads parallel attempts to cut redundant test-time compute

Generating many parallel attempts per problem is a reliable but costly way to raise answer quality, and by default the attempts are independent, so compute is wasted on redundant solutions. QuasiMoTTo applies quasi-Monte Carlo sampling to spread attempts more evenly across the solution space.

Agent harnesses reach for parallel sampling when one pass is not reliable enough. Correlating the samples cuts the redundancy tax on that pattern rather than the model price.

Quantized reasoning models emit more tokens, eating their per-token discount

"Quantization Inflates Reasoning" shows that low-bit post-training quantization, the standard way to cut inference cost, makes reasoning models emit more tokens to reach the same answer. Final-answer accuracy and per-token latency both miss this hidden test-time cost.

The bill that matters is price per token times tokens spent. Every downshift (smaller model, quantized model, cheaper judge) has to be costed on total tokens emitted in the loop, not the sticker price.

Also relevant to Proving agent ROI and measuring cost efficiency is hard

Boundary contracts took Haiku 4.5 from 13/19 rule violations to 0/20

ANMA's author found cheaper models ignore architecture rules. Unguided, Claude Haiku 4.5 violated its constraints in 13 of 19 runs; wrapped in explicit boundary contracts (YAML rules plus CLAUDE.md, hooks, and CI checks) it violated them in 0 of 20.

A bit of contract overhead can make a cheap model reliable enough to take the bulk of the work from a frontier one. This is a small, self-reported benchmark from the tool's author, so rerun it on your own codebase.

A fine-tuned open judge matches frontier trace-judging at ~1/100th the cost

LangChain and Fireworks fine-tuned an open model to mine perceived-error signals from production traces, matching frontier-judge performance at roughly 1/100th the cost.

Evaluation is a cost line item too. A frontier judge over every trace is often unaffordable; a small judge trained on your own traces makes continuous judging part of the budget instead of a reason to sample. See LLM-as-judge.

Also relevant to Cost controls: budgets, metering, and per-task attribution, Proving agent ROI and measuring cost efficiency is hard

Routing each turn to the cheapest model that can handle it

10 entries · latest Oct 15, 2026

Benchmarks find most agent turns don't need a frontier model; per-thread routing inside the harness cuts cost 64-74%, and online tuning of the routing policy is emerging.

Swapping models mid-session carries over the old model's habits unless history is summarized

Multi-session agents switch LLMs to balance quality and cost, handing the new model the prior history. Controlled experiments show behavior transfer: the recipient adopts reasoning and action patterns from the model that wrote the history. The effect is strongest with raw-history transfer and much weaker after summarization.

The authors' DASH method summarizes with direction and authorship in mind, keeping stronger-model behavior while limiting weak-to-strong transfer. They report it beats raw history and naive summarization across repeated swaps (paper-reported, not independently replicated).

For routers: a cheap-model turn can degrade later expensive-model turns through the shared history.

Matching model tier to task cut agent costs 65-76x in two vendor-reported case studies

Two OpenAI customer stories report savings from picking the model per task, not from a cheaper model overall. Both figures are vendor-reported and from the customers' own tests.

  • Asana made its browser agent 76x cheaper and 5x faster in tests by moving to GPT-6 Astra in Codex.
  • LegalOn cut estimated daily Codex costs 65% with no loss of development speed by matching Astra, Sol, and Luna to task types and managing budgets per tier.

Neither post publishes its task mix or quality metric, so treat the ratios as upper bounds. The reusable step is the same as in Open SWE's router: measure cost per task by type, then assign tiers.

Routing in the harness cut Open SWE's median cost per task 64% with no quality drop

LangChain's Open SWE classifies each thread's first human message into one of three tiers (GLM-5.3-Flash, GPT-5.6 Sol, GPT-6 Astra) and holds that model for the thread. Median cost per thread fell 64% versus always-frontier, with no measurable quality change.

The reusable part is the build order: label a week of traces by task type, pick tiers off the cost-per-task Pareto frontier, write tier criteria from your own task mix, then A/B test on merged-PR rate and thumbs feedback. The router lives in the harness because tier criteria depend on the agent's own tasks. Mid-thread re-routing is unsolved.

Show 7 earlier entries

Jev, a decide/classify/route-only model, claims >200x lower cost than small frontier LLMs

TypeSafe's Jev is pitched as a "System One Model" that only decides, classifies, routes, or scores. It reports running more than 100x faster and more than 200x cheaper than small frontier LLMs on those narrow jobs.

It packages the "most turns don't need frontier capability" finding as a purpose-built model rather than a policy over general models. The figures are the vendor's own; the router or classifier step in a harness is where to test it.

IMABO tunes model choice and retrieval depth online as a bandit on live traffic

"Bandits in Prod" notes that agents often can only judge a configuration (model selection, retrieval depth, prompting strategy, temperature) by running it on live requests and reading noisy feedback, with no representative validation set. It casts this as online hyperparameter optimization, an infinitely many-armed bandit, and introduces IMABO; its IMOSS policy grows the active set of candidate configurations over time.

The authors evaluate it on classical ML tuning and LLM agent configuration. It automates the per-request choice a team would otherwise hand-write and forget to revisit.

GitHub's HydraFusion routes each coding step to the model it needs, inside Copilot

GitHub's Project HydraFusion, a research preview in Copilot, routes each coding step to the model that step needs. In controlled offline evaluations its selective workflows matched or exceeded an Opus 5 baseline while reducing estimated workflow cost.

It is selective multi-model orchestration shipped inside a mainstream coding assistant rather than a benchmark paper. The results are offline and the savings are estimates, so production numbers are still to come.

Model routing framed as allocation when estimating each answer's value is costly

"Pandora's AI Model Routing Box" treats routing across heterogeneous models, harnesses, and inference settings as efficient allocation under costly value estimation: to route well you must estimate which specialist answers best at the lowest cost, and that estimate itself costs compute.

It gives routing a formal footing instead of a heuristic, and names the hidden cost a router adds: the price of deciding.

Glean: frontier prices and open-weight uptake are pushing enterprises toward routing

Glean CEO Arvind Jain argues that frontier model cost and the popularity of open-weight models are driving organizations toward model routing to control AI spend. Glean improves its own routing with human feedback loops at scale.

It is the buyer-side case for routing: a router whose decisions improve from production feedback, rather than a fixed table, is what lets cheaper models take traffic safely.

Only 7% of agent turns needed a frontier model; routing cut cost 74%

LangChain benchmarked NVIDIA's NeMo Switchyard router on 145 agent tasks. Only 7% of turns needed a frontier model; routing the rest to cheaper models cut total cost 74% for six points of accuracy.

Most of an agent's turn-by-turn spend goes to calls that did not need frontier capability. Whether six points is an acceptable price depends on the task, which is why the routing policy needs an eval on your own workload.

Also relevant to Proving agent ROI and measuring cost efficiency is hard

Millwright makes the LLM router self-hosted infrastructure instead of a vendor layer

Millwright is an open-source, Rust-based, self-hosted LLM router built for cost savings, transparency, and performance. Its author launched it as hosted routers proliferate (Ramp Router, Vercel's AI Gateway) and as OpenRouter faces a possible acquisition.

Owning the router gives a team control over per-request model choice without depending on a vendor's continuity. The trade is operational: provider integrations, updates, and uptime become the team's job.

Also relevant to Cost controls: budgets, metering, and per-task attribution

Caching and serving efficiency set the floor price

12 entries · latest Oct 29, 2026

Prompt caching at 90%+ hit rates, KV-cache offload, GPU packing, and pay-for-use runtimes cut fixed cost by large factors before any model choice.

Prompt-caching bugs in agent code fail silently; CacheLint found 32 across 571 projects

An empirical study of 120 prompt-caching pull requests across 10 open-source agent systems found mis-integrations on both the request side (misconfiguration) and the read side (miscounted cache usage). Most fail silently: nothing errors, the bill is just higher.

The authors' CacheLint (paper-reported) uses CodeQL to find caching call sites and checks preconditions against a dated provider capability oracle or an LLM guard. It scored 0.71 precision and 0.78 recall on the 120 labeled cases, and 0.86 precision on 32 new findings across 571 projects, leading to 18 upstream fixes including one in Anthropic's SDK. Audit cache-hit tokens in billing data, not just code.

Shared KV cache leaked other tenants' prompts on Workers AI for 13 days

Cloudflare reports a tenant-isolation bug in its GLM-5.3 Workers AI deployment (vendor-reported). From August 27 to September 9, 2026, 155 responses contained data from other customers' recent requests to the same model. A security researcher flagged it on September 8, and Cloudflare restored the model on September 9 after remediating with SGLang. No other hosted model was affected.

Takeaway: cross-request cache reuse is a security boundary, not just a cost lever. Before enabling prefix or KV sharing on multi-tenant serving, test that a cache hit never crosses tenants.

Also relevant to Sandboxing, scoped credentials, and guardrails

Gateway choice swung agent cache hit rate from 63% to 94% on identical traffic

Keln, a gateway vendor, ran 24 hours of agent sessions (13,440 turns, 3,360 per gateway) on DeepSeek V4.1 Flash through OpenRouter :nitro, Vercel, Ramp and Keln, with 1 turn in 20 paused 1 to 20 minutes. Cache hit rates were Keln 94%, OpenRouter 88%, Vercel 87%, Ramp 63% (vendor-reported, self-benchmark).

The gap came from turns that went fully cold after the first, which depends on how each gateway picks a provider. For builders: prompt-cache hit rate is a gateway property, so measure it with your own pause patterns before comparing per-token prices.

Show 9 earlier entries

Opus 5.5's worked numbers: same session costs $11.20 uncached vs $1.62 at 90% hits

Opus 5.5 lists at $4/$20 per million input/output tokens (about 20% below Opus 5), with cache reads at $0.20/Mtok (about 60% cheaper). Anthropic's worked task costs:

  • A 2.8M-token session costs $11.20 uncached vs. $1.62 at a 90% cache-hit rate.
  • A high-effort turn adds about $0.40 of thinking but can avoid a similar-cost retry loop.
  • A $0.25 compaction pass pays for itself in about ten turns.

Anthropic says it priced and trained Opus 5.5 for coding sessions that run longer and use more context than at Opus 5's launch.

GPT-6 prompt caching adds explicit breakpoints and a hit-rate dashboard

OpenAI overhauled prompt caching for GPT-6: higher cache hit rates, a dashboard with hit-rate diagnostics, and explicit cache breakpoints that let a team control what stays cached instead of relying on an opaque default.

Explicit breakpoints and diagnostics turn caching from a hope into something a team can engineer and monitor, which matters most for agent loops that re-send a large stable prefix every turn.

New AgentCore runtime bills for memory actually used, with ~2s P75 cold starts

Amazon Bedrock AgentCore's new runtime pages memory in on demand and reclaims it when a session idles, instead of billing the full container for the session's lifetime. Snapshotting a warmed environment holds P75 cold start near 2 seconds from a 200MB to a 2GB image, versus 5.4-30 seconds before.

The per-GB rate is higher, but most agents bill lower overall because they stop paying for idle memory. It applies "pay for behavior, not held capacity" to the runtime, not just the model call.

Three-segment prompt layout yields 90-99% cache hit rates in production commerce agents

Anthropic's commerce-agents guide reports 90-99% prompt-cache hit rates in production by keeping a byte-identical prefix across three segments: global (rarely changes), session (stable for the conversation), and volatile (changes each turn). Only the volatile segment breaks the cache, and cached tokens read 1.5-2x faster.

Its latency levers are fewer turns, faster tools (dispatching a tool call as its arguments stream), and model choice by eval sweeps over real traffic. Spend-relevant actions stay off the model's say-so: staged, human-approved, with server-issued IDs and transaction caps.

Packing ASR requests with CUDA MPS cut Heidi Health's GPU count 75%

Heidi Health found each ASR inference request used only 15-20% of an NVIDIA L40S's streaming multiprocessors. Packing 4-8 concurrent requests per GPU with CUDA's Multi-Process Service and Triton, instead of one GPU per request, cut the GPUs needed for the same throughput by 75%, from 16 instances to 4.

Utilization, not list price, often sets the self-hosted bill. Measure how much of each GPU a request uses before buying more.

vLLM Decode Context Parallelism triples long-context decode throughput

vLLM's Decode Context Parallelism shards the KV cache across GPUs by sequence dimension instead of offloading it, reporting 3x higher throughput on long-context agentic workloads versus standard tensor parallelism.

More throughput per GPU-hour on the same hardware is a direct cost lever, not only a latency one. See agent latency for the serving detail.

GKE Agent Sandbox reports ~75% lower cost per agent for bursty workloads

Google reports that GKE Agent Sandbox cuts cost per agent by roughly 75% for platform teams running many agents. Agents work in bursts, so one VM per agent (the simple OpenClaw- or Hermes-on-a-VM setup) pays for idle time between bursts.

The sandboxing choice is a cost lever, not only a security control: how agents are packed onto infrastructure sets the per-agent bill. See sandboxing.

OpenLake offloads KV cache to shared RAM/NVMe, cutting long-context GPU cost 48%

OpenLake is an open-source storage engine that moves LLM KV caches from GPU memory into a shared RAM/NVMe tier, compressing blocks losslessly before they leave the GPU. A prefix cached on one host is cheap to fetch from another instead of being recomputed.

On a 128K-context workload, total GPU time fell from 1,169 to 606 seconds, a 48.2% GPU-cost reduction. As agent contexts outgrow GPU memory, KV-cache offload becomes its own storage-engineering problem.

NVIDIA pitches cost per useful token and performance per watt as the buying metric

NVIDIA frames infrastructure buying around tokens per dollar and per watt rather than peak chip specs. Its numbers:

  • GB300 NVL72 delivers 10-25x the performance per watt of Hopper across three current open models.
  • A further 5x software-only gain on one model within a month, from quantization, disaggregated serving, and KV-cache offloading.
  • Power-shifting software runs up to 40% more GPUs in the same power budget.

These are vendor figures. For self-hosted agents, the serving stack sets the floor price every other optimization multiplies against.

Falling token prices, rising workflow spend

11 entries · latest Sep 23, 2026

Frontier and open-weight per-token prices fall together and open weights now win gateway traffic, yet spend per agentic workflow is forecast to keep climbing.

Parallel halved research time and API cost on GPT-6 Astra

In an OpenAI case study, Parallel's research agents cut both research time and API cost in half on the same labor-market synthesis task after moving to GPT-6 Astra, versus the prior model generation.

A newer model that finishes in fewer, cheaper steps can lower cost per task even when it is not the cheapest per token. It is a launch-day, vendor-published single customer result.

Qwen3.8-Flash-Next prices at $0.16/$0.47 per million tokens and beats Opus 4.6 on SWE-bench Pro

Alibaba's Qwen3.8-Flash-Next, pitched at "ultimate cost efficiency," prices at $0.16/$0.47 per million input/output tokens, about a twelfth of Qwen3.8-Max, while scoring 62.5 vs. 53.4 over Claude Opus 4.6 on SWE-bench Pro.

The Flash tiers are widening the gap on cost rather than capability. The comparison is against an older Anthropic model, so check it against current options on your own tasks.

Show 8 earlier entries

Open-weight models overtook proprietary ones on Vercel's AI Gateway, reaching 62% of tokens

Open-weight models passed proprietary ones by token volume on Vercel's AI Gateway for the first time: 54% on one day and a record 62% on another, up from 28% on June 24. DeepSeek-V4-Flash was the single most-used model, with Chinese models (StepFun's Step 3.7 Flash, Zhipu's GLM-5.2) filling out the top five.

Price pressure now shows up in where traffic goes, not only in list prices. One gateway's mix is not the market, but it is measured routing behavior rather than a forecast.

GLM-5.3-Flash lands within 3 points of GLM-5.3 at about a seventh of the cost

Zhipu's GLM-5.3-Flash scores within three points of its larger GLM-5.3 on Artificial Analysis's Intelligence Index at roughly a seventh of the cost, with all inference running on Chinese chips rather than Nvidia hardware.

A small quality gap at a large price gap is the shape that makes Flash tiers the default for routed bulk traffic. Open SWE later used it as its cheapest routing tier.

Billing data: Opus 5 took 3.5% of Anthropic spend in July; Opus 4.8 took 28%

An FT story on the Ramp AI Index (credit-card billing data from about 70,000 companies) shows Opus 5, then weeks old, capturing 3.5% of Anthropic spend in July, while the prior Opus 4.8 took 28%. Anthropic's annualized revenue still rose to $65bn from $47bn in May.

The spend is real and growing; it just does not concentrate on the newest frontier model. That supports the routing and effort arguments: most per-task spend does not need frontier capability.

Gartner: inference cost per agentic workflow will rise more than 5x through 2028

Gartner forecasts that inference cost per agentic workflow will increase more than fivefold through 2028, even as per-token prices fall.

Workflow spend scales with the steps and tool calls an agent takes, not with the price of any one token. A falling price list does not guarantee a falling bill once workflows get more agentic.

GPT-5.6 cuts list price 20-80%; GPT-5.4-level intelligence ~13x cheaper in four months

GPT-5.6 cut list price by 20-80%, and the cost of GPT-5.4-level intelligence is reported down roughly 13x in four months, attributed to recursive self-optimization: using the model to distill and improve its successor.

Frontier per-token prices are falling fast enough that a cost model built on last quarter's price list is already stale. Re-price agent workloads on each release.

DeepSeek's cheaper releases widen the open-weight price gap to ~33x on one job

DeepSeek released another cheaper model as China's domestic price war intensifies (Semafor). A week later, DeepSeek V4 Flash was reported running a full test suite for $72, about 33x cheaper than Kimi K3 on the same job.

The price war is not only cutting list prices; it is widening the gap between individual open-weight releases. Cost per job varies by more than an order of magnitude among models of similar class, so benchmark cost on your own tasks.

Chinese open-weight models are winning US users on price

Reporting in Memeburn finds Chinese AI models gaining US users on the strength of lower costs and open weights.

It is an early signal of the shift later measured in gateway traffic: price, not only capability, is moving where agent workloads run. Open weights also give buyers a self-hosting option that caps their exposure to any one vendor's price changes.

From related topics
  1. Agents reach the outside world through fragile, ad-hoc integrationsA successful tool call is not progress: an agent reran one SQL query 254 times
  2. Context compaction: summarize, compress, and curate the working setDropping KV cache segments beats summarizing history, without re-prefilling the kept context
  3. Cost controls: budgets, metering, and per-task attributionBigQuery caps generative AI SQL functions with four daily token quotas
  4. Cost controls: budgets, metering, and per-task attributionMetered APIs and agents should ship hard budget caps on by default
  5. Cost controls: budgets, metering, and per-task attributionClaude Code cost estimates now include the 1.1x data-residency premium
  6. Cost controls: budgets, metering, and per-task attributionMole, a terminal research agent, enforces its budget with 0% measured overshoot
  7. Cost controls: budgets, metering, and per-task attributionAgentCore Payments caps what an agent spends on paid APIs per session
  8. Agents forget across steps and sessionsAgentic Context Management treats memory as a lifecycle, not a store
  9. Proving agent ROI and measuring cost efficiency is hardNear-free code generation changes which automations are worth building at all
  10. Cost controls: budgets, metering, and per-task attributionAWS FinOps Agent runs cost-anomaly triage as a managed agent
  11. Cost controls: budgets, metering, and per-task attributionDeep Agents turns on prompt caching by default for up to ~80% lower token cost
  12. Cost controls: budgets, metering, and per-task attributionKamera reuses KV cache for repeated frames and screenshots across context shifts
Evidence · 62 sources
All sources behind this page