How to Measure What Your AI Costs per Task [$0.20 a Reel] A developer building Reel Pipeline Studio, a local tool that turns text into short vertical videos using multiple AI roles, described a method for measuring the real cost per task by logging every model call with token counts and pricing them at API list rates. Measured across six real reels, one reel using text calls only cost about $0.20 on Claude Haiku 4.5, with the developer reporting median and 90th-percentile run costs and excluding runs that carried roughly 190,000 tokens of Claude Code context. The developer also removed Claude plan login from the studio after Anthropic barred third-party apps on Pro and Max plans, moving to API-key billing. What you get: - 1. Log every call - 2. Measure real work - 3. Price it - 4. What does one reel cost? - 5. Where the money goes - 6. Two gaps, and what I measure next One reel with my AI crew, text calls only, comes to about $0.20 on Claude Haiku 4.5 , priced at API list prices. Below is the method, so you can measure the cost per task in your own AI tool the same way. I build Reel Pipeline Studio https://danielrusnok.substack.com/p/one-line-in-a-finished-reel-out-the next to a full-time job. It turns a text into a short vertical video on your own computer. Its editor has several AI roles, and each role makes one or more text calls to a language model. The method in short: add up the tokens over every call in one run. Tokens are the chunks of text a model reads and writes. Cost is the input tokens times the input price, plus the output tokens times the output price. Repeat on real work, then take the median run as the typical cost and the 90th percentile p90 as the expensive case. 1. Log every call For every request, write down what it really used. I append one line per call to a local file: {"task":"dramaturg","runId":"b877dc6a…","model":"claude-sonnet-5", "inputTokens":2243,"cachedInputTokens":0,"cacheWriteTokens":0,"outputTokens":2475} That is a real line from my log, with the run id shortened. The task field names one role run, like the Dramaturg reviewing a script. The run id ties together every call inside that run , so retries count toward the same run. The model field picks the price row. The token fields are the counts you multiply. Output tokens include the model's thinking , because the providers I priced bill thinking as output. The file stays local and works with any provider. A run's cost is the sum of its lines. A short script that groups by run id and sums the tokens is all the tooling this needs. 2. Measure real work Test prompts are short and tidy. They underprice real work. I measured on six real reels , and each role I measured ran two to seven times cleanly. I group the log lines by run id and add up each group. I sort the runs of one role by cost. The middle one is the median. The p90 is the run that costs more than 90 percent of the others, the heavy run. Then I drop runs that carry context the studio never sends. Some runs went through Claude Code, which added about 190,000 tokens of its own context to a call. Those calls are out of the numbers. 3. Price it I ran these on my own Claude subscription , with no API key. I didn't know what a test like this would cost. I didn't want to burn API money before I had any idea. On Saturday 14 November I removed the Claude plan login from the studio. Anthropic doesn't allow third-party apps https://code.claude.com/docs/en/legal-and-compliance on Pro or Max plans. From now on, Claude in the studio uses an API key, and every call has a price. I wanted to know that price, and I priced the tokens afterwards from the provider's pricing page https://platform.claude.com/docs/en/about-claude/pricing . I keep the prices in one file, one row per model. Each row has two prices and the date I read them, 14 November 2026 . Claude Sonnet 5, the model in that log line, lists at $2 per million input tokens and $10 per million output tokens . Sonnet 5.5 lists at the same prices. At those prices the call above costs about $0.029. That is $0.0045 for its 2,243 input tokens and $0.0248 for its 2,475 output tokens. Output costs five times as much as input here. The same ratio holds for Haiku 4.5, which lists at $1 and $5. I count every prompt token at the full input price, with no cache discount . A cache discount is a cheaper rate for prompt text the provider has already seen. My numbers run high. 4. What does one reel cost? One reel here means every measured role once , except the Motion Designer, which runs on six scenes. I priced it on Claude Haiku 4.5, the default model on an Anthropic key, and on Claude Sonnet 5.5. Each line shows Haiku 4.5 first, then Sonnet 5.5. - Pitches angles + three pitches : $0.050 / $0.099 - Script writes the scenes : $0.027 / $0.054 - Dramaturg critiques the script : $0.040 / $0.079 - Look picks a visual style : $0.006 / $0.012 - Art Director reviews pictures and camera : $0.040 / $0.080 - Motion Designer six scenes : $0.036 / $0.071 The cheapest model is Claude Haiku 5.5 at $0.02 a reel , and the most expensive is Claude Opus 5.5 at $0.79. Gemini 3.8 Flash comes to $0.15 at its list price https://aistudio.google.com/docs/pricing , and the chart has the other models. These are token prices only. They say nothing about quality. OpenAI has no price in my table yet , since I couldn't read its pricing page first-hand on 14 November. My table has one row per role and one column per model. I fill it from the medians. I put the heavy run next to it as the budget case . 5. Where the money goes On Sonnet 5.5, output is about 83 % of the bill. Output tokens cost five times as much as input tokens, and the roles that write the most cost the most. The Dramaturg reads fewer tokens than the Script role, 2,581 against 3,816 per run , and still costs more. It writes about 7,400 tokens a run against the Script's 4,600. The pitches are the biggest single line. They write about 8,900 tokens per reel , more than the Dramaturg's 7,400, before a single scene exists. For my pipeline, the biggest saving is in how much each role writes. To find your own biggest line, I'd sort the roles by output tokens per run and read from the top. My earlier pipeline breakdown https://danielrusnok.substack.com/p/how-to-turn-a-substack-post-into-a-reel counted time and said $0 extra per reel , because the calls ran on subscriptions I already pay for. This post puts a price on those calls. 6. Two gaps, and what I measure next The first gap is the Voice Director it plans how the voice reads each sentence . It has no clean runs in the measurement yet, so it is not in the total. The second gap is the method. These are subscription tokens priced at API list prices, with no real API bill behind them. A real bill can come out lower , since my numbers skip the cache discount. The prices came out tiny either way. Next time I measure straight on an Anthropic API key . In my own studio, the price of one run sits beside the "Run with" menu in each role window. A table of every role and one whole reel is in Settings › AI Pipeline. What does one run cost in your AI tool, and how did you find out? P.S. After three runs on your machine, Reel Pipeline Studio shows the median of your own runs next to each AI role. See the median in the studio. https://reelpipelinestudio.com/?utm source=substack&utm medium=ps&utm campaign=studio&utm content=ai-crew-cost-per-reel Go deeper - How Do You Know a Prompt Actually Got Better? https://danielrusnok.substack.com/p/i-ran-my-ai-essay-reader-on-4-models — how I measure an AI role before I trust its numbers. - Is an AI Reel Pipeline Worth the Setup? A First-Time User Timed It https://danielrusnok.substack.com/p/is-an-ai-reel-pipeline-worth-the — the other cost of a reel: a new user's time. - Do You Still Need a Reel Tool When Claude Opus 5.5 Makes Videos? https://danielrusnok.substack.com/p/do-you-still-need-a-reel-tool-claude-opus-5-5 — my Next Fix Test for when a dedicated reel tool still earns its place. 393 builders read this. Subscribe below and QuickReel and the Article-to-Reel Playbook, free, land in your welcome email.