TLDR Dev · ARTICLES & TUTORIALS
THE SAME TYPESCRIPT COSTS 73% MORE TOKENS ON CLAUDE THAN GPT
Summary from the TLDR Dev newsletter
The cost of using different AI tokenizers varies a lot, as each vendor's tokenizer processes the same text into a different number of tokens. Anthropic's newer tokenizer generates approximately 30% more tokens compared to its previous versions, leading to higher effective costs for certain content types, like TypeScript.