Magistral Small 2507

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

reasoningchatagentic

In short

The cheapest hardware in the US that runs Magistral Small 2507 fully in memory at 64k context is the NVIDIA GeForce RTX 5090, $4,921 at eBay, at about 40 tok/s (estimated).

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

What to run it on in the US

Fully in memory at 64k 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
AMD Radeon AI PRO R9700Q5_K_Mfits13 tok/s$1,7007.5
Mac mini M4 Pro 48GBQ8_0fits5 tok/s$2,1492.3
Mac mini M4 Pro 64GBQ8_0fits5 tok/s$2,9001.7
Mac Studio M4 Max 64GBQ8_0fits10 tok/s$3,4002.9
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits4 tok/s$3,4491.1
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits4 tok/s$3,6501.1
Mac Studio M3 Ultra 96GBQ8_0fits15 tok/s$4,3993.4
NVIDIA GeForce RTX 5090Q5_K_Mfits40 tok/s$4,9218.2
Mac Studio M4 Max 128GBQ8_0fits10 tok/s$4,9992.0
ASUS Ascent GX10 128GBQ8_0fits5 tok/s$6,1000.8
NVIDIA DGX Spark 128GBQ8_0fits5 tok/s$7,3990.6
NVIDIA RTX PRO 6000 BlackwellQ8_0fits31 tok/s$7,9973.9
Mac Studio M3 Ultra 256GBQ8_0fits15 tok/s$8,4991.8
Mac Studio M3 Ultra 512GBQ8_0fits15 tok/s$23,0000.6
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits4 tok/s––
NVIDIA Tesla P40Q4_K_Moffload8 tok/s$34522.0
Intel Arc B580Q4_K_Moffload3 tok/s$3469.2
NVIDIA GeForce RTX 3060 12GBQ4_K_Moffload3 tok/s$3608.9
Intel Arc A770 16GBQ4_K_Moffload4 tok/s$40010.5
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload3 tok/s$4696.6
AMD Radeon RX 7600 XTQ4_K_Moffload4 tok/s$4807.5
AMD Radeon RX 9060 XT 16GBQ4_K_Moffload4 tok/s$5207.1
AMD Radeon RX 7800 XTQ4_K_Moffload4 tok/s$5507.8
NVIDIA GeForce RTX 5060 Ti 16GBQ4_K_Moffload4 tok/s$6186.8
Intel Arc Pro B60Q4_K_Moffload8 tok/s$65011.8
NVIDIA GeForce RTX 4070 SuperQ4_K_Moffload3 tok/s$6994.9
NVIDIA GeForce RTX 5070Q4_K_Moffload4 tok/s$7504.7
NVIDIA GeForce RTX 4060 Ti 16GBQ4_K_Moffload4 tok/s$7704.9
AMD Radeon RX 7900 XTQ4_K_Moffload7 tok/s$8008.4
AMD Radeon RX 9070 XTQ4_K_Moffload4 tok/s$8155.4
NVIDIA GeForce RTX 4070 Ti SuperQ4_K_Moffload5 tok/s$9844.7
NVIDIA GeForce RTX 5070 TiQ4_K_Moffload5 tok/s$9954.8
NVIDIA GeForce RTX 4080 SuperQ4_K_Moffload5 tok/s$1,1993.9
AMD Radeon RX 7900 XTXQ4_K_Moffload14 tok/s$1,5339.1
NVIDIA GeForce RTX 3090Q4_K_Moffload16 tok/s$1,60010.1
NVIDIA GeForce RTX 5080Q4_K_Moffload5 tok/s$1,6003.1
NVIDIA GeForce RTX 3090 TiQ4_K_Moffload17 tok/s$2,0608.3
NVIDIA GeForce RTX 4090Q4_K_Moffload17 tok/s$2,0738.2

2 other cards and machines 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

What is the best GPU for running Magistral Small 2507 locally?
The cheapest hardware in the US that runs Magistral Small 2507 fully in memory at 64k context is the NVIDIA GeForce RTX 5090, $4,921 at eBay, at about 40 tok/s (estimated).
Can I run Magistral Small 2507 on a 16 GB GPU?
Only partly: at 64k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 4 tok/s on the Intel Arc A770 16GB (estimated).
Can I run Magistral Small 2507 on a 24 GB GPU?
Only partly: at 64k context it does not fit in 24 GB, so part of it runs from system RAM and it slows to about 8 tok/s on the NVIDIA Tesla P40 (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.