AI turns into margin when you stop paying a dollar for ten-cent tasks.
Simple tasks to local models, frontier reasoning for heavy lifting.
To test that, I built an AI customer support agent in three ways: local, cloud, hybrid. In a modelled benchmark on that prototype, hybrid ran 82% cheaper, holding quality where it matters.
At 10K tickets a month that is $118 against $656.
At 250K it is $2,612 against $14,480 - $142K a year.
Working parts:
- Gemma 3 4B via Ollama - the helper. No per-token meter on own hardware.
- RAG over product docs - the agent answers from the knowledge base, not memory.
- Governed tools - safe unattended, PII stripped before it leaves the box.
- Claude API - the genius paid tier, for cases the small model shouldn't answer.
Routing is unit economics at play - 3 in 4 questions never leave the small model. The other 1 in 4 earn the Claude call: new, hard, or expensive to get wrong. You pay frontier rates when dealing with hard or high-consequence cases.
Same workload through all three, 10,000 tickets a month. Cloud was priced as a managed production stack, not only tokens: Bedrock, Titan, managed vectors, Guardrails, Fargate, CloudWatch.
Five agents behind one API: Frontline (triage), Planner (phased plans), Research (55-doc knowledge base), Critic (nothing ships unreviewed), Operator (playbooks: tickets, tasks, status). Observability via Paperclip dashboard.
◆ THE FULL MODEL
Illustrative B2B SaaS support workload - 10K tickets/mo, 3 turns/ticket, 114M input + 15M output tokens. At 250K the cloud parallels scale with it - Guardrails is priced per request, so it moves from $9 inbound to $225.
Full local is $22 marginal - a $599 M4 mini bought in 2025, amortized over 36 months, plus power. Price in my time and call it $150 a month. A second mini for failover adds $22 a month and changes nothing. And on the harder cases the 4B degraded enough that I would not trust it alone. That is why the answer is hybrid and not local.
Cloud was priced as a managed production stack, not as tokens alone: Bedrock, managed vectors (~50),Guardrails(~9 inbound, ~78full-traffic),Fargate(~18), CloudWatch (~10),Titan(~2).
Pricing July 2026: Sonnet 4.6 3/15 per Mtok. Llama 3.3 70B on Bedrock 0.72/0.72 for the all-open-weights case.
On Sonnet 5's introductory 2/10 the saving is still 82%. With prompt caching applied consistently to both cloud scenarios, 81%. At a 15-40% escalation share it spans 88-73%. The dollars move; the shape does not.
