Skip to content

Tutorials

Linear step-by-step lessons.

GoalTutorial
Install the binary and chat in a terminalInstall and run your first model
Serve an OpenAI-compatible HTTP APIServe a model as an API
Call models from PythonUse the Python SDK
Embed mistral.rs in a Rust applicationUse the Rust SDK
Enable tool calling, web search, and code executionBuild an agent
Fit a larger model on a smaller GPUQuantize a model

Later tutorials assume earlier ones are complete.