Qwen · text

Qwen2.5-7B-Instruct-1M

Qwen/Qwen2.5-7B-Instruct-1M

Qwen2.5-7B-Instruct-1M at Q4_K_M is exactly 4,683,073,888 bytes (4.36 GiB / 4.68 GB) — an effective 4.919 bits per weight, not the nominal 4. Its KV cache at 32K is 1.75 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
7.6B
Architecture
qwen2
28 layers
Context
1,010,000
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M2.59 GiB2,780,342,8802.921bartowski
Q2_K2.81 GiB3,015,940,4483.168featherless-ai-quants
Q2_K2.81 GiB3,015,940,7043.168bartowski
IQ3_XS3.12 GiB3,346,256,4803.515bartowski
Q3_K_S3.25 GiB3,492,368,7363.669featherless-ai-quants
Q3_K_S3.25 GiB3,492,368,9923.669bartowski
Q2_K_L3.30 GiB3,548,164,7043.727bartowski
IQ3_M3.33 GiB3,574,012,5123.754bartowski
Q3_K_M3.55 GiB3,808,391,5204.001featherless-ai-quants
Q3_K_M3.55 GiB3,808,391,7764.001bartowski
Q3_K_L3.81 GiB4,088,459,6164.295lmstudio-community
Q3_K_L3.81 GiB4,088,459,6164.295featherless-ai-quants
Q3_K_L3.81 GiB4,088,459,8724.295bartowski
IQ4_XS3.93 GiB4,218,473,0564.431bartowski
IQ4_XS3.96 GiB4,250,298,7204.465featherless-ai-quants
IQ4_NL4.13 GiB4,437,813,8564.662bartowski
Q4_04.14 GiB4,444,121,6964.668bartowski
Q4_K_S4.15 GiB4,457,769,3124.683featherless-ai-quants
Q4_K_S4.15 GiB4,457,769,5684.683bartowski
Q4_K_M4.36 GiB4,683,073,8884.919featherless-ai-quants
Q4_K_M4.36 GiB4,683,073,8884.919lmstudio-community
Q4_K_M4.36 GiB4,683,074,1444.919bartowski
Q4_14.54 GiB4,873,284,1925.119bartowski
Q4_K_L4.74 GiB5,087,564,3845.344bartowski
Q5_K_S4.95 GiB5,315,176,8005.583featherless-ai-quants
Q5_K_S4.95 GiB5,315,177,0565.583bartowski
Q5_K_M5.07 GiB5,444,831,5845.720featherless-ai-quants
Q5_K_M5.07 GiB5,444,831,8405.720bartowski
Q5_K_L5.38 GiB5,781,197,4086.073bartowski
Q6_K5.82 GiB6,254,199,1366.570featherless-ai-quants
Q6_K5.82 GiB6,254,199,1366.570lmstudio-community
Q6_K5.82 GiB6,254,199,3926.570bartowski
Q6_K_L6.07 GiB6,518,182,4966.847bartowski
Q8_07.54 GiB8,098,525,5368.507featherless-ai-quants
Q8_07.54 GiB8,098,525,5368.507lmstudio-community
Q8_07.54 GiB8,098,525,7928.507bartowski
F1614.19 GiB15,237,853,79216.007bartowski
F3228.38 GiB30,468,419,93632.006bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.22 GiB0.22 GiB28 / 0 / 0
8,1920.44 GiB0.44 GiB28 / 0 / 0
16,3840.88 GiB0.88 GiB28 / 0 / 0
32,7681.75 GiB1.75 GiB28 / 0 / 0
65,5363.50 GiB3.50 GiB28 / 0 / 0
131,0727.00 GiB7.00 GiB28 / 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.99 GiB. The real file is 4.36 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
28
Attention heads
28
KV heads
4
Head dim
128
Hidden size
3584
Vocab
152,064
Sliding window
32768
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

This model declares a sliding window but sets use_sliding_window: false, so the window is not applied. Honouring the field without the flag understates KV for the whole family.

Questions people ask

How much VRAM does Qwen2.5-7B-Instruct-1M need?
Q4_K_M is exactly 4,683,073,888 bytes (4.36 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Qwen2.5-7B-Instruct-1M's KV cache?
1.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 Qwen2.5-7B-Instruct-1M 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.