Mistral Small 3.1 24B (Q8_0) (Q8_0) — Exact VRAM, KV Cache & Tensor X-Ray
8-bit Mistral Small 3.1 24B (~23.3 GiB): built for 32 GB RTX 5090, 48 GB dual-GPU or 64 GB unified rigs.
⚡ Simulate on Your GPU in Browser (WASM)
Benchmark & Sign Ed25519 in Local Cockpit 0.4.0
View File on HuggingFace
Min VRAM (8k · FP16 KV)25.33 GiB32k w/ Q8_0 KV: 26.93 GiB
Binary .GGUF Weights23.33 GiB8.50 effective bits/weight
Parameters (Active / Total)23.57 / 23.57 B363 parsed tensors
KV Cache Growth160.0 MiB/1kQ8_0 KV: 85.0 MiB / 1k tok
1. HuggingFace Binary Provenance
| Repository | unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF |
|---|---|
| Inspected File | Mistral-Small-3.1-24B-Instruct-2503-Q8_0.gguf (23.33 GiB) |
| HF Commit SHA | d63ca9416f5d |
| Harvested UTC | 2026-12-01 15:05:08 UTC |
| Parsed Header | 7 884 340 bytes (SHA-256 1ede17f04bc42b9d6bb7…) |
2. Transformer & GQA Architecture
| GGUF Architecture | llama (Dense) |
|---|---|
| Transformer Layers | 40 layers (~563.2 MiB / layer) |
| Dimensions (d_model / FFN) | 5120 / 32768 |
| Attention Heads (Q / KV) | 32 Q / 8 KV (GQA 4.0:1, dim 128) |
| Native Context & Vocab | 131 072 tokens · vocab 131 072 |
3. Exact GGML Quantization Mix Inside This Binary
Rather than quantizing every tensor identically, Q8_0 keeps sensitive embedding, output and attention tensors at higher precision:
| GGML Type | Tensor Count | Volume | Weight Share | Distribution |
|---|---|---|---|---|
Q8_0 | 282 | 23.33 GiB | 100.0% | |
F32 | 81 | 0.00 GiB | 0.0% |
4. KV-Cache Context Cliff from 2k to 128k Tokens (FP16 vs Q8_0 vs Q4_0)
Enabling Flash Attention with a Q8_0 KV cache cuts context memory nearly in half without altering model weights:
| Context Length | KV Only (FP16) | KV Only (Q8_0) | KV Only (Q4_0) | Total VRAM (FP16) | Total VRAM (Q8_0) |
|---|---|---|---|---|---|
| 2k (2 048) | 0.31 GiB | 0.17 GiB | 0.09 GiB | 24.39 GiB | 24.25 GiB |
| 4k (4 096) | 0.63 GiB | 0.33 GiB | 0.18 GiB | 24.71 GiB | 24.41 GiB |
| 8k (8 192) | 1.25 GiB | 0.66 GiB | 0.35 GiB | 25.33 GiB | 24.74 GiB |
| 16k (16 384) | 2.50 GiB | 1.33 GiB | 0.70 GiB | 26.58 GiB | 25.41 GiB |
| 32k (32 768) | 5.00 GiB | 2.66 GiB | 1.41 GiB | 29.08 GiB | 26.74 GiB |
| 64k (65 536) | 10.00 GiB | 5.31 GiB | 2.81 GiB | 34.08 GiB | 29.39 GiB |
| 128k (131 072) | 20.00 GiB | 10.63 GiB | 5.63 GiB | 44.08 GiB | 34.71 GiB |
5. Layer-by-Layer GPU Offload Matrix Across Hardware Tiers
Deterministic memory placement including OS display VRAM reserve and compute buffers:
| Hardware Tier | Context & KV | Layers in VRAM | VRAM Used | RAM Spillover | Memory Verdict |
|---|---|---|---|---|---|
| 8 GB GPU + 16 GB RAM | 8k · KV FP16 | 9 / 40 | 6.83 GiB | 18.02 GiB | Out of Memory |
| 8 GB GPU + 16 GB RAM | 32k · KV FP16 | 8 / 40 | 7.26 GiB | 21.60 GiB | Out of Memory |
| 8 GB GPU + 16 GB RAM | 32k · KV Q8_0 | 8 / 40 | 6.79 GiB | 19.72 GiB | Out of Memory |
| 12 GB GPU + 32 GB RAM | 8k · KV FP16 | 16 / 40 | 10.90 GiB | 13.95 GiB | RAM Spillover |
| 12 GB GPU + 32 GB RAM | 32k · KV FP16 | 13 / 40 | 10.63 GiB | 18.22 GiB | RAM Spillover |
| 12 GB GPU + 32 GB RAM | 32k · KV Q8_0 | 15 / 40 | 11.10 GiB | 15.41 GiB | RAM Spillover |
| 16 GB GPU + 32 GB RAM | 8k · KV FP16 | 23 / 40 | 14.96 GiB | 9.88 GiB | RAM Spillover |
| 16 GB GPU + 32 GB RAM | 32k · KV FP16 | 19 / 40 | 14.68 GiB | 14.17 GiB | RAM Spillover |
| 16 GB GPU + 32 GB RAM | 32k · KV Q8_0 | 21 / 40 | 14.80 GiB | 11.71 GiB | RAM Spillover |
| 24 GB GPU + 64 GB RAM | 8k · KV FP16 | 36 / 40 | 22.52 GiB | 2.32 GiB | RAM Spillover |
| 24 GB GPU + 64 GB RAM | 32k · KV FP16 | 31 / 40 | 22.78 GiB | 6.07 GiB | RAM Spillover |
| 24 GB GPU + 64 GB RAM | 32k · KV Q8_0 | 34 / 40 | 22.81 GiB | 3.70 GiB | RAM Spillover |
| 32 GB GPU + 64 GB RAM | 8k · KV FP16 | 40 / 40 | 24.84 GiB | — | 100% VRAM |
| 32 GB GPU + 64 GB RAM | 32k · KV FP16 | 40 / 40 | 28.86 GiB | — | 100% VRAM |
| 32 GB GPU + 64 GB RAM | 32k · KV Q8_0 | 40 / 40 | 26.51 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 8k · KV FP16 | 40 / 40 | 24.84 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 32k · KV FP16 | 40 / 40 | 28.86 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 32k · KV Q8_0 | 40 / 40 | 26.51 GiB | — | 100% VRAM |
| 64 GB Unified Memory | 8k · KV FP16 | 40 / 40 | 24.84 GiB | — | Unified Memory |
| 64 GB Unified Memory | 32k · KV FP16 | 40 / 40 | 28.86 GiB | — | Unified Memory |
| 64 GB Unified Memory | 32k · KV Q8_0 | 40 / 40 | 26.51 GiB | — | Unified Memory |
6. Ready-to-Run Local CLI Commands
With Ollama:
ollama run mistral-small3.1:24b-instruct-2503-q8_0
With
llama-server (Flash Attention + Q8_0 KV Cache sized for 16 GB VRAM):llama-server -m Mistral-Small-3.1-24B-Instruct-2503-Q8_0.gguf -ngl 21 -c 32768 -fa --cache-type-k q8_0 --cache-type-v q8_0
7. Ed25519 Certified Real Hardware Benchmarks
No certified Ed25519 passport recorded for this exact quantization yet (zero synthetic tok/s are ever invented). Run this model in Local Cockpit 0.4.0 to publish the first signed /b/lc-… passport!