alt.freeweights.mistral / Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.mistralSubject:

Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit

Date: 2026-11-15Commit: 94c7ea4Signed: 2DC28CC7B26A283B ✓

Text generation model with 23.6B parameters. Safetensors weights, 17.4 GB in all. Published by mlx-community under Apache-2.0.

23.6B params17.4GBDevstral-Small-2-24B-Instruct-2512-OptiQ-4bitsafetensorspermissive
FactsParams23.6BSize17.4 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit
# manifest sha256 36701fe8625e… · 17.4 GB · 15 files
$ fw verify ./Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit
From sourceHosted (signed)mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bitLast check: 2026-11-15 05:06 UTC

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

Quantized of Devstral-Small-2-24B-Instruct-2512.

Works with

Overview

Size
17.4 GB
Weights
17.4 GB (safetensors)
Parameters
23.6B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
15, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.mistral
Lineage

Original release from the publisher.

Base model: mistralai/Devstral-Small-2-24B-Instruct-2512

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:06 UTCpassed

Model card

From the publisher at commit 94c7ea4. Shown as plain text with links; images open at the publisher.

mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit#

Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. Try the Lab · All OptiQ quants · Docs

A 4-bit mixed-precision MLX quant produced by mlx-optiq, the sensitivity-aware quantization toolkit for Apple Silicon. Beats stock uniform 4-bit on the six-metric Capability Score, with a standout +9 points on long-context retrieval.

A 4-bit mixed-precision MLX quant of Devstral-Small-2-24B-Instruct-2512. Per-layer bit-widths come from a KL-divergence sensitivity pass on a six-domain calibration mix (prose · reasoning · code · agent · tool-call · constraint-bearing instructions). Sensitive layers go to 8-bit; robust ones stay at 4-bit. This is the first OptiQ quant of a Mistral-family model.

Quantization details#

PropertyValue
Predominant precision4-bit
Layers at 8-bit (sensitive)179
Layers at 4-bit (robust)102
Total quantized layers281
Achieved bits-per-weight5.01
Group size64
Calibration mixsix-domain mix (40 samples × 6 domains)
Reference for sensitivityuniform-4-bit (24B does not fit bf16 in typical RAM)

We follow the same naming convention llama.cpp uses for Q4_K_M and similar mixed-precision quants: the "4-bit" label is for the predominant precision, not the weighted average. The mixed allocation puts more bits where the sensitivity pass says they matter, which is what lets this build win the Capability Score below.

Usage#

Load it with mlx-lm and use it as usual:

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit")
response = generate(
    model, tokenizer,
    prompt="Write a Python function that returns the nth Fibonacci number.",
    max_tokens=200,
)

Devstral is a tool-calling, agentic coding model. For multi-step tool use, serve it with mlx-optiq (OpenAI + Anthropic-compatible server, mixed-precision KV-cache, sensitivity-aware LoRA):

pip install mlx-optiq
optiq serve --model mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit

optiq serve captures Mistral/Devstral tool calls correctly. They end on EOS with no closing marker, which stock servers drop after the first call, and it normalizes tool-call arguments before chat templating.

See the Mistral family guide on mlx-optiq.com for sampling defaults, agent recipes, and family-specific caveats.

Benchmarks#

Six-metric Capability Score (mean of MMLU + GSM8K + IFEval + BFCL + HumanEval + HashHop). Apples-to-apples comparison against stock uniform 4-bit:

MetricOptiQUniform 4-bitΔ
MMLU (5-shot, 1000 samples)80.8%79.4%+1.4
GSM8K (1000 samples, 3-shot CoT)87.2%88.1%-0.9
IFEval (full set, strict)68.6%68.0%+0.6
BFCL-V3 (tool calls)89.5%88.5%+1.0
HumanEval (164 problems, pass@1)83.5%82.9%+0.6
HashHop (long-context retrieval)62.0%53.0%+9.0
Capability Score (mean of 6)78.6076.65+1.95
On-disk size15.4 GB12.3 GB+3.1

Every metric gets one equal vote. Disk size is reported next to the score as an honest second axis instead of being folded into the score. OptiQ wins 5 of 6 metrics; the win concentrates on HashHop (long-context multi-hop retrieval), exactly where uniform 4-bit degrades most. See the eval-framework writeup for methodology.

License#

Apache-2.0, inherited from the base model.

Files

15 files · 17.4 GBWeights 17.4 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md4.38 KB9bf5e1e542b169159e2cd1e5fa34ddb56ba4c6ecfb6053ccc1dd0fbac87de53b
chat_template.jinja11.4 KBa0c0ed8a45c2c75c85fd756316a10419b90eb4f3dbe64d00f5c0b8ad4de5209a
config.json59.8 KB762085678e3636a0c0f75f7dc21070cacaefa7353b5ed3d62b7d429d9ebe0ce5
generation_config.json175 Bc5ee59a086c5504838db2a66cafdf04d10aac11cb021dd4e92a15946645c2dda
kv_config.json2.63 KB1cf1a379b42378f9c8595613f0fbc5d3ef15175b2e3bce4d60358b1e531ebee1
model-00001-of-00004.safetensors5.37 GB46a7390bf187bcb8e43dfa72e5bb01ca83b0929241a701a607c95a6b5b8bd57d
model-00002-of-00004.safetensors5.32 GB33568bd65c5d91c986329b26f67498a2d245437d720e7ba6b987911e98a39278
model-00003-of-00004.safetensors5.09 GB14b78ec45bb74103f41bd53c72f5188fbbca031ecf8b9783b28b084a22b9bce0
model-00004-of-00004.safetensors713 MB9b2d16aaabf27e4192896d1501a78133414ab8a78f47164a0e19e08a65abdac7
model.safetensors.index.json115 KBfc3d6f9daa79b5fd8f2baf696858f2a0df0adca279bbe7ef22eec670430457ab
optiq/optiq_vision.safetensors878 MB4fb2468dac47cac39a417e5c6c92986a83f7ef6f8c1e0368d360b405423f9cca
optiq_metadata.json29.0 KBd48ff1ee334815b5c11ef3992791f4ea204a63a00a7ddb70482bd6ae38a29467
tokenizer.json17.1 MB99cf274236c60277fcfad861a5a1007518687ad06ba8938760f50b55ffa0b1ef
tokenizer_config.json21.2 KB18eabce09b32ab85cd82f1f7c0d146fe9f52f887da47df12ebfff49a74f2c0fc
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
94c7ea4523 pinned now2026-11-15 05:06 UTC15 files · 17.4 GB

Use it

$ fw get mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit
# manifest sha256 36701fe8625e… · 17.4 GB · 15 files
$ fw verify ./Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit.json --dir ./Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit $ python3 fw.py verify ./Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit ./mlx-community__Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit --revision 94c7ea45233b0f671b66479a49709856e77bb2ef --local-dir ./Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit", revision="94c7ea45233b0f671b66479a49709856e77bb2ef") model = AutoModelForCausalLM.from_pretrained("mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit", revision="94c7ea45233b0f671b66479a49709856e77bb2ef", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit --revision 94c7ea45233b0f671b66479a49709856e77bb2ef

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
9bf5e1e542b169159e2cd1e5fa34ddb56ba4c6ecfb6053ccc1dd0fbac87de53b
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: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.mistralSubject: Devstral-Small-2-24B-Instruct-2512-OptiQ-4bitDate: 2026-11-15Commit: 94c7ea4Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit
Pinned commit
94c7ea45233b0f671b66479a49709856e77bb2ef
Manifest
Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit.json · .minisig
Manifest sha256
36701fe8625e217cb9ef016bc6245b22791d0c1badcb7551d3d6b66cd9ee8ca4
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:06 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit.json.minisig $ minisign -Vm Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit.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/Devstral-Small-2-24B-Instruct-2512 · 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 mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit.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