Skip to content
← All writing

How to Cut Claude Code Token Costs for AI Marketing Work

By Vlad Yasinski·

To cut Claude Code token costs on marketing work, route each task to the cheapest model that can do it, keep the top model for decisions and final checks, keep prompts short and data in files, and measure the cost of every answer. I packaged the rules, agents and tools I use for this as Marketing Token Economy, a free MIT repository.

Most of the money in AI marketing work goes to the wrong model doing volume work, long prompts and chats that run too long. Here is the setup I use to keep it down, with the files to copy.

Layer 5 of the loop: IntelligenceAI marketing systemsRequest an audit
Nov 2026·6 minAIAutomationClaude Code

Key takeaways

  • Let the strongest model decide and sign off; give the volume to cheaper models and scripts.
  • Set the model on every agent call: Opus for judgment, Sonnet for building and research, Haiku or a script for mechanical work.
  • Keep agent prompts short, in English, with file paths in and an output path out. Never paste data into a prompt.
  • Quote the cost before any paid batch, log every external call, and count finished results, not started jobs.

Where the money goes

In ad creative, competitor research, SEO and UA analytics work, the bill rarely comes from one big task. It comes from small habits repeated hundreds of times: the top model renaming files, a 3,000-word prompt with a pasted table, a long chat resumed after lunch, twenty screenshots where one contact sheet would do.

Two examples from my own runs. Resuming a long idle chat re-caches the whole context, which costs about $1 each time. And the most expensive mistake I made was checking a research workflow by started entries instead of finished results: it re-ran three times and burned about 100M tokens.

Downgrade the work, never the final gate

The main thread owns positioning, the approach, hooks, final copy, art direction and final QA. Everything else moves down a tier.

  • A critic agent on Opus signs off a batch once, without being told the expected conclusion.
  • A builder agent on Sonnet lays out banners, posts and pages in HTML or Figma.
  • A researcher agent on Sonnet, plus scripts, collects competitor and account data.
  • A file-ops agent on Haiku, or a plain script, renames files, checks sizes and builds export packs and contact sheets.
  • External image and text models draft cheap variants through one wrapper that logs the cost.

Draft cheap, have the top model approve, and render only the approved pick on the top tier. Cap it at three takes per asset, then one edit with a reference image.

Write agent prompts like tickets

An agent prompt in this setup is English, 150 to 350 words, with inputs given as file paths, an explicit output path and a reply of six lines or less. The data stays in files and scripts compute the scores, so the chat only carries paths and five-line summaries. If you dictate requests in another language, rewrite them into a short English brief first; the agents never see the dictation.

Keep chats short and visual checks cheap

  • One chat per task. Start a new one after the first compaction or when the task changes, and hand off through a short note.
  • Read pages as text, not screenshots. When you must look, take screenshots at 0.4 to 0.6 scale.
  • Review many images as one contact sheet of up to 20 thumbnails at 1600 px or less.
  • Do not re-read a file you just wrote; edit it with a diff.
  • Turn on only the connectors the task needs.

Measure every answer and every external call

You cannot cut what you do not see. The repository includes a Claude Code hook that prints the cost of each answer at API list prices in the status line and warns when a weekly or five-hour usage window passes 80%. Above that line, helpers move to Sonnet or Haiku.

External calls go through a small ledger script: log each image, voice, video or scraping call with its units and price, then print one cost line per task. Before any paid batch, quote the cost in one line, and ask a person before anything above about $2.

Use it

The rules are plain Markdown, so you can append the block to CLAUDE.md or AGENTS.md in any repository, copy the four agent files into .claude/agents and add the hook to your Claude Code settings. The install steps, the full rule list and the cost reference are on the Marketing Token Economy page.

Get the rules, agents, usage hook and cost ledger, free under MIT.

See Marketing Token Economy