mistralM

Docs

What's newModelsAPI

Open-source tokenizers released in mistral-common

We open-sourced three versions of our tokenizers covering both our commercial and open-weight models through the mistral-common library.

This makes it easier to count tokens accurately locally, format chat and tool-calling prompts identically to our API, and run consistent preprocessing for self-hosted deployments. See the mistral-common repository and guide for usage details.