NousResearch · text

Hermes-3-Llama-3.1-405B

NousResearch/Hermes-3-Llama-3.1-405B

Hermes-3-Llama-3.1-405B at Q4_K_M is exactly 243,069,612,352 bytes (226.38 GiB / 243.07 GB) — an effective 4.791 bits per weight, not the nominal 4. Its KV cache at 32K is 15.75 GiB.

From the file· summed from 7 file(s)From the file· KV per layer
Parameters
406B
Architecture
llama
126 layers
Context
131,072
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_M3 shards87.08 GiB93,498,011,4881.843bartowski
IQ1_M10 shards87.08 GiB93,498,012,2881.843bartowski
IQ2_XXS3 shards99.91 GiB107,272,367,9682.115bartowski
IQ2_XS3 shards111.15 GiB119,348,817,7602.353bartowski
IQ2_M4 shards127.28 GiB136,667,131,8722.694bartowski
Q2_K4 shards139.07 GiB149,322,788,8002.943bartowski
Q2_K11 shards139.07 GiB149,322,789,6962.943DevQuasar
Q2_K_L4 shards140.98 GiB151,374,884,8002.984bartowski
IQ3_XXS4 shards145.14 GiB155,846,635,4883.072bartowski
Q3_K_S5 shards163.20 GiB175,233,658,9763.454bartowski
Q3_K_S13 shards163.20 GiB175,233,659,9043.454DevQuasar
IQ3_M5 shards169.26 GiB181,744,529,4723.583bartowski
Q3_K_M5 shards181.96 GiB195,373,396,0643.851bartowski
Q3_K_L6 shards198.22 GiB212,838,477,9844.195bartowski
IQ4_XS6 shards201.70 GiB216,569,606,3684.269bartowski
Q4_K_S6 shards214.67 GiB230,500,593,8244.543bartowski
Q4_K_M7 shards226.38 GiB243,069,612,3524.791bartowski
Q4_K_M18 shards226.38 GiB243,069,613,5364.791DevQuasar
Q4_K_L7 shards227.83 GiB244,629,205,3444.822bartowski
Q5_K_M8 shards266.96 GiB286,646,858,1445.650bartowski
Q5_K_M22 shards266.96 GiB286,646,859,8405.650DevQuasar
Q6_K9 shards310.08 GiB332,947,681,8886.563bartowski
Q6_K25 shards310.08 GiB332,947,683,7126.563DevQuasar
Q8_011 shards401.62 GiB431,239,295,4888.500bartowski
Q8_032 shards401.62 GiB431,239,298,2088.500DevQuasar

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.97 GiB1.97 GiB126 / 0 / 0
8,1923.94 GiB3.94 GiB126 / 0 / 0
16,3847.88 GiB7.88 GiB126 / 0 / 0
32,76815.75 GiB15.75 GiB126 / 0 / 0
65,53631.50 GiB31.50 GiB126 / 0 / 0
131,07263.00 GiB63.00 GiB126 / 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 212.61 GiB. The real file is 226.38 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does Hermes-3-Llama-3.1-405B need?
Q4_K_M is exactly 243,069,612,352 bytes (226.38 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Hermes-3-Llama-3.1-405B's KV cache?
15.75 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 Hermes-3-Llama-3.1-405B 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.