Agents don't spend like chatbots: they resend context every step, call in parallel, and retry when throttled. Seven tactics that actually move the bill, ordered by typical savings — each with the honest note on when it won't help.
Cache the stable parts of every request: system prompt, tool definitions, large documents, conversation history. On Anthropic, cache reads bill at ~10% of the input price and don't count toward input-token rate limits at all.
Send routine steps (file triage, summaries, tool routing, subagent chatter) to a cheap model and reserve the frontier model for the steps that need judgment.
Compact long sessions and start fresh per task. Every appended tool result rides along on every subsequent call.
Exponential backoff with jitter, honor retry-after headers, cap attempts, and alert on failure loops. A 429 storm bills you for attempts while accomplishing nothing.
Move evaluation runs, backfills, and bulk processing to provider batch endpoints — typically ~50% off, and it doesn't compete with your live rate limits.
DeepSeek V4 Flash, MiniMax M2.1, and Kimi-class models deliver serviceable agent steps at cents per million tokens.
Past a few hours of daily agent runtime, stop optimizing per-token spend and cap it: flat monthly pricing with unlimited tokens turns the bill from a variable into a constant.
Agents multiply costs in three ways chat doesn't: they resend growing context on every step, they make many calls per task (planning, executing, verifying, retrying), and failures trigger retries that bill without producing anything. A single overnight loop can make hundreds of frontier-model calls.
Usually prompt caching, because agents resend nearly identical context on every call — cache-hit rates above 70% are common and can more than halve input costs. Second is routing routine steps to cheaper models. For always-on agents, flat-rate pricing caps the bill entirely.
Hard caps: a retry budget with exponential backoff, a per-session spend or step limit, and provider-side spend limits where offered. Then remove the incentive to fail: most overnight burns are 429 retry storms, which pacing-based flat-rate endpoints structurally can't produce.