PC MAGIK LAB
▷
Menu
EP 21

16 GB VRAM for Qwen3.8 27B? At 64k context it used 20.6–23.3 GB

qwen/qwen3.8-27b

Same model (Qwen3.8 27B Q4_K_M), same 64k window, same task (Pixel_Art_Editor), three K/V cache types, 3 runs each, model reloaded before every run, RTX 3090 24 GB.

qwen/qwen3.8-27b

F16: 23828–23841 MiB
Q8_0: 22106–22113 MiB
Q4_0: 21078–21083 MiB
Ranges do not overlap

card memory

Explore all 9 runs ↓

Repeated ranges · card memory

F16 n=323828–23841 MiB
Q8_0 n=322106–22113 MiB
Q4_0 n=321078–21083 MiB
qwen/qwen3.8-27b bare live output
F16PUBLISHED OUTPUT
23841 MiBcard memory
8:42 min:stime
31,000output tokens
61.0%thinking
821lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

24 / 29 checks

qwen/qwen3.8-27b bare live output
Q8_0PUBLISHED OUTPUT
22107 MiBcard memory
29:29 min:stime
69,519output tokens
67.2%thinking
791lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

23 / 29 checks

qwen/qwen3.8-27b bare live output
Q4_0PUBLISHED OUTPUT
21083 MiBcard memory
23:00 min:stime
64,575output tokens
63.9%thinking
851lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

24 / 29 checks

Every run. Every result.

F16

· n=3

Run 1

23828 MiBcard memory

24 / 29 checks

19:15 min:stime
56,428output tokens
65.0%thinking
48.87tok/s
813lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-f16_r1

Run 2

23841 MiBcard memory

24 / 29 checks

8:42 min:stime
31,000output tokens
61.0%thinking
59.39tok/s
821lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-f16_r2

Run 3

23833 MiBcard memory
9:00 min:stime
32,811output tokens
99.7%thinking
60.78tok/s
0lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-f16_r3

Q8_0

· n=3

Run 1

22106 MiBcard memory

24 / 29 checks

9:44 min:stime
31,781output tokens
53.9%thinking
54.38tok/s
851lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-q8_0_r1

Run 2

22113 MiBcard memory

23 / 29 checks

31:39 min:stime
79,906output tokens
64.3%thinking
42.09tok/s
1,007lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-q8_0_r2

Run 3

22107 MiBcard memory

23 / 29 checks

29:29 min:stime
69,519output tokens
67.2%thinking
39.3tok/s
791lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-q8_0_r3

Q4_0

· n=3

Run 1

21083 MiBcard memory

24 / 29 checks

23:00 min:stime
64,575output tokens
63.9%thinking
46.78tok/s
851lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-q4_0_r1

Run 2

21078 MiBcard memory

24 / 29 checks

23:24 min:stime
66,849output tokens
55.5%thinking
47.61tok/s
919lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-q4_0_r2

Run 3

21080 MiBcard memory

24 / 29 checks

21:44 min:stime
59,161output tokens
64.8%thinking
45.37tok/s
797lines of code

Effort requested: unknown; received: unknown. Effort is not comparable across models.

kv-q4_0_r3

output = thinking + final code. Lines of code show the page size the model chose, not the cost of equivalent work.

How to reproduce

Settings recorded for these runs. Multiple values show differences between runs. Effort is requested, not necessarily received; it is not comparable across models. Hover over quantization, K/V cache or engine values for their sources.

qwen/qwen3.8-27b
Run settings by model
ModelQuantizationContext windowK/V cachemax_tokensEngineHarnessEffort requested
qwen/qwen3.8-27bQ4_K_M65,536K f16 / V f16
K q8_0 / V q8_0
K q4_0 / V q4_0
32,768[email protected]pi 0.85.1not recorded

Watch the experiment.

Watch episode ↗

REPRODUCE THE EXPERIMENT

One prompt.
All the evidence.

Compare runs within the same model. Inspect the shared prompt, settings and raw measurements in the repository.