xgrammar

Efficient, Flexible and Portable Structured Generation

xgrammar has been downloaded 67,166,117 times in total on PyPI, including 6,277,332 in the last 30 days. The latest version is 0.2.1, released May 17, 2026. It is distributed under the Apache 2.0 license.

Version0.2.1
Downloads
67.17M
LicenseApache 2.0
AuthorMLC Team
UpdatedMay 17, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal0.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included2 / 49 series
Selected total38.14M
67.2MAll-time
6.3MLast 30 days
142.8kLast 24 h
2.37/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    0.2.1

    2.9M downloads
    15.2%
  • 02

    0.1.33

    2.9M downloads
    15.0%
  • 03

    0.2.0

    2.1M downloads
    11.2%
  • 04

    0.1.32

    2.1M downloads
    10.8%
  • 05

    0.2.2

    1.5M downloads
    8.0%
  • 06

    0.1.29

    1.5M downloads
    7.7%
  • 07

    0.1.27

    1.4M downloads
    7.2%
  • 08

    0.1.25

    976.7k downloads
    5.1%
  • 09

    Other

    3.8M downloads
    19.9%

Guess the next day

Thirteen recent days of xgrammar downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH142.8k211.0kSUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRI