NousResearch · text
Hermes-4-405B
NousResearch/Hermes-4-405BHermes-4-405B at Q4_K_M is exactly 243,069,612,160 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 5 file(s)From the file· KV per layer
Parameters
406B
Architecture
llama
126 layers
Context
131,072
native (config.json)
License
llama3
Shipped quantizations
● exact bytes, summed from published files
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| UD-IQ1_S2 shards | 81.23 GiB | 87,216,287,456 | 1.719 | — | unsloth |
| IQ1_M7 shards | 87.08 GiB | 93,498,011,360 | 1.843 | — | DevQuasar |
| UD-IQ1_M2 shards | 88.23 GiB | 94,734,053,120 | 1.867 | — | unsloth |
| IQ2_XXS8 shards | 99.91 GiB | 107,272,368,032 | 2.115 | — | DevQuasar |
| IQ2_XS9 shards | 111.15 GiB | 119,348,817,920 | 2.353 | — | DevQuasar |
| IQ2_S9 shards | 117.02 GiB | 125,647,646,720 | 2.477 | — | DevQuasar |
| Q2_K11 shards | 139.07 GiB | 149,322,788,896 | 2.943 | — | DevQuasar |
| Q3_K_M15 shards | 181.96 GiB | 195,373,396,416 | 3.851 | — | DevQuasar |
| Q4_K_M5 shards | 226.38 GiB | 243,069,612,160 | 4.791 | — | unsloth |
| Q4_K_M18 shards | 226.38 GiB | 243,069,612,768 | 4.791 | — | DevQuasar |
| Q5_K_M22 shards | 266.96 GiB | 286,646,859,040 | 5.650 | — | DevQuasar |
| Q6_K25 shards | 310.08 GiB | 332,947,682,912 | 6.563 | — | DevQuasar |
| Q8_09 shards | 401.62 GiB | 431,239,295,328 | 8.500 | — | unsloth |
| Q8_032 shards | 401.62 GiB | 431,239,297,440 | 8.500 | — | DevQuasar |
| BF1617 shards | 755.98 GiB | 811,722,962,240 | 16.000 | — | unsloth |
| F1655 shards | 755.98 GiB | 811,722,966,208 | 16.000 | — | DevQuasar |
KV cache by context
computed per layer
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 1.97 GiB | 1.97 GiB | — | 126 / 0 / 0 |
| 8,192 | 3.94 GiB | 3.94 GiB | — | 126 / 0 / 0 |
| 16,384 | 7.88 GiB | 7.88 GiB | — | 126 / 0 / 0 |
| 32,768 | 15.75 GiB | 15.75 GiB | — | 126 / 0 / 0 |
| 65,536 | 31.50 GiB | 31.50 GiB | — | 126 / 0 / 0 |
| 131,072 | 63.00 GiB | 63.00 GiB | — | 126 / 0 / 0 |
Compare with
same modality, comparable size
Will it run on your card?
full quant x context sweep
Radeon RX 6500 XT 4GBGeForce RTX 3050 6GBGeForce RTX 5050 8GBGeForce RTX 3080 10GBGeForce RTX 2080 Ti 11GBGeForce RTX 5070 12GBGeForce RTX 5060 Ti 16GBApple M3 Pro 18GBGeForce RTX 3080 Ti 20GBGeForce RTX 5090 D V2 24GBGeForce RTX 5090 D 32GBApple M5 Max 36GBApple M5 Pro 48GBApple M5 Max 64GBApple M3 Ultra 96GBApple M5 Max 128GBApple M2 Ultra 192GBApple M3 Ultra 256GBApple M3 Ultra 512GB
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-4-405B need?
- Q4_K_M is exactly 243,069,612,160 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-4-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-4-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.