xgrammar

Efficient, Flexible and Portable Structured Generation

xgrammar has been downloaded 78,085,733 times in total on PyPI, including 8,378,181 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
78.09M
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 / 44 series
Selected total42.78M
78.1MAll-time
8.4MLast 30 days
281.1kLast 24 h
3.31/sPer second

Version distribution

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

  • 01

    0.2.3

    4.7M downloads
    22.2%
  • 02

    0.2.1

    4.6M downloads
    21.5%
  • 03

    0.2.2

    1.7M downloads
    7.9%
  • 04

    0.2.0

    1.6M downloads
    7.6%
  • 05

    0.1.32

    1.5M downloads
    7.2%
  • 06

    0.1.33

    1.1M downloads
    5.4%
  • 07

    0.1.29

    952.9k downloads
    4.5%
  • 08

    0.1.27

    885.5k downloads
    4.2%
  • 09

    Other

    4.2M downloads
    19.6%

Guess the next day

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

TRUTH281.1k335.9kSATSUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHU