GPT Tokenizer Demo
Enter text below to count tokens using gpt-tokenizer:
Hello world! This is a test of the GPT tokenizer.
cl100k_base (GPT-3.5-Turbo, GPT-4)
o200k_base (GPT-4o, o1)
p50k_base (GPT-3)
p50k_edit (edit models)
r50k_base (Codex)
Price per 1M tokens ($):
Count Tokens
Loading tokenizer...
Token count will appear here.