tiktoken has 216.1M monthly downloads and 19K GitHub stars. Version 0.13.0 supports Python 3.9+, first published in 2022.
It is stably maintained under a permissive license, last released in May 2026.
It is built on top of regex and requests. It is used by 3,646 tracked packages, including litellm, sglang and langchain-openai.
Package Insights
((week_daily_avg - month_daily_avg) / month_daily_avg) * 100Weekly Downloads
GitHub Stars
Downloads by OS
Python Versions
Top Countries
Used By
- litellm
- sglang
- langchain-openai
- llama-index-core
- crewai-tools
- tom-swe
- databricks-agents
- mistral-common
- tavily-python
- inspect-ai
- vllm
- dify-plugin
- openai-whisper
- llama-index-legacy
- databricks-ai-bridge
- open-webui
- ragas
- headroom-ai
- aider-chat
- llamafactory
- unclecode-litellm
- semantic-router
- ag2
- funasr
- tokencost
- qwen-agent
- pytorch-tokenizers
- inspect-evals
- renderers
- torchtune
- aiperf
- promptflow-tracing
- lightrag-hku
- open-interpreter
- data-designer-engine
- llm-guard
- mlx-whisper
- tinker-cookbook
- autogen
- vllm-cpu
- llmlingua
- guardrails-ai
- fhlmi
- gpt-oss
- gpt-researcher
- fast-agent-mcp
- tokentrim
- cognee
- forecasting-tools
- llama-models