xgrammar

Efficient, Flexible and Portable Structured Generation

xgrammar has been downloaded 72,002,574 times in total on PyPI, including 6,940,465 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
72.00M
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 / 51 series
Selected total39.06M
72.0MAll-time
6.9MLast 30 days
304.8kLast 24 h
2.98/sPer second

Version distribution

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

  • 01

    0.2.1

    3.5M downloads
    17.9%
  • 02

    0.2.3

    2.6M downloads
    13.4%
  • 03

    0.2.0

    2.6M downloads
    13.1%
  • 04

    0.1.32

    1.8M downloads
    9.3%
  • 05

    0.2.2

    1.6M downloads
    8.2%
  • 06

    0.1.33

    1.4M downloads
    7.0%
  • 07

    0.1.29

    1.1M downloads
    5.7%
  • 08

    0.1.27

    1.0M downloads
    5.4%
  • 09

    Other

    3.9M 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.

TRUTH304.8k297.4kSATSUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHU