alt.freeweights.mistral / Magistral-Small-2507-GGUF
From: mistralai <huggingface.co/mistralai>Newsgroups: alt.freeweights.mistralSubject:

Magistral-Small-2507-GGUF

Date: 2026-11-15Commit: 129d7a0Signed: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 103 GB in all. Published by mistralai under Apache-2.0.

mistral103GBMagistral-Small-2507-GGUFggufpermissive
FactsParamsnot statedSize103 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get mistralai/Magistral-Small-2507-GGUF
# manifest sha256 7b00c49cad9f… · 103 GB · 6 files
$ fw verify ./Magistral-Small-2507-GGUF mistralai/Magistral-Small-2507-GGUF
From sourceHosted (signed)mistralai/Magistral-Small-2507-GGUFLast check: 2026-11-15 05:20 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Magistral-Small-2507.

Works with

Convert with

Overview

Size
103 GB
Weights
14.3 GB (smallest of 4 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
Apache-2.0 (permissive)
Files
6, each with a sha256
Publisher
mistralai
Added
2026-11-15
Section
alt.freeweights.mistral
Lineage

Original release from the publisher.

Base model: mistralai/Magistral-Small-2507

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:20 UTCpassed

Model card

From the publisher at commit 129d7a0. Shown as plain text with links; images open at the publisher.

Note. At Mistral, we don't yet have too much experience with providing GGUF-quantized checkpoints to the community, but want to help improving the ecosystem going forward. If you encounter any problems with the provided checkpoints here, please open a discussion or pull request

Magistral Small 1.1 (GGUF)#

Building upon Mistral Small 3.1 (2503), with added reasoning capabilities, undergoing SFT from Magistral Medium traces and RL on top, it's a small, efficient reasoning model with 24B parameters.

Magistral Small can be deployed locally, fitting within a single RTX 4090 or a 32GB RAM MacBook once quantized.

This is the GGUF version of the Magistral-Small-2507 model. We released the BF16 weights as well as the following quantized format:

  • Q8_0
  • Q5_K_M
  • Q4_K_M

Our format does not have a chat template and instead we recommend to use mistral-common.

Updates compared with Magistral Small 1.0#

Magistral Small 1.1 should give you about the same performance as Magistral Small 1.0 as seen in the benchmark results.

The update involves the following features:

  • Better tone and model behaviour. You should experiment better LaTeX and Markdown formatting, and shorter answers on easy general prompts.
  • The model is less likely to enter infinite generation loops.
  • [THINK] and [/THINK] special tokens encapsulate the reasoning content in a thinking chunk. This makes it easier to parse the reasoning trace and prevents confusion when the '[THINK]' token is given as a string in the prompt.
  • The reasoning prompt is now given in the system prompt.

Key Features#

  • Reasoning: Capable of long chains of reasoning traces before providing an answer.
  • Multilingual: Supports dozens of languages, including English, French, German, Greek, Hindi, Indonesian, Italian, Japanese, Korean, Malay, Nepali, Polish, Portuguese, Romanian, Russian, Serbian, Spanish, Turkish, Ukrainian, Vietnamese, Arabic, Bengali, Chinese, and Farsi.
  • Apache 2.0 License: Open license allowing usage and modification for both commercial and non-commercial purposes.
  • Context Window: A 128k context window, but performance might degrade past 40k. Hence we recommend setting the maximum model length to 40k.

Usage#

We recommend to use Magistral with llama.cpp along with mistral-common >= 1.8.3 server. See here for the documentation of mistral-common server.

Install#
  1. Install llama.cpp following their guidelines.
  2. Install mistral-common with its dependencies.
pip install mistral-common[server]
  1. Download the weights from huggingface.
pip install -U "huggingface_hub[cli]"

huggingface-cli download \
"mistralai/Magistral-Small-2507-GGUF" \
--include "Magistral-Small-2507-Q4_K_M.gguf" \
--local-dir "mistralai/Magistral-Small-2507-GGUF/"
Launch the servers#
  1. Launch the llama.cpp server
llama-server -m mistralai/Magistral-Small-2507-GGUF/Magistral-Small-2507-Q4_K_M.gguf -c 0
  1. Launch the mistral-common server and pass the url of the llama.cpp server.

This is the server that will handle tokenization and detokenization and call the llama.cpp server for generations.

mistral_common serve mistralai/Magistral-Small-2507 \
--host localhost --port 6000 \
--engine-url http://localhost:8080 --engine-backend llama_cpp \
--timeout 300
Use the model#
  1. let's define the function to call the servers:

generate: call mistral-common that will tokenizer, call the llama.cpp server to generate new tokens and detokenize the output to an AssistantMessage with think chunk and tool calls parsed.

from mistral_common.protocol.instruct.messages import AssistantMessage
from mistral_common.protocol.instruct.request import ChatCompletionRequest
from mistral_common.experimental.app.models import OpenAIChatCompletionRequest
from fastapi.encoders import jsonable_encoder
import requests

mistral_common_url = "http://127.0.0.1:6000"

def generate(
    request: dict | ChatCompletionRequest | OpenAIChatCompletionRequest, url: str
) -> AssistantMessage:
    response = requests.post(
        f"{url}/v1/chat/completions", json=jsonable_encoder(request)
    )
    if response.status_code != 200:
        raise ValueError(f"Error: {response.status_code} - {response.text}")
    return AssistantMessage(**response.json())
  1. Tokenize the input, call the model and detokenize
from typing import Any
from huggingface_hub import hf_hub_download


TEMP = 0.7
TOP_P = 0.95
MAX_TOK = 40_960

def load_system_prompt(repo_id: str, filename: str) -> dict[str, Any]:
    file_path = hf_hub_download(repo_id=repo_id, filename=filename)
    with open(file_path, "r") as file:
        system_prompt = file.read()

    index_begin_think = system_prompt.find("[THINK]")
    index_end_think = system_prompt.find("[/THINK]")

    return {
        "role": "system",
        "content": [
            {"type": "text", "text": system_prompt[:index_begin_think]},
            {
                "type": "thinking",
                "thinking": system_prompt[
                    index_begin_think + len("[THINK]") : index_end_think
                ],
                "closed": True,
            },
            {
                "type": "text",
                "text": system_prompt[index_end_think + len("[/THINK]") :],
            },
        ],
    }

SYSTEM_PROMPT = load_system_prompt("mistralai/Magistral-Small-2507", "SYSTEM_PROMPT.txt")

query = "Write 4 sentences, each with at least 8 words. Now make absolutely sure that every sentence has exactly one word less than the previous sentence."
# or try out other queries
# query = "Exactly how many days ago did the French Revolution start? Today is June 4th, 2025."
# query = "Think about 5 random numbers. Verify if you can combine them with addition, multiplication, subtraction or division to 133"
# query = "If it takes 30 minutes to dry 12 T-shirts in the sun, how long does it take to dry 33 T-shirts?"
messages = [SYSTEM_PROMPT, {"role": "user", "content": [{"type": "text", "text": query}]}]

request = {"messages": messages, "temperature": TEMP, "top_p": TOP_P, "max_tokens": MAX_TOK}

generated_message = generate(request, mistral_common_url)
print(generated_message)

Files

6 files · 103 GBWeights 14.3 GB (smallest of 4 GGUF variants). Sizes and sha256 from the signed manifest.
Hide all 6 files with their sha256
FileSizesha256
.gitattributes1.86 KBcc3362dcee96f6edebe11663c8be0b8bc83421576a624d9065844207ae67a022
Magistral-Small-2507-BF16.gguf47.2 GBdf62af95072e1db16a9aed4d125df543a72676b23fed8acbe1e701985980ff5f
Magistral-Small-2507-Q4_K_M.gguf14.3 GB23a7a20e664389931dbff1c9d3b34ec59e6a38255cc2c91135a67a18454c8e48
Magistral-Small-2507-Q5_K_M.gguf16.8 GB87a2a57af0cd985f1e92699d1de1bfa26d7f91ac60a62928aea2479becd064e9
Magistral-Small-2507-Q8_0.gguf25.1 GB78bfc64c72de6540cbcf7597dc2dac5d37e79764a24aa1172157e7d76b008da3
README.md7.26 KB3abce9831106e26c5a3f737c23ce18fc569153c0e61e6724f7038cf4e3f99d78
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
129d7a005e pinned now2026-11-15 05:20 UTC6 files · 103 GB

Use it

$ fw get mistralai/Magistral-Small-2507-GGUF
# manifest sha256 7b00c49cad9f… · 103 GB · 6 files
$ fw verify ./Magistral-Small-2507-GGUF mistralai/Magistral-Small-2507-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mistralai/Magistral-Small-2507-GGUF.json --dir ./Magistral-Small-2507-GGUF $ python3 fw.py verify ./Magistral-Small-2507-GGUF ./mistralai__Magistral-Small-2507-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mistralai/Magistral-Small-2507-GGUF --revision 129d7a005ec2180c7b6a56b8f175032d48ff78d9 --local-dir ./Magistral-Small-2507-GGUF
llama.cppDownload one GGUF variant (Magistral-Small-2507-Q4_K_M, 14.3 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mistralai/Magistral-Small-2507-GGUF --include "Magistral-Small-2507-Q4_K_M*" --local-dir ./Magistral-Small-2507-GGUF $ llama-server -m ./Magistral-Small-2507-GGUF/Magistral-Small-2507-Q4_K_M.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Magistral-Small-2507-GGUF/Magistral-Small-2507-Q4_K_M.gguf\n' > Modelfile $ ollama create magistral-small-2507-gguf -f Modelfile

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
3abce9831106e26c5a3f737c23ce18fc569153c0e61e6724f7038cf4e3f99d78
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: mistralai <huggingface.co/mistralai>Newsgroups: alt.freeweights.mistralSubject: Magistral-Small-2507-GGUFDate: 2026-11-15Commit: 129d7a0Signed: 2DC28CC7B26A283B ✓
Upstream
mistralai/Magistral-Small-2507-GGUF
Pinned commit
129d7a005ec2180c7b6a56b8f175032d48ff78d9
Manifest
Magistral-Small-2507-GGUF.json · .minisig
Manifest sha256
7b00c49cad9f7f4c20cce0b8480c4af9cedc184b8500c093fb49207362ab8957
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:20 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mistralai/Magistral-Small-2507-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/mistralai/Magistral-Small-2507-GGUF.json.minisig $ minisign -Vm Magistral-Small-2507-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

mistralai/Magistral-Small-2507 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mistralai/Magistral-Small-2507-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Magistral-Small-2507-GGUF.json. Provenance. Takedown history: none.
From: bartowski <huggingface.co/bartowski>Subject: alamios_Mistral-Small-3.1-DRAFT-0.5B-GGUF
From: microsoft <huggingface.co/microsoft>Subject: chatbench-mistral-7b
From: NousResearch <huggingface.co/NousResearch>Subject: DeepHermes-3-Mistral-24B-Preview
From: mistralai <huggingface.co/mistralai>Subject: Devstral-Small-2-24B-Instruct-2512
From: mlx-community <huggingface.co/mlx-community>Subject: Devstral-Small-2-24B-Instruct-2512-4bit
From: mlx-community <huggingface.co/mlx-community>Subject: Devstral-Small-2-24B-Instruct-2512-6bit