Agent's cost cap tanked email lookup hit rate from 86% to 76% — a budgeting lesson
Zealousideal_Fan177 · reddit · 2026-11-29
A developer shares a real failure from his sales agent: told to keep email-lookup costs down, the agent capped every call at the cheapest provider's price — so on a miss, no other provider was allowed to try and it returned "not found."
The numbers (582 founders and GTM leads)
- Cheapest provider alone: 76% hit rate
- Second provider, run only on misses: 73% of what it tried
- Combined: 499/582 (86%); and a miss costs nothing — the cap was protecting the agent from a bill it would never get
Fixes he made
- The price check now reports a cap that lets every provider try, not just the starting price
- Instructions now say results first, cost second
- A missed run names the providers the cap excluded, so the agent retries once instead of giving up
General lesson: a per-call budget cap gets read as "take the cheapest path," and the cheapest path is often the one that fails — tell the agent what a miss costs, or it optimizes the wrong number. (Author discloses this is a writeup for his tool RouterGrowth.)
More from coding & agent
- SGLang PR adds hot-reload so kernel-writing AI agents iterate without server restarts — AccBalanced · 2026-11-30
- Perplexity's Code Quality Auditor traced $975K/year in wasted Claude API spend — jeffgrimes9 · 2026-11-30
- Open-source MCP broker lets AI agents reuse Chrome's local autofill data securely — lifan-builds · 2026-11-30
- Are AI software factories a systemic risk? Correlated agents patching vulns could cause "flash crashes" — nbaschez · 2026-11-30
- Dev argues open-weight models lack tuned harnesses, building one himself — JustinPBarnett · 2026-11-30
- Running an agent team on your existing AI subscription to bypass usage limits — ycombinator · 2026-11-30