rs on its own hardware, so this guide has no speed figures. The steps come from the project's GitHub README and documentation at docs.mistralrs.dev, read on 2 December 2026.
mistral.rs is a free, open-source engine for running large language models on your own PC. It is written in Rust, released under the MIT licence, and despite the name it is not affiliated with Mistral AI: it runs models from many families, including Qwen, Gemma, Llama, Phi and DeepSeek. Where Ollama and LM Studio wrap an engine in a friendly app, mistral.rs is the engine itself, with a command-line tool, a built-in chat page and an API server in one program.
Its party trick is that it can load ordinary Hugging Face models and shrink them as they load, so you don't always have to hunt for a ready-made GGUF file. It also reads GGUF files, the format used by llama.cpp, Ollama and LM Studio.
What you need
An NVIDIA GPU from the RTX 30 series or newer, or just a CPU. The hardware support page says the minimum NVIDIA GPU is Ampere (compute capability 8.0), which covers cards such as the ASUS RTX 3060 12GB Dual Gaming OC V2, and lists RTX 40 and RTX 50 cards such as the NVIDIA GeForce RTX 5090 Founders Edition. Turing cards (RTX 20 and GTX 16 series) are not supported by current prebuilt binaries.
AMD and Intel graphics owners should look elsewhere for GPU acceleration. The hardware support table lists CUDA, Apple's Metal and CPU only. On a Radeon or Arc card, llama.cpp's Vulkan, ROCm or SYCL builds are a better fit; see our llama.cpp on Windows guide.
Enough VRAM for the model you pick. The docs give a rule of thumb: a 14B model needs about 28 GB for its weights at 16-bit precision, but about 7 GB at 4 bits. Our context length and VRAM explainer covers the extra memory the conversation itself needs.
Step 1: Install mistral.rs
The quickstart uses a one-line installer. On Windows, open PowerShell and run:
irm https://mistralrs.dev/install.ps1 | iex
On Linux or macOS, the equivalent is:
curl -fsSL https://mistralrs.dev/install.sh | sh
The installer recommends settings for your hardware and shows you the plan before it starts. Open a new terminal when it finishes so the mistralrs command is on your PATH.
One catch for Windows gamers with NVIDIA cards: the hardware support page says there is no prebuilt CUDA binary for Windows, so the installer builds mistral.rs from source, which needs the development tools listed in the platform prerequisites. Prebuilt CUDA binaries exist for Linux, and Windows has a prebuilt CPU-only binary. If you'd rather avoid a source build, running Linux gets you the prebuilt CUDA version. The docs don't cover WSL2 specifically.
If something goes wrong, mistralrs doctor runs system diagnostics and environment checks.
Step 2: Start a model and chat in your browser
The quickstart's first command downloads Qwen3-4B from Hugging Face and runs it at 4-bit:
mistralrs serve -m Qwen/Qwen3-4B --quant 4
When it's ready, open http://localhost:1234/ui. Keep the terminal open while you chat and press Ctrl+C to stop. The web UI has a chat panel, a settings drawer for temperature, top-p, top-k, maximum tokens and a system prompt, and it shows a model's thinking tokens when the model produces them.
If you'd rather stay in the terminal, mistralrs run -m Qwen/Qwen3-4B --quant 4 gives you an interactive chat instead of a server.
Step 3: Pick the right quantisation
The --quant flag sets how many bits each weight uses: 2, 3, 4, 5, 6 or 8. The quantisation guide's advice is to start with 8 if it fits and 4 if it doesn't. It labels 8-bit as near-lossless, 5 and 6 as good, 4 as acceptable and 3 or 2 as degraded.
What --quant actually does depends on what you point -m at:
You point -m at | What --quant 4 does |
|---|
A normal Hugging Face model | Looks for a prebuilt 4-bit UQFF file in the mistralrs-community repository, and if there isn't one, downloads the original weights and quantises them as they load |
A GGUF repository | Picks the matching GGUF file, trying Q4_K_M first, then Q4_K_S, Q4_K_L, Q4_1 and Q4_0 |
A local folder of safetensors weights | Quantises the weights as they load |
Quantising while loading is called ISQ (in-situ quantisation). The docs say it works layer by layer, so the full-size model never has to fit in memory at once, but every load takes longer than loading a ready-made file. If you're not sure which size fits your card, --quant auto picks the highest bit width that fits, and mistralrs tune shows you the options before you download anything. Our guide to fitting a model in VRAM with mistralrs tune walks through that.
Step 4: Run a GGUF file you already have
If you already have GGUF models from Ollama, LM Studio or llama.cpp, mistral.rs can load a local file with -f:
mistralrs serve -f /path/to/model.gguf
Check the GGUF compatibility page in the mistral.rs docs first. It lists which model families load, and says IQ quantisation types such as IQ4_XS aren't supported, so pick a Q or K file such as Q4_K_M instead. If you're unsure what those names mean, see our GGUF quantisation explainer.
Step 5: Connect other apps to the API
mistralrs serve exposes OpenAI-compatible endpoints under /v1, so most apps that let you set a custom OpenAI base URL can use it. Point them at http://localhost:1234/v1. You can list the loaded model and its context limit with:
curl http://localhost:1234/v1/models
The same server also speaks Anthropic's Messages API, and the docs include setup steps for Claude Code and Codex. If you already use those tools with Ollama, our guides to Claude Code with Ollama and the Codex CLI with Ollama show the same idea with a different server.
Keep it off your network unless you mean it
The mistralrs serve reference lists the default bind address as 0.0.0.0, which means the server listens on every network interface, not just your own PC. We couldn't find an API-key option in the serve reference either. On a home network behind a router that may be fine, but on shared or public Wi-Fi, run the server with --host 127.0.0.1 so only your own PC can reach it, and check your firewall settings.
Where to go next
mistral.rs can do a lot more than chat: the README lists vision, audio and image generation models, LoRA adapters, multi-GPU support, tool calling and an optional agent mode with web search and code execution. Start with one model and one command, then add features once that works. If you want to see how it stacks up against the engine inside most local AI apps, read mistral.rs vs llama.cpp, and for friendlier alternatives see our best local LLM server software.