Repository navigation
The Verbosity Tax · Why two identical questions can cost 7× different #5
akash-coded
started this conversation in
Exercises
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The Verbosity Tax (Follow-up of discussion #4)
Claim: two identical questions, same model, can cost 7x different. The gap is not intelligence. It is how much the model talked.
You have built agents, costed them, cached them, and cascaded them. This 20 minute experiment isolates the one cost lever you control on every single call, and it is not the one most people reach for.
Time budget: predict 2 min, run 8 min, read the reveal 5 min, take the intuition 5 min.
Why this matters before you run anything
On Claude, output tokens cost 5x input tokens. On Nova 2 Lite, closer to 8x. The model spends far more compute generating words than reading them.
So the size of the answer, not the size of the question, usually decides the bill. Hold that thought, then test it.
Step 1: Predict
Same model, same facts, asked three ways:
Before you run it, write one number. How many times more will the verbose call cost than the structured one?
Most people guess 2x. Hold yourself to a number.
Step 2: Run it
Save as
verbosity_tax.py, setaws configurewith regionus-east-1, thenpython verbosity_tax.py.Step 3: The reveal
Your exact numbers will vary, but the shape holds. A representative run:
Verbose is about 7x the cost of structured. Did your guess hold?
Now the part that makes it click. Input was identical across all three. So every cent of the difference came from output. Break down the verbose bill alone:
The question cost nothing to change. The answer cost everything.
And the kicker: the cheapest option, structured, is also the most useful. A downstream system can read
{"meal_voucher": true}directly. The verbose paragraph is the most expensive output and the hardest to parse. You paid more for something a machine likes less.Step 4: The intuition
Three things to carry out of this:
maxTokens, ask for brevity, and the savings are real with zero quality loss on a fixed-format task.flowchart TD Q{"Who reads the output?"} Q -->|a machine| S["Structured: cheapest and parseable"] Q -->|a human, fast| T["Terse: one line"] Q -->|a human, needs depth| V["Verbose: useful, but you pay for every word"]At 2000 calls a day, the verbose version runs about $140 a month and the structured one about $19. Same model, same answer quality on the decision that matters, $120 saved a month for choosing the right output shape.
Step 5: The twist
Extended thinking tokens bill as output. So a reasoning model that thinks hard before answering is paying the verbosity tax internally, on words you never read.
That reframes when to turn thinking on. For a rule lookup like the voucher decision, the rule is fixed, so thinking buys nothing and just inflates the output you pay for. For a genuinely hard, multi-constraint plan, the thinking might change the answer enough to be worth it.
The rule: thinking is output you pay for whether or not you read it. Spend it only where it changes the answer, not by default.
Note: on every call, you are billed mostly for talk, so make the model say exactly what the reader needs and not one token more.
All reactions