Email or username:

Password:

Forgot your password?
Top-level
Drew Breunig

@simon Nice! You should drop a tokenizer in there for people.

5 comments
Simon Willison

@dbreunig I'm still frustrated that Anthropic don't release their tokenizer!

Gemini have an API endpoint for counting tokens but I think it needs an API key

Drew Breunig

@simon Now that you mention it, I'm curious how different each platform is with tokens and how that might affect pricing (or just be a wash)

Simon Willison

@dbreunig yeah it's frustratingly difficult to compare tokenizers, which sure make price per million less directly comparable

Simon Willison

@dbreunig running a benchmark that processes a long essay and records the input token count for different models could be interesting though

Go Up