# mistral.rs

> Fast, flexible LLM inference in Rust

Source: https://talira.ai/catalog/mistral-rs-r8bcx8p2
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, API, Library
- Categories: [ai / inference / engines](https://talira.ai/categories/ai/inference/engines), [languages / rust](https://talira.ai/categories/languages/rust)
- Platforms: macos, linux, windows[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Eric Buehler](https://talira.ai/orgs/eric-buehler.md)

mistral.rs is an open source LLM inference engine written in Rust that runs Hugging Face models and GGUF files on CUDA, Metal or CPU. It detects a model's architecture, weight format and chat template automatically, handles text, vision, video, audio, speech and image generation and embeddings, and quantizes in place (ISQ) or loads GGUF, GPTQ, AWQ, HQQ, FP8 and its own UQFF. `mistralrs serve` exposes OpenAI-compatible and Anthropic-compatible APIs (so Claude Code or Codex can run on a local model), a built-in chat web UI and Prometheus metrics, with continuous batching, PagedAttention and multi-GPU inference; Python and Rust SDKs run models in-process. Despite the name, it isn't made by Mistral AI and runs many model families.

## Links

- Website: https://docs.mistralrs.dev/
- GitHub: https://github.com/EricLBuehler/mistral.rs
- Docs: https://docs.mistralrs.dev/

## Problems it solves

- run an open-weight LLM locally behind an OpenAI-compatible API
- point Claude Code or Codex at a model running on my own GPU
- run quantized models fast on an Apple Silicon Mac or an NVIDIA GPU from Rust or Python

## Features

- runs Hugging Face models and GGUF files on CUDA, Metal or CPU
- OpenAI- and Anthropic-compatible server APIs
- in-situ quantization plus GGUF, GPTQ, AWQ, HQQ and FP8
- text, vision, video, audio, speech and image generation
- continuous batching, PagedAttention and multi-GPU inference
- built-in web chat UI and agentic tool loop

## Trust

Overall: 0.70 out of 1.
Signals: maintenance 1.00, adoption 0.78, momentum 0.72, community 0.81, backing 0.30, extensibility 0.00.

- last commit 9 days ago
- 71 commits in the last 90 days
- latest release v0.9.5 41 days ago
- 7.9k GitHub stars
- 103 contributors
- backed by Eric Buehler

## Alternatives

- [llama.cpp](https://talira.ai/catalog/llama-cpp-g0rydd64.md): LLM inference in C/C++
- [vLLM](https://talira.ai/catalog/vllm-f1czevpj.md): A high-throughput and memory-efficient inference and serving engine for LLMs
- [MLC LLM](https://talira.ai/catalog/mlc-llm-92jjm3wq.md): Universal LLM deployment engine that compiles models to run natively on GPUs, phones and browsers
- [SGLang](https://talira.ai/catalog/sglang-wv3z63s3.md): Fast inference for LLMs and multimodal models
- [KoboldCpp](https://talira.ai/catalog/koboldcpp-a39h31en.md): Run GGUF AI models locally with a KoboldAI UI. One file, zero install.

## Sources

[^1]: https://github.com/EricLBuehler/mistral.rs/blob/master/LICENSE (checked 26 Nov 2026)
[^2]: https://github.com/EricLBuehler/mistral.rs/blob/master/README.md (checked 26 Nov 2026)
