ended6월 28일· 1 sources

Token Counting Done Right: Stop Using tiktoken for Claude

Why it matters

I had a cost estimator that was wrong by 20%, and the reason was embarrassing: I was counting Claude tokens with tiktoken , which is OpenAI's tokenizer. Different model, different tokenizer, different...

1
Sources
+0
24h
Growth
75d
Active

Sources

Related Issues