Skip to content

Fast, flexible LLM inference.

A single binary for local inference, OpenAI-compatible serving, Anthropic-compatible Messages serving, and agentic workloads.

Auto-detection

mistralrs run -m <model> works without flags. The binary infers the architecture and chat template from the Hugging Face repository, and selects the accelerator from the detected hardware. Quickstart

Quantization

For a GGUF repository, --quant selects a matching artifact. For other Hugging Face repositories, it loads a prebuilt UQFF when available and otherwise applies in-situ quantization. Quantization guide

Tuning and diagnostics

mistralrs tune recommends quantization and device mapping from the model config and detected hardware, without loading the model. mistralrs doctor checks hardware, build features, and Hugging Face connectivity. CLI reference

Agents

Local agent runtime with a server-side tool loop, file inputs, web search, code execution, shell, OpenAI-compatible Skills, MCP, generated media, and sessions. Agents & tools

Multi-GPU

Scale a model across GPUs and nodes: NCCL tensor parallelism, layer/P2P device mapping, multi-node NCCL, and the ring backend. Distributed inference

Web UI

Browser chat with reasoning blocks, tool, code, and shell call visualization, and inline search results. Web UI