XGrammar logo

XGrammar

Inference & Serving 5.9/10 Solid

Fast, Flexible and Portable Structured Generation

XGrammar scores 5.9/10 (Solid) in Inference & Serving.

Language C++ License Apache-2.0 Stars 1.8k★ Type library Self-host Yes Repo mlc-ai/xgrammar Homepage https://xgrammar.mlc.ai

Quality

Solid 5.9
Adoption 31
Activity 68
Maturity 91
Community 32
Capability 50
Show the math
Overall 5.9/10
value = 5.9/10
score = value
Adoption 3.8/10
value = 31.2/100
score = 1 + 9 * value / 100
Activity 7.1/10
value = 68/100
score = 1 + 9 * value / 100
Maturity 9.2/10
value = 90.6/100
score = 1 + 9 * value / 100
Community 3.9/10
value = 31.7/100
score = 1 + 9 * value / 100
Capability 5.5/10
value = 50/100
score = 1 + 9 * value / 100

Key metrics

1.8k★ GitHub stars
61/90d Recent commits
12 devs/90d Recent contributors
2y Project age
active Last commit

Gotchas

No gotchas documented yet. Contribute one if you know a constraint we missed.

Labels

  • Self-hosted

    Self-hosted

    You deploy and operate it yourself; there is no hosted option here.

constrained-decoding grammar structured-output fast serving