The shimmytok project provides a pure Rust GGUF tokenizer compatible with llama.cpp and ready for WebAssembly.
LMQL
LMQL provides a programming language for interactions with large language models.

About LMQL
LMQL is a programming language for interacting with large language models. It allows prompts to be written inside Python functions, using types, templates and where-clause constraints to control generated text, with results available as variables.
It supports nested queries for reuse of prompt components and Python control flow such as loops for building prompts. Code can be moved between backends including llama.cpp, OpenAI and Transformers with a single line change.
Key features
- Constrained variables with where clauses to limit output
- Typed variables for structured output, such as integers
- Nested queries for reusable prompt components
- Switch LLM backends with a single line change
- Python loops and control flow for prompt construction
- String interpolation to build multi-part prompts
- Works with llama.cpp, OpenAI, and Transformers backends
- Enforces output limits with types and where-clause constraints
- Query programs run as Python functions with accessible variables
LMQL at a glance
- Website
- lmql.ai
- Category
- Development › Programming Languages
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Platforms
- Web
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
LMQL alternatives
Tools and sites you could use instead, ranked by how closely they match.
Search and compare programming languages in Codigo, a directory that also publishes language news and examples.
Polyglot provides multilingual text processing tools for natural language processing.
FoLiA is an XML format for linguistic annotation of written language resources such as corpora.
pgmpy provides Python tools for causal inference and probabilistic reasoning.
Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library.
Popular in Programming Languages
Well-known listings from the same topic.
LMQL FAQ
Which backends can LMQL use?
How does LMQL work with Python?
What do nested queries do?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.









