Welcome to gpt-tokenizer playground!

The most feature-complete GPT token encoder/decoder with support for OpenAI models: o1, GPT-4o and GPT-4, GPT-3.5 and others.

 
84
Characters
0
Tokens
< 0.01¢
OpenAI o1-preview Input
< 0.01¢
OpenAI o1-preview Output
< 0.01¢
OpenAI o1-mini Input
< 0.01¢
OpenAI o1-mini Output
< 0.01¢
ChatGPT 4o Latest Input
< 0.01¢
ChatGPT 4o Latest Output
< 0.01¢
GPT-4o (Aug 2024) Input
< 0.01¢
GPT-4o (Aug 2024) Output
< 0.01¢
GPT-4o (Aug 2024) Batch Input
< 0.01¢
GPT-4o (Aug 2024) Batch Output
< 0.01¢
GPT-4o Input
< 0.01¢
GPT-4o Output
< 0.01¢
GPT-4o Batch Input
< 0.01¢
GPT-4o Batch Output
< 0.01¢
GPT-4o Mini Input
< 0.01¢
GPT-4o Mini Output
< 0.01¢
GPT-4o Mini Batch Input
< 0.01¢
GPT-4o Mini Batch Output
< 0.01¢
GPT-4o 2024-08-06 Finetuning Input
< 0.01¢
GPT-4o 2024-08-06 Finetuning Output
< 0.01¢
GPT-4o 2024-08-06 Finetuning Batch Input
< 0.01¢
GPT-4o 2024-08-06 Finetuning Batch Output
< 0.01¢
GPT-4o Mini 2024-07-18 Finetuning Input
< 0.01¢
GPT-4o Mini 2024-07-18 Finetuning Output
< 0.01¢
GPT-4o Mini 2024-07-18 Finetuning Batch Input
< 0.01¢
GPT-4o Mini 2024-07-18 Finetuning Batch Output
< 0.01¢
GPT-4o Mini Training Input
< 0.01¢
GPT-4o Mini Training Batch Input
NPM logoGitHub logo