mistral-community · text

Mistral-7B-v0.2

mistral-community/Mistral-7B-v0.2

Mistral-7B-v0.2 at Q4_K_M is exactly 4,368,450,688 bytes (4.07 GiB / 4.37 GB) — an effective 4.826 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.2B
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
Q2_K2.53 GiB2,719,251,7123.004bartowski
Q2_K2.53 GiB2,719,251,7123.004lmstudio-community
Q3_K_S2.95 GiB3,164,577,8563.496lmstudio-community
Q3_K_S2.95 GiB3,164,577,8563.496bartowski
IQ3_S2.96 GiB3,182,403,6483.516bartowski
IQ3_S2.96 GiB3,182,403,6483.516lmstudio-community
IQ3_M3.06 GiB3,284,901,9523.629lmstudio-community
IQ3_M3.06 GiB3,284,901,9523.629bartowski
Q3_K_M3.28 GiB3,518,996,5443.888bartowski
Q3_K_M3.28 GiB3,518,996,5443.888lmstudio-community
Q3_K_L3.56 GiB3,822,035,0084.222lmstudio-community
Q3_K_L3.56 GiB3,822,035,0084.222bartowski
IQ4_XS3.67 GiB3,944,399,7444.357bartowski
IQ4_XS3.67 GiB3,944,399,7444.357lmstudio-community
Q4_03.83 GiB4,108,928,1284.539lmstudio-community
Q4_03.83 GiB4,108,928,1284.539bartowski
Q4_K_S3.86 GiB4,140,385,4084.574lmstudio-community
Q4_K_S3.86 GiB4,140,385,4084.574bartowski
IQ4_NL3.87 GiB4,155,065,4724.590lmstudio-community
IQ4_NL3.87 GiB4,155,065,4724.590bartowski
Q4_K_M4.07 GiB4,368,450,6884.826bartowski
Q4_K_M4.07 GiB4,368,450,6884.826lmstudio-community
Q5_K_S4.65 GiB4,997,728,3845.521bartowski
Q5_04.65 GiB4,997,728,3845.521bartowski
Q5_K_S4.65 GiB4,997,728,3845.521lmstudio-community
Q5_04.65 GiB4,997,728,3845.521lmstudio-community
Q5_K_M4.78 GiB5,131,421,8245.669bartowski
Q5_K_M4.78 GiB5,131,421,8245.669lmstudio-community
Q6_K5.53 GiB5,942,078,6566.564lmstudio-community
Q6_K5.53 GiB5,942,078,6566.564bartowski
Q8_07.17 GiB7,695,875,1368.502bartowski
Q8_07.17 GiB7,695,875,1368.502lmstudio-community

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.79 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,000
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Mistral-7B-v0.2 need?
Q4_K_M is exactly 4,368,450,688 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.2'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.2 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.
Mistral-7B-v0.2 — VRAM requirements, exact quant sizes — ossmodeldb