6 tips to cut Claude Code workflow costs: effort levels, token budgets, loop caps
majidmanzarpour · x · 2026-10-01
A developer shares six practical tips for controlling token costs in Claude Code workflows (ultracode):
- Set effort first: /effort high or medium for routine work; request xhigh/max only for named hard parts.
- Use plain language instead of the keyword, with explicit limits (e.g., max 6 agents, effort high, one fix round plus one review).
- Set a token budget: '+2M tokens' becomes a hard ceiling the workflow can read and size itself to.
- Cap the loops: 'max 2 rounds' or 'stop after first approval' — open-ended loops are the biggest cost multipliers.
- Name what can be cheaper: mechanical steps (metrics, renders, docs) at low/medium; judgment steps (reviews, hard debugging) at high/xhigh.
- Ask for a checkpoint: pause after phase 1 and show results before continuing to prevent runaway fan-out.
Reserve the 'ultracode' keyword for tasks where exhaustiveness is worth the cost; plain workflows with limits give most of the benefit at a fraction of the price.
Related event: Six Tips to Cut Token Costs in Claude Code Workflows(2 posts)→
More from coding & agent
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29