The Token Tax

Talking to your agent in Turkish makes it about 1.8x dumber. Same question, same answer, just nearly double the tokens, and every one of those extra tokens is attention the model spends on nothing.

That's the part the "is this even worth optimizing" debates miss: the token count isn't your bill, it's how much of the model's head is left for the actual problem. So instead of guessing, I measured what actually moves it, end to end, against Claude Opus 4.8.

The short version:

More tokens isn't just a bigger bill

The bill is the boring cost. You pay per token in and out, fine. But three things happen at once:

That last one is the real point. Attention is finite and shared across the whole context. Every junk token, a shouty heading, a 36-character UUID, a bloated JSON blob, is a low-information token that the model still has to look at. So the signal you care about becomes a smaller slice of the whole, "lost in the middle" gets worse as the context grows, and answer quality drifts down.

So token efficiency isn't a billing optimization, it's a quality one. A leaner prompt is a smarter model. More of its attention lands on what actually matters.

How I measured it

The hard part is getting a clean number. A normal claude -p call drags ~24k tokens of scaffolding along (tools, system prompt, project files, MCP config) before your prompt even shows up, so any small effect just drowns.

So I stripped the harness down to almost nothing. Baseline scaffolding drops from 24,430 tokens to 181:

claude -p "$PROMPT" --output-format json \
  --system-prompt "You are a helpful assistant." \
  --tools "" --setting-sources "" \
  --strict-mcp-config --mcp-config '{"mcpServers":{}}' \
  --exclude-dynamic-system-prompt-sections

One more trap: the headline "input tokens" field lies. The real number is the sum of three fields (input + cache_read + cache_create), so that's what I count.

Why I trust the numbers:

Language is the biggest lever

Same sentence, eleven languages, identical meaning. The spread runs 1.0x to 2.4x.

Language Tokens x English Note
English 28 1.00x baseline
Chinese 28 1.00x dense glyphs
Russian 35 1.25x Cyrillic merges well
German 50 1.79x long compounds
Turkish 51 1.82x agglutinative + ı ğ ş
Hindi 62 2.21x Devanagari, 250 bytes
Thai 68 2.43x no spaces, poor merges

The same sentence, four ways:

EN · 28 tok  Artificial intelligence is changing how people work, learn, and communicate around the world.
ZH · 28 tok  人工智能正在改变世界各地人们的工作、学习和交流方式。
TR · 51 tok  Yapay zeka, insanların dünya genelinde çalışma, öğrenme ve iletişim kurma biçimini değiştiriyor.
TH · 68 tok  ปัญญาประดิษฐ์กำลังเปลี่ยนวิธีที่ผู้คนทั่วโลกทำงาน เรียนรู้ และสื่อสาร

Chinese ties English at 1.00x, which is the surprise. It's the worst per character, but each Han glyph is a whole word, so the sentence ends up tiny. Density wins. Thai and Hindi are the losers (2.4x and 2.2x): barely-merged scripts where almost every character is its own token, and still many characters per word.

Turkish, since it's mine, I dug into. It's 1.84x to read the same paragraph (210 vs 114 tokens over an identical 415 characters) and 1.83x to write the same answer (287 vs 157, three-sample mean). The tax is symmetric. You pay both directions: it costs more to feed Turkish in, and more for the model to produce it.

Formatting: caps, whitespace, junk

How you encode the same content matters as much as the content. Cost here is per character, against normal English prose.

Content x prose
English words 1.0x
Big number 1.4x
URL 1.6x
File path 1.9x
SHA-256 2.4x
UUID 2.5x
Base64 3.7x

English prose is 0.255 tokens/char. Base64 is 0.93, basically one token per character, the worst thing you can hand a model. IDs and hashes sit around 2.5x. A wall of UUIDs or a base64 blob pasted "just in case" is the most expensive thing in your context, and usually the least useful.

Two more, same content, different shell:

The one free lunch

Saying "please" is 1.1x. Effectively nothing, and it doesn't change the answer. So if being polite to the machine makes you feel better, go ahead, it's the cheapest thing here. Relax.

What to actually do

Nothing exotic, just stop paying the tax you don't have to:

The token economy is English-first, lowercase, and minified. Step away from any of those and you pay, anywhere from 1.1x to 3.7x. And the bill was never the expensive part.