TitleOS · text

Lightning-1.7B

TitleOS/Lightning-1.7B

Lightning-1.7B at Q4_K_M is exactly 1,107,408,960 bytes (1.03 GiB / 1.11 GB) — an effective 5.149 bits per weight, not the nominal 4. Its KV cache at 32K is 3.50 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
1.7B
Architecture
qwen3
28 layers
Context
40,960
native (config.json)
License
mpl-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M0.65 GiB695,181,3763.232bartowski
IQ3_XXS0.70 GiB754,360,3843.507bartowski
Q2_K0.72 GiB777,795,6483.616bartowski
IQ3_XS0.78 GiB834,222,1443.879bartowski
Q2_K_L0.79 GiB853,155,9043.967bartowski
Q3_K_S0.81 GiB867,252,2884.032bartowski
IQ3_M0.83 GiB895,662,1444.165bartowski
Q3_K_M0.88 GiB939,538,4964.369bartowski
Q3_K_L0.93 GiB1,003,501,6324.666bartowski
IQ4_XS0.94 GiB1,010,382,9124.698bartowski
IQ4_NL0.98 GiB1,054,423,1044.903bartowski
Q4_00.98 GiB1,056,782,4004.914bartowski
Q4_K_S0.99 GiB1,060,190,2724.929bartowski
Q4_K_M1.03 GiB1,107,408,9605.149bartowski
Q4_11.06 GiB1,142,503,4885.312bartowski
Q4_K_L1.10 GiB1,182,769,2165.499bartowski
Q5_K_S1.15 GiB1,230,583,8725.722bartowski
Q5_K_M1.17 GiB1,257,879,6165.849bartowski
Q5_K_L1.24 GiB1,333,239,8726.199bartowski
Q6_K1.32 GiB1,417,754,6886.592bartowski
Q6_K_L1.39 GiB1,493,114,9446.942bartowski
Q8_01.71 GiB1,834,426,4328.529bartowski
BF163.21 GiB3,447,349,02416.029bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.44 GiB0.44 GiB28 / 0 / 0
8,1920.88 GiB0.88 GiB28 / 0 / 0
16,3841.75 GiB1.75 GiB28 / 0 / 0
32,7683.50 GiB3.50 GiB28 / 0 / 0
65,5367.00 GiB7.00 GiB28 / 0 / 0
131,07214.00 GiB14.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 0.90 GiB. The real file is 1.03 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
28
Attention heads
16
KV heads
8
Head dim
128
Hidden size
2048
Vocab
151,936
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

Questions people ask

How much VRAM does Lightning-1.7B need?
Q4_K_M is exactly 1,107,408,960 bytes (1.03 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Lightning-1.7B's KV cache?
3.50 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 Lightning-1.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.