PulseAugur
EN
LIVE 02:56:06

Claude tokenizer counts schema bytes 64% higher than tiktoken, study finds

A recent measurement study by an independent researcher reveals significant discrepancies in how different LLM tokenizers, specifically Claude's and tiktoken, count tokens for the same schema data. The study found that Claude's tokenizer counts schema bytes approximately 64% higher than tiktoken, a widely used offline and free tokenizer. This difference can lead to a substantial overestimation of context window usage when using Claude for tools that rely on schema serialization, potentially impacting cost calculations and effective context window size. The research also highlighted variations in tool exposure and client-side optimizations, such as progressive disclosure in Claude Code, which can drastically reduce the actual token load for end-users. AI

IMPACT Highlights potential cost and context window miscalculations for Claude users, emphasizing the need for accurate tokenizer measurements.

RANK_REASON Independent measurement study comparing LLM tokenizers. [lever_c_demoted from research: ic=1 ai=1.0]

Read on dev.to — MCP tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Claude tokenizer counts schema bytes 64% higher than tiktoken, study finds

How we ranked this

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Independent measurement study comparing LLM tokenizers. [lever_c_demoted from research: ic=1 ai=1.0]
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
84 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — MCP tag TIER_1 English(EN) · Roshan Singh ·

    I measured what 14 MCP servers cost a context window. Claude counts them 64% higher than tiktoken

    <p>Last month I <a href="https://dev.to/lopster568/what-should-an-mcp-tool-return-i-ran-72-trials-instead-of-arguing-43b4">ran 72 trials</a> to settle what an MCP tool should return, because a maintainer would not take opinion for an answer. That left the other half open: before …