Fast, Flexible and Portable Structured Generation
xgrammar is a project by mlc-ai, ranked #734 of 2,097 overall and #49 of 209 in Other projects. It was downloaded 6,106,406 times in the last 30 days, 30.0% of all downloads in its category. The repository last had a commit on 4 December 2026.
What makes up the score
Each part is a percentile against all other projects: 100 means it leads on that signal. How the score works.
Questions about xgrammar
How is xgrammar ranked?
xgrammar is #734 of 2,097 open-source AI models and projects, with an Adoption Score of 56.3 out of 100. In Other projects it is #49 of 209.
How many downloads does xgrammar have?
xgrammar was downloaded 6,106,406 times in the last 30 days, counted on PyPI.
Who makes xgrammar?
xgrammar is published by mlc-ai on GitHub.
What licence does xgrammar use?
Its GitHub page lists the Apache-2.0 licence.
Is xgrammar still maintained?
The last commit to its repository was on 4 December 2026, and it had 4 releases in the last 90 days.
Show your rank
Add this live badge to your README or website. It updates every day.
[](https://worldairankings.com/p/mlc-ai-xgrammar/)
<a href="https://worldairankings.com/p/mlc-ai-xgrammar/"><img src="https://api.worldairankings.com/badge/mlc-ai-xgrammar.svg" alt="mlc-ai/xgrammar rank"></a>
Alternatives to xgrammar
Other entries in Other projects ranked closest to xgrammar by Adoption Score.
| i | |||||
|---|---|---|---|---|---|
| 688 | Megatron-LM NVIDIA Project | 57.6 | ▼ 4 | – | |
| 691 | self-llm datawhalechina Project | 57.6 | ▼ 4 | – | |
| 698 | llmfit AlexsJones Project | 57.2 | ▼ 3 | – | |
| 713 | h4cker The-Art-of-Hacking Project | 56.9 | ▲ 4 | – | |
| 717 | toon toon-format Project | 56.8 | ▼ 19 | – | |
| 724 | watermarks-remover guillaumemeyer Project | 56.6 | ▲ 11 | – | |
| 736 | gpt_academic binary-husky Project | 56.2 | ▼ 11 | – | |
| 760 | flash-linear-attention fla-org Project | 55.6 | ▼ 19 | – | |
| 776 | ai-goofish-monitor Usagi-org Project | 55.2 | ▲ 12 | – | |
| 780 | langwatch langwatch Project | 55.1 | ▼ 16 | – |