xgrammar

Efficient, Flexible and Portable Structured Generation

xgrammar has been downloaded 62,622,365 times in total on PyPI, including 6,448,102 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
62.62M
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 / 48 series
Selected total38.92M
62.6MAll-time
6.4MLast 30 days
242.2kLast 24 h
2.46/sPer second

Version distribution

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

  • 01

    0.1.33

    3.4M downloads
    17.8%
  • 02

    0.1.32

    2.6M downloads
    13.6%
  • 03

    0.1.29

    2.4M downloads
    12.3%
  • 04

    0.2.1

    2.4M downloads
    12.2%
  • 05

    0.2.0

    1.9M downloads
    10.0%
  • 06

    0.1.27

    1.7M downloads
    8.9%
  • 07

    0.1.25

    1.5M downloads
    7.7%
  • 08

    0.1.23

    674.7k downloads
    3.5%
  • 09

    Other

    2.7M downloads
    14.0%

Guess the next day

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

TRUTH242.2k255.3kSATSUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHU