MI

Magistral-Small-2507

MistralGGUF by unslothUpdated 2025-07-25
Download on Hugging Face
Parameters23.6B
Context40K
Layers40
Architecturellama
Smallest quant5.6 GB
Quick answer

Magistral-Small-2507 needs about 16.2 GB of memory at Q4_K_M (a 14.3 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 26 quants, from 5.6 GB (IQ1_S) to 47.2 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 5.4 GB.

Magistral‑Small‑2507: 23.6B‑parameter reasoning model

Magistral‑Small‑2507 is a 23.6B‑parameter model built on Mistral Small 3.1 with added reasoning capabilities. It supports a 128k context window, though performance degrades after 40k tokens. The model is licensed under Apache‑2.0 and can be run locally on a single RTX 4090 or a 32GB RAM MacBook when quantized.

Good at

  • Long‑chain reasoning
  • Multilingual support
  • Tool usage

Limits

  • Context performance drops after 40k tokens
  • No vision support
  • Requires quantization for local deployment

Best for

  • Chatbots needing reasoning
  • Code generation with tool calls
  • Multilingual content creation

Who it’s for. Developers and researchers who need a small, efficient reasoning model that can run locally. The model is suitable for applications requiring long context handling and tool integration.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S5.6 GB 7.4 GB
Tight Get file →
IQ1_M6.0 GB 7.9 GB
Tight Get file →
IQ2_XXS6.8 GB 8.6 GB
Too big Get file →
IQ2_M8.2 GB 10.1 GB
Too big Get file →
Q2_K8.9 GB 10.7 GB
Too big Get file →
Q2_K_L9.0 GB 10.9 GB
Too big Get file →
Q2_K_XL9.3 GB 11.1 GB
Too big Get file →
IQ3_XXS9.4 GB 11.3 GB
Too big Get file →
Q3_K_S10.4 GB 12.2 GB
Too big Get file →
Q3_K_M11.5 GB 13.3 GB
Too big Get file →
Q3_K_XL11.9 GB 13.7 GB
Too big Get file →
IQ4_XS12.8 GB 14.6 GB
Too big Get file →
IQ4_NL13.5 GB 15.3 GB
Too big Get file →
Q4_013.5 GB 15.3 GB
Too big Get file →
Q4_K_S13.5 GB 15.4 GB
Too big Get file →
Q4_K_M14.3 GB 16.2 GB
Too big Get file →
Q4_K_XL14.5 GB 16.3 GB
Too big Get file →
Q4_114.9 GB 16.7 GB
Too big Get file →
Q5_K_S16.3 GB 18.1 GB
Too big Get file →
Q5_K_M16.8 GB 18.6 GB
Too big Get file →
Q5_K_XL16.8 GB 18.6 GB
Too big Get file →
Q6_K19.3 GB 21.2 GB
Too big Get file →
Q6_K_XL20.8 GB 22.6 GB
Too big Get file →
Q8_025.1 GB 26.9 GB
Too big Get file →
Q8_K_XL29.0 GB 30.8 GB
Too big Get file →
BF1647.2 GB 49.0 GB
Too big Get file →

For 8 GB VRAM use IQ1_S (5.56 GB) or IQ1_M (6.02 GB). For 12 GB VRAM use Q4_K_S (13.55 GB) or Q4_K_M (14.33 GB). For 24 GB VRAM use Q6_K (19.35 GB) or Q6_K_XL (20.79 GB). Memory estimates are approximate.

What GPU do you need for Magistral-Small-2507?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: the best quant that fits is IQ1_M (6.0 GB file, about 7.9 GB in use).
  • 12 GB VRAM: the best quant that fits is IQ3_XXS (9.4 GB file, about 11.3 GB in use).
  • 16 GB VRAM: the best quant that fits is Q4_K_S (13.5 GB file, about 15.4 GB in use).
  • 24 GB VRAM: the best quant that fits is Q6_K_XL (20.8 GB file, about 22.6 GB in use).
  • 32 GB VRAM: the best quant that fits is Q8_K_XL (29.0 GB file, about 30.8 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_K_XL (29.0 GB file, about 30.8 GB in use).

Which Magistral-Small-2507 quant should you choose?

Q4_K_M is the usual starting point for Magistral-Small-2507: it balances file size and quality well. Here it is a 14.3 GB file.

The Q8_0 file is 25.1 GB, about 1.7 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is IQ1_S at 5.6 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters23.6B
Layers40
Trained context40,960 tokens
KV cache (fp16)160 KB per token

Source

Quantized byunsloth
FamilyMistral
Licenseapache-2.0
Downloads (HF)890
Last updated2025-07-25

Frequently asked questions about Magistral-Small-2507

How much VRAM does Magistral-Small-2507 need?

About 16.2 GB at Q4_K_M with an 8K context window. That is the 14.3 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Magistral-Small-2507 on an 8 GB GPU?

Yes, with IQ1_M: the 6.0 GB file needs about 7.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Magistral-Small-2507 GGUF?

It depends on the quant: IQ1_S is 5.6 GB, IQ1_M is 6.0 GB, IQ2_XXS is 6.8 GB, IQ2_M is 8.2 GB, Q2_K is 8.9 GB, Q2_K_L is 9.0 GB and 20 more.

What context length does Magistral-Small-2507 support?

The GGUF header lists a trained context length of 40,960 tokens (40K). The KV cache grows with the context you use: about 1.3 GB at 8K and 5.4 GB at 32K.

Where can I download Magistral-Small-2507 GGUF?

The files are on Hugging Face in the unsloth/Magistral-Small-2507-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Magistral-Small-2507 use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run Magistral‑Small‑2507 on an RTX 4090 with 8 GB VRAM?

Use a quantization such as IQ1_S or IQ1_M; the model will fit within 8 GB VRAM with the provided estimates.

Does the model support image inputs?

No, Magistral‑Small‑2507 does not have vision capabilities.

What is the maximum recommended context length?

Set the maximum model length to 40k tokens to avoid performance degradation.

Other GGUFs of Magistral-Small-2507

Similar models

Browse all →

More from unsloth

All by unsloth →

More Mistral models

All Mistral →

Other medium models

All medium models →