Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Click any words you think contain an error. Click again to unmark.
Fewer tokens does not mean fewer dollars. Cost = tokens × price-per-token, and different models have different per-token prices.
Imagine two grocery stores selling the same fruit but in differently sized boxes. One store packs three apples per box, the other packs four. The four-apple box has fewer boxes per pound of apples, but each box might also cost more. You cannot tell which store is cheaper just by counting boxes; you have to multiply boxes by box price to get dollars. Tokens are the boxes. The new model packs more text per token, so you have fewer tokens, but each token may also cost more. Always do the multiplication on the real price sheet before celebrating the box count.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: write the cost formula, identify the price-per-token term as the missing factor, debunk the tokens-equals-dollars equivalence, and prescribe dollars-per-byte as the migration metric.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Equating fewer tokens with lower cost without checking that the per-token price held constant. A new model with a richer vocabulary typically prices each token differently; the comparison must be dollars per unit text, not tokens per unit text.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.