Claude Opus 4.7 and the Tokenizer Reset: What Actually Changed in April 2026
Anthropic's April 2026 release moved Claude to a new tokenizer that produces 30 percent more tokens for the same text. That quietly broke cache assumptions and token budgets.

Most model releases change the numbers you read. A few change the numbers you compute. Claude Opus 4.7, released on 16 April 2026, did the second kind of thing, and almost nobody noticed.
The headline was a 1M token context window at $5 per million input tokens and $25 per million output. That part is now unremarkable — every current frontier model has a million-token window, and we covered that convergence in what a 1,000,000-token context window actually buys you.
The consequential detail was buried in the documentation: Claude 4.7 and later models use a new tokenizer, introduced with Opus 4.7, that produces approximately 30% more tokens for the same text.
What “30% more tokens” means in practice
Anthropic’s own documentation gives the conversion directly. On the current tokenizer, 1M tokens is roughly 555,000 words or 2.5M Unicode characters. On the previous tokenizer, models fit about 750,000 words in 1M tokens.
So the same 1M context window now holds roughly 25% fewer words than it did a year earlier. A system that was comfortably inside its window at 600,000 words is now over budget.
The direction of travel is unusual, and worth being explicit about. Tokenizers normally improve over time in the direction of fewer tokens per unit of text — a more efficient vocabulary means the same window holds more content. Anthropic’s change moves the opposite way, producing more tokens for the same text.
Whatever motivated it — coverage of code, multilingual material, or some capability trade-off — the effect on users is concrete and immediate.
Three things that break
Token budgets. Any application with a hard character or word limit converted to a token limit using the old ratio will overshoot now. If a pipeline was built to fit 900,000 tokens of English prose, that same prose is roughly 1,170,000 tokens today, and it does not fit. The fix is mechanical — re-measure and re-budget — but the symptom is a runtime error that appears only on long inputs.
Prefix cache matches. A prompt cache is a prefix match on tokens, not on characters. That means the tokenizer change does not invalidate caches on its own — a cache built with the new tokenizer still matches. But any application that persisted a cache key computed from the old tokenizer, or that assumed a stable token count for a stable prompt, will see hit rates collapse. Anthropic’s documentation is explicit that the same text now produces a different token count.
Cost estimation. Any forecast built from a per-request token estimate derived from word counts will under-predict the bill by roughly 30%. This is the failure mode that shows up in the budget line rather than in an exception log.
The bigger structural change
Opus 4.7 was the release that made 1M context a default rather than a premium feature for Anthropic, and the pricing of it was aggressive: $5/$25 at launch, against $8/$40 for the Fable tier that arrived seven months later.
That sequence is the actual story. Anthropic moved from a 200K-context model to a 1M-context model in under a year, and simultaneously moved the price of the 1M-context tier downward from $8/$40 to $4/$20 by September 2026 with Claude Opus 5.5.
The 2026 Anthropic release sequence reads like a deliberate compression:
| Date | Release | Context | Input | Output |
|---|---|---|---|---|
| 5 February 2026 | Claude Opus 4.6 | 1M | — | — |
| 17 February 2026 | Claude Sonnet 4.6 | 1M | — | — |
| 16 April 2026 | Claude Opus 4.7 | 1M | $5 | $25 |
| 9 June 2026 | Claude Fable 5.2 / Mythos 5.2 (5.1 generation) | 1M | — | — |
| 30 June 2026 | Claude Sonnet 5 | 1M | — | — |
| 24 July 2026 | Claude Opus 5 | 1M | — | — |
| 15 September 2026 | Claude Fable 5.1 / Mythos 5.1 | 1M | $10 | $50 |
| 22 September 2026 | Claude Opus 5.5 | 1M | $4 | $20 |
| 28 September 2026 | Claude Sonnet 5.5 | 1M | $2 | $10 |
| 7 October 2026 | Claude Haiku 5.5 | 1M | from $0.10 | from $0.50 |
| 9 November 2026 | Claude Fable 5.2 / Mythos 5.2 | 1M | $8 | $40 |
Two families of model shipped within seven months: the Mythos-class frontier line (Fable and Mythos, with Mythos restricted to verified organisations) and the conventional Opus/Sonnet/Haiku line. Both families now carry a 1M context window.
Why the tokenizer matters more than it looks
A tokenizer is a claim about what a model should spend its capacity representing. Making the tokenizer emit 30% more tokens for the same text means the model is allocating more of its representation budget to something — more byte-level detail, more coverage of rare tokens, more reliable representation of code and non-English scripts.
Anthropic did not state the rationale, and the documentation does not speculate. So this is inference: the tokenizer change and the simultaneous move to 1M context look like a deliberate trade. A denser tokenizer costs more tokens per unit of text; a larger window buys back some of that capacity. The April release gave you a 30% larger bill for the same text and a window that was, on the old tokenizer’s accounting, already large enough to absorb most of it.
That reading fits the sequence. The context window grew first, the tokenizer got more expensive to fill, and the price came down fast enough to compensate.
It also fits the flat long-context pricing. Because Claude 4.6 and later models bill the full 1M window at standard rates — with no premium above 272,000 tokens or anywhere else — Anthropic can afford a tokenizer that produces more tokens, because a token is priced the same regardless of how many you use. OpenAI’s policy, which doubles input rates and multiplies output by 1.5 above 272,000 tokens, explicitly charges more for the privilege of a long window.
What to do about it
Re-measure your token counts. Run your real payloads through the current tokenizer rather than trusting a stored estimate or a character-to-token heuristic. Do this once after any model upgrade.
Re-derive your context budgets. If you sized a workflow against the old word-per-token ratio, it needs to be resized. A pipeline that fit comfortably at 800,000 tokens may now be at 1,040,000.
Re-check cache hit rates. The cache itself is fine — the prefix match is token-based and the new tokenizer is consistent within itself — but any application-side key derived from the old counts will miss. Watch hit rate as a first-class metric after the upgrade.
Do not assume the ratio will hold. The tokenizer moved once in a direction that surprised people. It can move again, in either direction, and the same three fixes apply.
The lesson worth keeping
The March-to-April 2026 lesson is not about tokenizers specifically. It is that model upgrades change units, not just values, and most monitoring is built around values.
A price table gets looked up before a launch. A token-count assumption gets baked into a prompt template and never looked at again. When the unit changes underneath you, the value you can read does not tell you what changed.