UNPKG

openai-gpt-token-counter

Version:

Count the number of OpenAI tokens in a string. Supports all OpenAI Text models including GPT-5, GPT-4, GPT-3.5-turbo, and specialized models

5 files
../
4.18 kB
1.04 MB
786 B
1.94 kB
506 kB