Magistral Small 2507

23.6B parameters · 40k context · Apache 2.0 · released 2025-07-18

reasoningchatagentic

In short

Magistral Small 2507 is an open model from Mistral AI with 23.6B parameters. At Q4_K_M, Magistral Small 2507 needs about 15 GB of memory at 8k context and 19 GB at 32k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs Magistral Small 2507 fully in memory at 32k context is the AMD Radeon RX 7900 XTX, 1.555 € at eBay, at about 24 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

What to run it on in Germany

Fully in memory at 32k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
NVIDIA Tesla P40Q5_K_Mfits10 tok/s369 €26.3
Intel Arc Pro B60Q5_K_Mfits10 tok/s1.074 €9.6
Mac mini M4 32GBQ4_K_Mfits4 tok/s1.400 €2.9
AMD Radeon RX 7900 XTXQ5_K_Mfits24 tok/s1.555 €15.4
NVIDIA GeForce RTX 3090Q5_K_Mfits26 tok/s1.850 €14.2
AMD Radeon AI PRO R9700Q8_0fits12 tok/s1.867 €6.2
NVIDIA GeForce RTX 3090 TiQ5_K_Mfits28 tok/s2.500 €11.3
Mac mini M4 Pro 48GBQ8_0fits6 tok/s2.699 €2.1
Mac mini M4 Pro 64GBQ8_0fits6 tok/s2.799 €2.1
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits5 tok/s3.700 €1.2
NVIDIA GeForce RTX 4090Q5_K_Mfits28 tok/s3.955 €7.1
Mac Studio M4 Max 64GBQ8_0fits12 tok/s4.183 €2.8
Mac Studio M4 Max 128GBQ8_0fits12 tok/s5.800 €2.0
Mac Studio M3 Ultra 96GBQ8_0fits18 tok/s5.999 €2.9
NVIDIA GeForce RTX 5090Q8_0fits37 tok/s6.028 €6.1
NVIDIA DGX Spark 128GBQ8_0fits6 tok/s8.313 €0.7
ASUS Ascent GX10 128GBQ8_0fits6 tok/s8.623 €0.6
Mac Studio M3 Ultra 256GBQ8_0fits18 tok/s15.555 €1.1
Mac Studio M3 Ultra 512GBQ8_0fits18 tok/s18.995 €0.9
NVIDIA RTX PRO 6000 BlackwellQ8_0fits37 tok/s19.076 €1.9
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits5 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits5 tok/s––
NVIDIA GeForce RTX 3060 12GBQ4_K_Moffload5 tok/s309 €15.5
Intel Arc B580Q4_K_Moffload5 tok/s360 €13.1
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload5 tok/s500 €9.2
AMD Radeon RX 9060 XT 16GBQ4_K_Moffload6 tok/s550 €10.7
Intel Arc A770 16GBQ4_K_Moffload7 tok/s646 €11.3
NVIDIA GeForce RTX 4060 Ti 16GBQ4_K_Moffload6 tok/s650 €9.4
NVIDIA GeForce RTX 5070Q4_K_Moffload5 tok/s699 €7.7
NVIDIA GeForce RTX 4070 SuperQ4_K_Moffload5 tok/s707 €7.4
NVIDIA GeForce RTX 5060 Ti 16GBQ4_K_Moffload8 tok/s739 €10.1
AMD Radeon RX 9070 XTQ4_K_Moffload8 tok/s778 €10.2
AMD Radeon RX 7600 XTQ4_K_Moffload6 tok/s813 €6.9
AMD Radeon RX 7900 XTQ4_K_Moffload21 tok/s855 €24.8
AMD Radeon RX 7800 XTQ4_K_Moffload8 tok/s1.002 €7.9
NVIDIA GeForce RTX 4080 SuperQ4_K_Moffload9 tok/s1.100 €8.2
NVIDIA GeForce RTX 5070 TiQ4_K_Moffload10 tok/s1.149 €8.4
NVIDIA GeForce RTX 4070 Ti SuperQ4_K_Moffload9 tok/s1.247 €7.1
NVIDIA GeForce RTX 5080Q4_K_Moffload10 tok/s1.500 €6.5

1 other card or machine we price cannot hold it at this context.

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k
Q4_K_Mgguf13.3 GB15.3 GB19.2 GB
Q5_K_Mgguf15.6 GB17.6 GB21.5 GB
Q8_0gguf23.3 GB25.3 GB29.2 GB

Run it

Copy a command for the runtime you use.

  • Q4_K_M
    • Ollamaollama run hf.co/mistralai/Magistral-Small-2507-GGUF:Q4_K_M
    • LM Studiolms get mistralai/Magistral-Small-2507-GGUF@q4_k_m
    • llama.cppllama-server -hf mistralai/Magistral-Small-2507-GGUF:Q4_K_M
  • Q5_K_M
    • Ollamaollama run hf.co/mistralai/Magistral-Small-2507-GGUF:Q5_K_M
    • LM Studiolms get mistralai/Magistral-Small-2507-GGUF@q5_k_m
    • llama.cppllama-server -hf mistralai/Magistral-Small-2507-GGUF:Q5_K_M
  • Q8_0
    • Ollamaollama run hf.co/mistralai/Magistral-Small-2507-GGUF:Q8_0
    • LM Studiolms get mistralai/Magistral-Small-2507-GGUF@q8_0
    • llama.cppllama-server -hf mistralai/Magistral-Small-2507-GGUF:Q8_0

Notes

128k context window, but performance may degrade past 40k, so a 40k max model length is recommended. Needs mistral_common >= 1.8.2 and the latest vLLM.

Questions

How much VRAM does Magistral Small 2507 need?
At Q4_K_M, Magistral Small 2507 needs about 15 GB of memory at 8k context and 19 GB at 32k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running Magistral Small 2507 locally?
The cheapest hardware in Germany that runs Magistral Small 2507 fully in memory at 32k context is the AMD Radeon RX 7900 XTX, 1.555 € at eBay, at about 24 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 37 tok/s.
Can I run Magistral Small 2507 on a 16 GB GPU?
Only partly: at 32k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 6 tok/s on the AMD Radeon RX 9060 XT 16GB (estimated).
Can I run Magistral Small 2507 on a 24 GB GPU?
Yes: at Q5_K_M it fits fully in 24 GB at 32k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 28 tok/s (estimated).
How do I run Magistral Small 2507 locally?
With Ollama: ollama run hf.co/mistralai/Magistral-Small-2507-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
What licence is Magistral Small 2507 released under?
Apache 2.0, which allows commercial use.