cd /news/ai-agents/tell-the-ai-its-budget · home › topics › ai-agents › article
[ARTICLE · art-147893] src=somethingbig.ai ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Tell the AI its budget

Adding a single sentence to an agent prompt — "My budget is X. Find a way to track your token spend, and ensure you complete the task before the budget runs out." — lets token-billed AI agents plan their work around a spending limit, according to a newsletter post by Matt. The technique applies only to agents such as Claude Cowork, Claude Code or Codex, not the standard Claude or ChatGPT chat windows, because agents can track their own token consumption as they work. A small budget keeps an agent from over-verifying, while a large budget signals it should push further than it normally would.

by read1 min views1 publishedOct 8, 2026
Tell the AI its budget
Image: Somethingbig (auto-discovered)

Most people use AI the normal way: they ask for what they want and hope they get it. Sometimes the agent doesn’t work hard enough and hands you something half-baked. Other times it goes the opposite direction, spending way too much time triple-checking everything and costing you money you didn’t want to spend.

Adding one sentence to your prompt fixes both:

“My budget is X. Find a way to track your token spend, and ensure you complete the task before the budget runs out.”

That’s the whole trick.

One thing to know: this only works in a real agent, like Claude Cowork, Claude Code or Codex. It won’t work in the regular Claude or ChatGPT chat window. If you’re not using an agent yet, you should be anyway.

Here’s why it works. These models charge by tokens, which is basically the amount of text they read and write. An agent doing a long task can burn through a lot of them. But an agent can keep track of its own spending as it works and plan its strategy around the budget you gave it.

And it works in both directions. Set a small budget, and the agent can plan to stay inside it. Set a big one, and it knows you want it to push further than it normally would. If you’re a company with money to spend, you can even say, “We have this much to spend, I know it’s a lot, make the most of it.”

So try it on your next big task. Hit reply and tell me how it goes.

— Matt

What should I write about next? Vote or suggest a topic →

── more in #ai-agents 4 stories · sorted by recency
── more on @claude cowork 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/tell-the-ai-its-budg…] indexed:0 read:1min 2026-10-08 · —