https://api.tokios.com — no inbound ports, no VPN.
Run it locally with Ollama
Each family has its own Ollama library entry. Pull the one that matches your task:Ollama’s default context window is small (2048 tokens) — far below any of these models’ native context. Raise
num_ctx in your Modelfile or client request to use more of it.Variants & tags
Every value below is from the model card or the Ollama library. Tags and download sizes change as new quantizations ship — confirm against the linked library page before you standardize on one.
Sources: ollama.com/library/mistral-small3.2, ollama.com/library/mistral-large, ollama.com/library/devstral-small-2, ollama.com/library/devstral, ollama.com/library/magistral, ollama.com/library/ministral-3, ollama.com/library/mistral, and the corresponding Hugging Face model cards (Mistral-Small-3.2-24B-Instruct-2506, Devstral-Small-2-24B-Instruct-2512, Magistral-Small-2509, Ministral-3-3B-Instruct-2512).
Quantization & formats
Ollama’s default tags areGGUF Q4_K_M, with q4, q8, and fp16 variants published alongside for most of these libraries. Which format you can run depends on your hardware — see Quantization formats and the hardware they need for the full matrix, and what quantization is for how to read the Q4_K_M-style names.
Hardware fit
Comfort at roughlyQ4 for a modest context length. Treat every entry as an estimate — the ground truth is the actual GGUF size plus the KV cache for your context. See What size model fits your GPU? for the sizing math.
Run it — beginner to advanced
- Ollama (easiest)
- LM Studio (GUI)
- vLLM (advanced)
- SGLang (advanced)
http://127.0.0.1:11434. Raise num_ctx to use more context; swap the tag for devstral-small-2:24b, magistral:24b, or ministral-3:3b depending on the job.Capabilities
- Native tool-calling: Mistral’s whole current lineup — Small 3.2, Devstral Small 2, Magistral, Ministral 3 — supports function calling with its own call format. Ollama applies the template for you; on vLLM/SGLang set
--tool-call-parser mistral(add--enable-auto-tool-choiceon vLLM) or tool calls won’t parse. - Reasoning: Magistral Small (2509) wraps its reasoning trace in
[THINK]…[/THINK]tokens and needs--reasoning-parser mistralon vLLM/SGLang to separate it from the final answer. Mistral’s own guidance notes quality can degrade past 40K tokens even though the model accepts up to 128K. - Agentic coding: Devstral Small 2 is purpose-built for coding agents — repository exploration, multi-file edits, and tool use — and is validated against agent harnesses like OpenHands and Mistral’s own
mistral-vibeCLI. - Edge deployment: Ministral 3 targets low-VRAM and embedded use; the
3Btier can run in roughly 8 GB of VRAM at FP8 per Mistral’s own model card, with8Band14Btiers available if you have more headroom. - Vision: Mistral Small 3.2, Devstral Small 2, and Magistral Small all ship with a vision encoder and accept image input alongside text.
Connect it with Tokios
Once your chosen Mistral model is running locally, pair the Tokios connector so you can reach it ashttps://api.tokios.com from Claude Code, Cline, or any other compatible client — instead of only from localhost:11434.
1
Pair the Tokios connector
Sign in at tokios.com/console, open the Setup tab, and click Start pairing to get a one-time claim code (Then approve the device on the Setup or Connectors tab.
TKS-XXXX-XXXX). Install and run the connector on the machine running Ollama:Windows
macOS
Linux
2
Point the connector at Ollama's /v1 API
Ollama exposes an OpenAI-compatible surface at
/v1. For a single-model setup, the console’s Setup wizard fills this in automatically as http://127.0.0.1:11434/v1. For multiple models — say, mistral-small3.2 for chat and devstral-small-2 for coding, both tunneled at once — set it explicitly in tokios-connector.json. See Connector config.3
Register a deployment
In the Models tab, register the model and choose a public deployment name, for example
mistral-tunnel. This name — not Ollama’s local model id — is what clients send in the model field. Tokios gives whatever you’re already running locally a stable, authenticated endpoint; it doesn’t pick, host, or fine-tune the model for you.4
Create an API key
In the Keys tab, click Create key. Copy the
sk-tok-… key now — it’s shown only once.Call it from anywhere
Caveats
- Pick the tier for the job, not just the family name. “Mistral” now spans four purpose-built lines — Small (chat), Devstral (coding), Magistral (reasoning), Ministral (edge) — with different context windows and tool-calling behavior. Match the tag to the task; see Which local model for which task?.
- Tool-call behavior depends on the runtime applying Mistral’s parser. Ollama handles this for you; on vLLM/SGLang, set
--tool-call-parser mistral(and--enable-auto-tool-choiceon vLLM) or tool calls won’t parse correctly. - Devstral Small 2’s context is runtime-dependent. The architecture supports up to 393,216 tokens, but Mistral recommends 256K as the practical operating ceiling — don’t assume the full config value is safe for quality.
- Magistral’s reasoning quality can drop off well before its stated context limit. Mistral’s own card recommends keeping reasoning-heavy prompts under roughly 40K tokens even though the model accepts up to 128K.
- Mistral Small 4 (2603) is the newest unified flagship but isn’t in the Ollama library as of this writing — confirm current availability before assuming an
ollama runshortcut exists for it.
Quickstart
Pair a connector and register your first model end to end.
What size model fits your GPU?
Match a Mistral tier to your available VRAM before you pull it.
Quantization & hardware
Which formats —
GGUF, FP8, quantized — run on your hardware.Which local model for which task?
Compare Mistral’s chat, coding, reasoning, and edge tiers against other local models.