Home / Companies / OpenRouter / Blog / Post Details
Content Deep Dive

Opus 4.7's New Tokenizer: What It Actually Costs

Blog post from OpenRouter

Post Details
Company
Date Published
Author
Justin Summerville
Word Count
1,093
Company Posts That Month
16
Language
English
Hacker News Points
-
Post removed?
No
Summary

Anthropic's Claude Opus 4.7 introduces an enhanced tokenizer that improves input comprehension but results in a higher token count, thereby increasing costs by 12–27% for inputs over 2,000 tokens, despite unchanged pricing per million tokens. The new tokenizer produces 32–45% more native tokens compared to Opus 4.6, with greater inflation for smaller prompts. However, prompt caching mitigates much of this inflation by discounting cached tokens by 90%, significantly reducing the cost impact, especially for longer prompts where up to 93% of extra tokens end up in the cache. Completion lengths vary with prompt size, as Opus 4.7 generates 62% fewer tokens for short prompts under 2,000 tokens, while longer prompts see a modest increase in token length. The study, based on over a million requests, uses OpenRouter as a consistent baseline for measuring tokenizer changes and normalizes costs by focusing on OpenRouter token counts.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.