unsloth · text

mistral-7b-v0.3-bnb-4bit

unsloth/mistral-7b-v0.3-bnb-4bit

mistral-7b-v0.3-bnb-4bit at Q4_K_M is exactly 4,372,811,264 bytes (4.07 GiB / 4.37 GB) — an effective 4.685 bits per weight, not the nominal 4. Its KV cache at 32K is 4.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
7.5B
Architecture
llama
32 layers
Context
32,768
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q3_K_S2.95 GiB3,168,522,1123.395theprint
Q3_K_M3.28 GiB3,522,940,8003.775theprint
Q4_K_S3.86 GiB4,144,746,3684.441theprint
Q4_K_M4.07 GiB4,372,811,2644.685ebowwa
Q4_K_M4.07 GiB4,372,811,2644.685ebowwa
Q4_K_M4.07 GiB4,372,811,6484.685theprint
Q5_K_M4.78 GiB5,136,174,9765.503theprint
Q6_K5.54 GiB5,947,248,5126.372theprint
Q8_07.17 GiB7,702,564,7368.253theprint
F1613.50 GiB14,497,337,21615.533theprint
BF1613.50 GiB14,497,337,21615.533theprint

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.50 GiB0.50 GiB32 / 0 / 0
8,1921.00 GiB1.00 GiB32 / 0 / 0
16,3842.00 GiB2.00 GiB32 / 0 / 0
32,7684.00 GiB4.00 GiB32 / 0 / 0
65,5368.00 GiB8.00 GiB32 / 0 / 0
131,07216.00 GiB16.00 GiB32 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 3.91 GiB. The real file is 4.07 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
32
KV heads
8
Head dim
128
Hidden size
4096
Vocab
32,768
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does mistral-7b-v0.3-bnb-4bit need?
Q4_K_M is exactly 4,372,811,264 bytes (4.07 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is mistral-7b-v0.3-bnb-4bit's KV cache?
4.00 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of mistral-7b-v0.3-bnb-4bit should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.