dqbd/tiktokenizer

Online playground for OpenAPI tokenizers

48
/ 100
Emerging

This tool helps AI application developers quickly determine the exact token count for text prompts intended for OpenAI's large language models. You input any text, and it shows you how many tokens that text consumes according to different OpenAI models. This helps ensure your prompts fit within API limits and manage costs effectively.

1,526 stars. No commits in the last 6 months.

Use this if you are building applications with OpenAI models and need to precisely calculate prompt token counts to stay within budget and API constraints.

Not ideal if you're not working with OpenAI's tokenization or only need a rough estimate of text length.

AI-application-development prompt-engineering API-cost-management tokenization
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

1,526

Forks

165

Language

TypeScript

License

MIT

Last pushed

Apr 24, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/dqbd/tiktokenizer"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.