Skip to content

What does an AI coding session really cost? Our numbers

Our two coding runs on a small demo project cost $0.06 and $0.04 on WLN’s Balanced team. The Planner (Claude Sonnet 5.5) was 87% and 88% of those bills, even though the cheap Builder wrote more of the code.

Updated

Our two coding runs cost $0.06 and $0.04. Most of each bill came from the Planner, the role that plans the work and talks to you, and very little from the Builder, the role that writes the code.

These are two runs on one small demo project. They aren’t a benchmark, and they aren’t a promise of what your work will cost. We’re publishing them because people ask what an AI coding session costs, and a real receipt with the tokens broken out is more useful than a guess. If you searched for what Claude Code costs, we can’t answer for Anthropic’s plans. This is what our own app billed to our own key.

What we ran

The project was ~/Demo/notes-app, a tiny notes web app with four tests. We used WLN’s Balanced team, all through OpenRouter. Here are the prices as WLN listed them on 5 December 2026, per million tokens in and out:

RoleModelListed price (in / out)
PlannerClaude Sonnet 5.5$2 / $10
BuilderDeepSeek V4.1 Flash$0.0503 / $0.48
ReviewerGLM 5.3$0.0697 / $1.4

Run 1: we asked for a search box above the notes list. The team changed 3 files (+46 −3), the tests went from 4 to 9 passing, and it took 4 min 27 s. Total: $0.06.

Run 2: a follow-up asking for a “no matches” message. One file changed (+9 −1) in 1 min 55 s. WLN’s screen check passed on desktop and phone on the first attempt. Total: $0.04.

Cost per role

These come from the reply records WLN saved for each run. The costs are what OpenRouter billed, not estimates.

RunRoleRequestsTokens inTokens outBilled
1Planner548,6021,645$0.0489
1Builder519,8321,910$0.0024
1Reviewer11,550794$0.0048
1Total1169,9844,349$0.0561
2Planner445,2131,414$0.0362
2Builder320,043637$0.0009
2Reviewer1589862$0.0039
2Total865,8452,913$0.0410

WLN rounds these on screen. Under each reply you see one line per role and the total, with the time and the token count.

Run 1 in WLN: 3 files changed +46 −3 with Undo all, then Planner Sonnet 5.5 $0.05, Builder DeepSeek Flash $0.0024, Reviewer GLM 5.3 $0.0048, 4m 27s, 74,333 tokens, $0.06.
Run 1. The note at the top is WLN telling us the team changed a test file.

The Builder wrote the code, the Planner read the most

We expected the cheap Builder to burn most of the tokens, since it does the hands-on work. It didn’t. In both runs the Planner used about two thirds of all tokens, and the Builder under a third.

The Builder did write more. In run 1 it produced 1,910 output tokens against the Planner’s 1,645, and that output was the code. But output was a small share of the total. Most tokens were input: text sent to a model so it can read it.

The Planner reads a lot more per request than the Builder: in run 1 both made five requests, but the Planner’s averaged about 9,700 tokens and the Builder’s about 4,000. It reads your request and the project, plans the task, reads the Builder’s report and the Reviewer’s verdict, and writes the answer. Each of those is a new request that carries the conversation so far. Five Planner requests at roughly 10,000 tokens each add up to the 48,602 in the table.

The Builder had 21,742 tokens in run 1 and was billed $0.0024 for all of them. That’s the point of a cheap Builder: it can read files, run tools and write code for fractions of a cent.

What pushed the cost up: the Planner’s model

The Planner’s listed input price is about 40 times the Builder’s ($2 against $0.0503 per million). Put more tokens on the pricier model and you get the result above: 87% of run 1’s bill and 88% of run 2’s.

Two details surprised us.

  • The Planner was billed less than its list price. At $2 / $10, run 1’s Planner tokens come to about $0.11. OpenRouter billed $0.0489. We think prompt caching explains most of the gap: WLN marks Claude prompts for caching, and a repeated part of a prompt is billed at a lower rate when it’s read again. The saved record doesn’t split cached tokens out, so treat that as our reading, not a measurement.
  • The Reviewer cost more than the Builder with a tenth of the tokens. GLM 5.3’s output price is three times DeepSeek’s, and the Reviewer writes most of what it reads. Its bill was also higher than the listed price gives for its counted tokens. We don’t know why yet. That’s one reason WLN shows the billed amount when the provider reports one, and marks estimates with ≈ when it doesn’t.

Our opinion: the Planner is the right place to spend. A bad plan wastes more than a few cents, because the Builder then does the wrong work well. If you want to cut costs, try a cheaper Planner on small, clear jobs first. At list prices, run 1’s Planner tokens on GLM 5.3 would come to about half a cent. We haven’t run that, so we can’t tell you whether GLM plans this task as well.

What the money bought, and what it didn’t

Run 1 wasn’t a clean pass, and WLN said so. The team changed test/notes.test.js, and WLN noted that “passing doesn’t prove the change”, because the test file is part of the check. The screen check didn’t run either: “The dev server didn’t answer within 60 seconds.” The demo’s dev script ignored the port WLN gave it. That was our demo’s fault, not the team’s.

Run 2 did get its screen check. WLN opened the app at desktop and phone width and had the Planner’s model judge the screenshots: “judged by Claude Sonnet 5.5, $0.01”. That cent is inside the Planner’s $0.0362, because the judge runs on the Planner’s model. The judge also wrote down what it couldn’t confirm: the screenshots didn’t show a search being typed, and the phone width was only captured with the list empty.

Run 2 in WLN: Reviewed by GLM 5.3: no problems found, the judge’s notes, 1 file changed +9 −1, Planner $0.04, Builder $0.0009, Reviewer $0.0039, 1m 55s, 68,758 tokens.
Run 2. The judge’s notes say what the screen check didn’t cover.

How WLN keeps a session bounded

  • Chat routing. Simple questions go to the Builder, hard ones to the Planner. A simple question answered by the Builder cost us $0.0005. Coding tasks show “Planned by the Planner, done by the team: coding task”, so you know the strong model is in the loop.
  • A $5 limit per new chat. Both runs together used $0.10 of it; the chat header said “$0.10 of $5.00”. For models with a known price, WLN stops before a request that could take the chat past its limit and shows a card where you can raise it and continue. You can also change the default in Settings › General › Spending limit per chat.
  • No unpriced models in limited chats. A chat with a limit budgets with WLN’s own price list, so a model WLN has no price for can’t be used in it. Prices refresh about every six hours.
  • Approval before work lands. In the default mode, Ask every time, the team asks before it runs your tests in its private copy, and changes reach your folder through an approval card. Undo keeps the originals for 30 days (anything over 20 MB goes to the Trash instead).

What we’d change next time

  1. Fix the demo’s dev script so it reads the port WLN passes in. Then run 1 would have had a screen check too.
  2. Tell the team how to treat tests. A line in the project’s CLAUDE.md or AGENTS.md, such as “add new tests, don’t edit existing ones”, reaches every role. We think that would have kept run 1’s check honest.
  3. Run the same two tasks on Cheapest and Strongest and publish the numbers side by side, with the same caveats.
  4. Try a bigger project. We expect the Planner’s input to grow with the project, since it reads more each time. We have no numbers for that yet, and we won’t guess.

Questions

Is $0.06 what a coding task costs in WLN?

No. It’s what one small task on one small demo project cost us, once. A bigger project, a longer chat or a stronger Planner will cost more. WLN shows the cost under every reply (marked ≈ when it’s an estimate), so you’ll see your own numbers from the first task.

Why did the Planner cost more than the Builder when the Builder wrote the code?

The Planner’s model is about 40 times dearer per input token, and it read more: about 48,600 input tokens over five requests in the first run, against about 19,800 for the Builder. Every request carries the conversation so far, and the Planner’s requests carried about twice as much as the Builder’s.

How do I make the team cheaper?

Pick the Cheapest preset if you have an OpenRouter key, or choose Custom and put a cheaper model on the Planner row, in Settings › Models and API key › Team. The team is one setting for all chats, so the change applies everywhere until you switch back.

Does WLN add anything to these costs?

No. You pay your provider for the tokens, at its prices. Chat in WLN is free. The coding team needs a WLN licence key, and the team is free during the beta.

Anthropic, Claude, Claude Code, DeepSeek, GLM and OpenRouter are trademarks of their owners. WLN is an independent app and isn’t affiliated with or endorsed by them.