{"data":{"id":"ac277e9a-3d88-467b-94d6-c15f8be06d9f","title":"Claude Token Counter, now with model comparisons","summary":"Claude Opus 4.7 introduced an updated tokenizer (a system that breaks text into smaller units for processing) that changes how text is converted into tokens, causing the same input to require 1.0–1.35× more tokens depending on content type. While Opus 4.7 maintains the same pricing as Opus 4.6 ($5 per million input tokens and $25 per million output tokens), this token inflation means users can expect roughly 40% higher costs, though the impact varies by content type (minimal for PDFs at 1.08×, identical for lower-resolution images, but 3× higher for high-resolution images).","solution":"N/A -- no mitigation discussed in source.","labels":["industry"],"sourceUrl":"https://simonwillison.net/2026/Apr/20/claude-token-counts/#atom-everything","publishedAt":"2026-04-20T00:50:45.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"info","attackType":[],"issueType":"news","affectedPackages":null,"affectedVendors":["Anthropic"],"affectedVendorsRaw":["Claude","Claude Opus 4.7","Claude Opus 4.6","Claude Sonnet 4.6","Claude Haiku 4.5"],"classifierModel":"claude-haiku-4-5-20251001","classifierPromptVersion":"v3","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"patchAvailable":null,"disclosureDate":"2026-04-20T00:50:45.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":null,"aiComponentTargeted":null,"llmSpecific":true,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null}}