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
[email protected] is safe to use (health: 52/100)
No known vulnerabilities in the latest version.
Get this data programmatically — free, no authentication required:
curl https://depscope.dev/api/check/npm/openai-gpt-token-counterFirst published: 2023-01-05T23:38:09.320Z
Last updated: 2025-10-05T22:20:54.108Z
Data from DepScope — Package Intelligence for AI Agents