xgrammar

Efficient, Flexible and Portable Structured Generation

xgrammar has been downloaded 97,321,969 times in total on PyPI, including 6,086,315 in the last 30 days. The latest version is 0.2.9, released Nov 9, 2026. It is distributed under the Apache 2.0 license.

Version0.2.9
Downloads
97.32M
LicenseApache 2.0
AuthorMLC Team
UpdatedNov 9, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal0.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included2 / 53 series
Selected total31.13M
97.3MAll-time
6.1MLast 30 days
171.1kLast 24 h
2.48/sPer second

Version distribution

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

  • 01

    0.2.8

    3.3M downloads
    21.0%
  • 02

    0.2.7

    2.7M downloads
    17.6%
  • 03

    0.2.1

    2.5M downloads
    15.8%
  • 04

    0.2.3

    2.4M downloads
    15.4%
  • 05

    0.1.27

    642.5k downloads
    4.1%
  • 06

    0.1.33

    613.1k downloads
    3.9%
  • 07

    0.1.32

    483.8k downloads
    3.1%
  • 08

    0.2.9

    421.0k downloads
    2.7%
  • 09

    Other

    2.5M downloads
    16.3%

Guess the next day

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

TRUTH171.1k193.3kSUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRI