Your AI Feature's Margin Is Set In The Spec, Not The Model Picker
Three separate cost levers come from three different layers of the stack, and the vendor benchmark making the loudest claim is the one least likely to survive a matched-configuration review.
Check the configuration before the conclusion
The configuration line is the part worth reading first. Glean's evaluation ran on Claude Opus 4.8, Anthropic's frontier tier. Claude Cowork ran Sonnet 5 with high reasoning. Anthropic's own marketing describes Sonnet 5 as performing close to Opus 4.8 at lower cost, and Anthropic declined to comment, per The Information's Applied AI. A token reduction achieved partly by moving to a more capable model is a positioning claim about product architecture. Ask for matched configs and the full task list before anyone quotes the number in a deck. Then plan for the same unaudited comparative benchmark pointed at your category within two quarters.
The pricing physics underneath the theater is real, and it belongs in the roadmap conversation. Glean CEO Arvind Jain's framing is the load-bearing sentence: AI was not expensive last year because it was not doing complex things. Long-running agentic work is what turned inference from a line item into a budget problem inside twelve months. Every ROI model built in 2025 priced the cheap version.
The three levers that move cost per completed task
| Lever | Measured effect | Who owns it | Caveat |
|---|---|---|---|
| Retrieval share of tokens | A context layer plus enterprise graph stops agents burning tokens hunting for data; complexity-based routing keeps simple steps off frontier reasoning settings | You, in architecture | Evidence is a vendor-run internal eval |
| Judge/worker tiering | A frontier critic reviewing only screenshots consumed under 10% of output tokens; having it do the redesign itself "would have cost twice as much and taken much longer," per Lenny's Newsletter | You, in orchestration | One practitioner's screenshot math, not a controlled benchmark |
| Batching strategy | Anyscale measured static batching collapsing to roughly 81 tokens/sec on OPT-13B on a 40GB A100 as output lengths spread, while continuous batching held an order of magnitude higher | Platform engineering | Fixed-output paths — embeddings, classification, scoring — should stay static |
The supply side moved as well. Anthropic's Fable 5.1 is 25% cheaper for typical workloads and up to 45% cheaper for highly agentic work. That asymmetry points at tool-call and orchestration efficiency rather than a flat per-token cut, which is the exact seam where multi-step features miss their cost gate. Z.ai's GLM-5.3 Flash lists at $0.15 per million input tokens and $0.50 output, funded by API revenue that grew 28x to 825 million yuan in the first half.
Where the sources diverge
All of them agree the buying criterion has moved from capability to cost per completed task. They disagree on which layer holds the win. One puts it in retrieval architecture, another in the serving configuration, and the third points at the supplier's price sheet. The useful part survives the disagreement: two of the three levers require nobody's permission, and the third arrives on a vendor's calendar.
One constraint belongs in the spec now, because it sets a revenue ceiling rather than a cost line. Under continuous batching the concurrency limit is KV cache memory, not compute. On a 40GB A100 with a 13B model resident, only a handful of long sequences fit, and pool exhaustion silently evicts running requests and pays for their prefill twice. Price long context as a paid tier entitlement. Each long-context feature ships at the cost of concurrent users per GPU, which is seats you then cannot sell.
Two decisions set both the quality score and the gross margin of an AI feature, and both belong in the spec: which tier runs each step, and when the batch gets decided.
What to do
Instrument tokens and cost per completed task at p50 and p90 on your top three AI surfaces this sprint, split into retrieval versus execution tokens
Audit which batching strategy every live generative endpoint uses this week and move any Hugging Face pipeline batch_size path off variable-length generation
Re-score every agentic feature killed on unit economics in the last two quarters against Fable 5.1 pricing before this quarter's planning locks