mistral.rs
Fast, flexible LLM inference
1Install
curl -fsSL https://mistralrs.dev/install.sh | sh
Then open a new terminal.
Throughput under load
Qwen3.8-27B in FP8 on one NVIDIA GH200, serving 512-token responses to 1 through 128 concurrent requests.
Show the numbers
| Concurrent requests | mistral.rs | vLLM | SGLang |
|---|---|---|---|
| 1 | 96.98 | 86.00 | 89.58 |
| 8 | 721.22 | 603.49 | 650.42 |
| 16 | 1,287.46 | 1,118.76 | 1,204.62 |
| 32 | 2,092.50 | 1,921.11 | 2,091.55 |
| 64 | 3,587.32 | 3,055.66 | 3,367.12 |
| 96 | 4,314.00 | 3,761.59 | 4,072.22 |
| 128 | 4,914.05 | 4,300.76 | 4,673.67 |
mistral.rs v0.9.3, vLLM, and SGLang, August 2026, without speculative decoding. Medians of three runs per point. Full method and data
Works with Claude Code and Codex
mistral.rs serves the Anthropic Messages API and the OpenAI Responses API, so coding agents talk to it directly. Start a model, then point Claude Code or Codex at it.
$ mistralrs serve -m Qwen/Qwen3-Coder-Next --quant 4
Or build it into your app
Load a model inside your Python or Rust program, with no server in between.
Python
pip install mistralrs
Rust
cargo add mistralrs