AI and ML

Token consumption would not inform the entire story however it should not be ignored

Claude appears to be like considerably extra token-hungry than OpenAI’s GPT-5.x, because of the brand new tokenizer that Anthropic shipped with current releases.

Giant language fashions (LLMs) use tokenizers to deal with the mapping of textual content into tokens. There is no set definition of a token, however they’re usually a set of three or 4 characters which are mapped to the integers LLMs truly course of. 

Tokens have change into the essential financial unit for billing use of AI fashions. As a result of the slicing of phrases into tokens and the tokens required per process differ throughout fashions, it has change into fairly tough to foretell the ultimate invoice for enjoying the AI slot machine.

Current modifications to Anthropic’s tokenizer seem to have additional sophisticated issues by making the identical content material extra expensive to course of on sure fashions.

Playcode, an AI app constructing platform, lately analyzed the influence of Anthropic’s newest tokenizer and located that the identical TypeScript file processed by Claude can eat as much as 73 % extra tokens than OpenAI’s GPT-5.x mannequin household.

Anthropic acknowledges its new tokenizer – announced on the finish of June when Sonnet 5 shipped – could generate extra tokens for a similar enter than prior variations.

“Sonnet 5 is an improve to Sonnet 4.6, however it makes use of an up to date tokenizer that modifications how the mannequin processes textual content to enhance efficiency (that is just like the tokenizer change we launched with Claude Opus 4.7),” the corporate defined. “The tradeoff is that the identical enter can map to extra tokens: roughly 1.0–1.35× relying on the content material kind.”

Anthropic supplied Sonnet at a lowered introductory charge – $2/million enter tokens and $10/million output tokens by August 31, 2026 – to make the inflated token technology roughly cost-neutral. However the value is about to rise to $3/million and $15/millionafter that.

Anthropic didn’t instantly reply to a request for remark. The corporate says that customers of its new tokenizer may even see their payments rise by as a lot as a 3rd in comparison with the tokenizer it used with its older fashions. Prices for Anthropic customers may go even larger in comparison towards the newest iteration of OpenAI’s o200k tokenizer.

Playcode’s cross-vendor token comparability finds that for a 2,888 character TypeScript file, Claude’s new tokenizer emits 1.73x extra tokens than GPT-5.x’s tokenizer and 1.32x greater than Claude’s outdated tokenizer. These figures differ for various kinds of code: Rust faucets in at 1.58x, JavaScript 1.52x, and Python 1.50x.

So if Anthropic’s record costs have been adjusted to be comparable with OpenAI’s GPT-5.x baseline, Playcode suggests Opus 4.8’s price can be $7.50/M enter and $37.50/M output as a substitute of the revealed determine of $5/M and $25/M.

The AI app platform notes {that a} crew from advertising and marketing platform Ploy this week revealed an account of a manufacturing migration utilizing OpenAI’s GPT-5.6 Sol and Anthropic’s Opus 4.8.

“GPT-5.6 completed pages 2.2× sooner, price 27 % much less, and used about half the output tokens,” Ploy claimed

There are different elements that go into calculating AI payments. As we noted recently, prices must be judged when it comes to process completion and the influence of mannequin harnesses (e.g. Claude Code, Codex, Pi, OpenCode, and many others.) also needs to be evaluated when trying to calculate the price of operating AI workloads. ®


Source link