Technical Reference · Oct 2026
Four eras. What broke. Where the money goes.
Oct 2026
Where spend goes in an agentic task
McKinsey July 2026 — one agentic task triggers 10–20 LLM calls. $0.10–0.50/request → $150K–750K/month at 10K users.
Year one. Each user writes their own prompts. Works for demos and narrow tasks with stable scope.
Quality per user. Business rules in prompts go stale. Model updates silently degrade every prompt. 20–30% accuracy ceiling.
Every retry invisible. No budget cap. No session limit. Total cost of ownership hidden in human review time, not compute spend.
Centralises semantic context. Removes per-user variability. AI-available ≠ AI-consumable.
Model knows what to know, not what to do. No stop rules. No optimization goal. Klarna: perfect context, wrong goal — $60M to rehire.
40% NL accuracy without semantic layer → 60% more failure-triggered retries. Multi-model setups add routing complexity CE doesn't address.
Huryn 8-component model: Strategy · Objectives · Stop Rules · Autonomy Boundaries. Encodes organizational goals, not just data.
Intent buried in code — not auditable or versioned. Model-coupled: swap Opus for Haiku = full re-engineering. Assumptions hidden in natural language.
No Stop Rules = agent refines past "good enough". 60% of agentic spend is in refinement loops with no exit condition.
Versioned, model-agnostic specs. Clauses carry unique IDs. Example prompts are unit tests. Spec IS the regulatory artifact.
No dominant toolchain. No spec completeness standard. Most tools in Beta or Preview. Practitioner adoption early.
Model-agnostic spec = swap Opus → Haiku freely under budget pressure. Only layer that reduces cost without reducing governance.
| Layer | Era 1 · PE · 2022–23 | Era 2 · CE · 2024–25 | Era 3 · IE · 2026 |
|---|---|---|---|
| Orchestration Frameworks |
|
|
|
| Cloud Platforms |
|
|
|
| Observability |
|
|
|
SE lives here — the policy, spec, and audit layer above the harness.
Category terms, not single products. The market is converging on this vocabulary.
| # | Lever | What it fixes | Numbers |
|---|---|---|---|
| 1 |
Context quality CE layer Databricks Genie Ontology · Snowflake Cortex · dbt MetricFlow |
Poor semantic context → misunderstood query → failure-triggered retry loops. CE is a cost lever, not just a quality lever. Every wasted token is a CE failure. |
83% vs ~40% NL accuracy with/without semantic layer → ~50% fewer retry loops dbt MetricFlow, 2025 |
| 2 |
Prompt caching Native: Anthropic, OpenAI, Google APIs |
Long system prompts re-sent on every call. Cache the stable parts — pay only for the delta.
Caveat: misconfigured caching can increase the bill — cache write premium + misses. Measure before committing.
|
~90% off cached tokens — Anthropic ~50% off — OpenAI ~75% off — Gemini (>32K tokens) Enterprise: 40–80% input cost cut at volume |
| 3 |
Model routing RouteLLM (OSS) · Databricks Unity AI Gateway · AWS Bedrock IPR · LiteLLM |
Every task hits the frontier model — simple tasks overpay. Route by complexity: cheap for simple, frontier for hard.
Caveat: one benchmark showed router cost 35× a fixed cheap model. Route only at volume.
|
31–44% real agentic savings — RouteLLM (ICLR 2025) 72% reduction, <3% quality drop — AgentRouter (ICML '26) 30%+ per task — Databricks internal ~50% in production — Uber, Stripe, Ramp |
| 4 |
Loop guardrails AgentOS: Databricks Unity AI Gateway · AWS AgentCore · MS Agent Governance Toolkit |
Agents refine indefinitely — no session ceiling, no exit signal. Per-session spend caps + circuit breakers + retry limits + tool-call depth limits. |
G1000 orgs face 30% rise in underestimated AI infra costs by 2027 (IDC, 2026) Only 44% of orgs have financial guardrails today (Gartner, 2026) |
| 5 |
Intent encoding / Stop Rules IE: LangGraph · CrewAI · AG2 · Mosaic AI |
No encoded "done" criteria → agent refines past the useful point. Stop Rules + Autonomy Boundaries = runtime loop termination. Stop Rules are a cost feature, not just a safety feature. A spend cap fires at a dollar threshold. A Stop Rule fires when the domain goal is met. Those aren't the same thing. |
60% of agentic spend is in loops Agent that knows when to stop spends 60–70% less than one that doesn't. Klarna: $60M to rehire after agent optimised cost-per-token, not customer lifetime value |
| 6 |
Spec portability SE: OpenAI Model Spec · Anthropic Constitution · AWS Kiro · Open Agent Spec |
Intent is model-coupled → can't swap to a cheaper model without full re-engineering. Model-agnostic spec = choose cheapest model that still honours intent. |
Only lever that reduces cost without reducing governance. All other levers trade quality or governance for savings. SE doesn't — it lets you choose the cheapest model that honours the spec. Databricks combined techniques: up to 90% savings (routing + caching + model swap) |