{"slug": "tell-the-ai-its-budget", "title": "Tell the AI its budget", "summary": "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.", "body_md": "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.\n\nAdding one sentence to your prompt fixes both:\n\n“My budget is X. Find a way to track your token spend, and ensure you complete the task before the budget runs out.”\n\nThat’s the whole trick.\n\nOne 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.\n\nHere’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.\n\nAnd 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.”\n\nSo try it on your next big task. Hit reply and tell me how it goes.\n\n— Matt\n\nWhat should I write about next? [Vote or suggest a topic →](https://somethingbig.ai/next)", "url": "https://wpnews.pro/news/tell-the-ai-its-budget", "canonical_source": "https://somethingbig.ai/tell-the-ai-its-budget", "published_at": "2026-10-08 22:36:51+00:00", "updated_at": "2026-10-08 22:46:13.078190+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "large-language-models"], "entities": ["Claude Cowork", "Claude Code", "Codex", "Claude", "ChatGPT", "Matt"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/tell-the-ai-its-budget", "markdown": "https://wpnews.pro/news/tell-the-ai-its-budget.md", "text": "https://wpnews.pro/news/tell-the-ai-its-budget.txt", "jsonld": "https://wpnews.pro/news/tell-the-ai-its-budget.jsonld"}}