BioMistral · text

BioMistral-7B

BioMistral/BioMistral-7B

BioMistral-7B at Q4_K_M is exactly 4,368,439,424 bytes (4.07 GiB / 4.37 GB) — an effective 4.826 bits per weight, not the nominal 4.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K2.53 GiB2,719,242,3683.004MaziyarPanahi
Q2_K2.53 GiB2,719,242,4643.004BioMistral
Q3_K_L2.74 GiB2,943,250,4323.251BioMistral
Q3_K_S2.95 GiB3,164,567,6803.496MaziyarPanahi
Q3_K_S2.95 GiB3,164,567,7763.496BioMistral
Q3_K_M3.28 GiB3,518,986,3683.888MaziyarPanahi
Q3_K_M3.28 GiB3,518,986,4643.888BioMistral
Q3_K_L3.56 GiB3,822,024,8324.222MaziyarPanahi
Q4_03.83 GiB4,108,916,9604.539BioMistral
Q4_K_S3.86 GiB4,140,374,1444.574MaziyarPanahi
Q4_K_S3.86 GiB4,140,374,2404.574BioMistral
Q4_K_M4.07 GiB4,368,439,4244.826MaziyarPanahi
Q4_K_M4.07 GiB4,368,439,5204.826BioMistral
Q5_K_S4.65 GiB4,997,716,0965.521MaziyarPanahi
Q5_K_S4.65 GiB4,997,716,1925.521BioMistral
Q5_K_M4.78 GiB5,131,409,5365.669MaziyarPanahi
Q5_K_M4.78 GiB5,131,409,6325.669BioMistral
Q6_K5.53 GiB5,942,065,2806.564MaziyarPanahi
Q6_K5.53 GiB5,942,065,3766.564BioMistral
Q8_07.17 GiB7,695,857,7928.502MaziyarPanahi
Q8_07.17 GiB7,695,857,8888.502BioMistral

KV cache by context

unresolved

This model declares a 4,096-token sliding window, but we could not establish which layers use it. Its architecture publishes the layout as a per-layer array inside the model file rather than as a period in config.json, and we have not yet ingested that array.

A flat context × layers × heads figure would be substantially too high, so we are not showing one. This is tracked as a known gap rather than filled with a guess.

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
4096
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does BioMistral-7B need?
Q4_K_M is exactly 4,368,439,424 bytes (4.07 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
Which quantization of BioMistral-7B 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.