Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

tokenizers

Fast NLP tokenizer library by Hugging Face for text processing.

Prompts, structured output and evals PyPI

Used in agent projects
32
0.3% of 12,697 public repos built with AI coding agents
Rank in prompts, structured output and evals
#3 of 4
by use in those projects
Downloads
43.7M
PyPI, last 7 days, tokenizers
GitHub stars
11.2K
last push Oct 9, 2026

How tokenizers is used

tokenizers is a dependency in 32 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #3 of 4 in prompts, structured output and evals. The most used alternative there is Ultracite. Projects that use it most often also use NumPy (100.0%), PyYAML (93.8%), Hugging Face Hub (90.6%).

Often used with tokenizers

NumPy100.0% of tokenizers projects · 26.1× more than average
PyYAML93.8% of tokenizers projects · 30.9× more than average
Hugging Face Hub90.6% of tokenizers projects · 195.0× more than average
Pydantic87.5% of tokenizers projects · 17.1× more than average
tqdm87.5% of tokenizers projects · 78.8× more than average
charset-normalizer84.4% of tokenizers projects · 67.8× more than average
packaging84.4% of tokenizers projects · 74.4× more than average
Requests84.4% of tokenizers projects · 15.9× more than average

By coding agent

Claude Code0.5% of projects set up for it
GitHub Copilot0.5% of projects set up for it
Cursor0.5% of projects set up for it

Share of public repos configured for each agent that list tokenizers as a dependency.

Install

Packagepip install tokenizers
Main stacksPython (28), Next.js (3), Other (1)
Example projectsLlaminar/llaminar, ManojINaik/manimAnimationAgent, nihilistau/CosySim, brandoz2255/Harvis
Tool Used in agent projectsDownloads / wk GitHub starsLicense
Ultracite npm
AI-ready code formatter that helps write and generate code faster.
69 (0.5%) 1.2M 3,317 MIT
tiktoken pypi
Fast BPE tokenizer for OpenAI models enabling accurate token counting and text splitting.
60 (0.5%) 46.1M 19.4K —
LangSmith pypi
Platform client for monitoring, evaluating and debugging LLM applications.
23 (0.2%) 19.3M 1,072 MIT
Is tokenizers right for your project? Ask AgentGid →