xgrammar

Efficient, Flexible and Portable Structured Generation

xgrammar has been downloaded 82,702,836 times in total on PyPI, including 7,358,386 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
82.70M
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 / 47 series
Selected total43.14M
82.7MAll-time
7.4MLast 30 days
196.3kLast 24 h
1.99/sPer second

Version distribution

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

  • 01

    0.2.3

    6.9M downloads
    32.2%
  • 02

    0.2.1

    3.6M downloads
    17.0%
  • 03

    0.2.2

    1.7M downloads
    8.0%
  • 04

    0.2.0

    1.3M downloads
    6.1%
  • 05

    0.1.33

    1.2M downloads
    5.8%
  • 06

    0.1.32

    1.2M downloads
    5.8%
  • 07

    0.2.4

    1.1M downloads
    5.0%
  • 08

    0.1.29

    802.7k downloads
    3.7%
  • 09

    Other

    3.5M downloads
    16.4%

Guess the next day

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

TRUTH196.3k204.1kSATSUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHU
    xgrammar · 82.7M downloads on PyPI