Coding Horizon

Your 8GB GPU Can Code Locally If You Pick Right

Every figure this video puts on screen, and where it comes from.

All model sizes are the published GGUF blob sizes taken from each repository’s own file listing, converted to gigabytes at 2^30 bytes. That is the unit local runners report memory in, and it is the unit an “8 GB card” is sold in, so the card and the weights are compared on the same scale throughout.

The two figures that are computed rather than quoted are the KV cache per token and the cache at a given context length. Both are arithmetic over values taken from Qwen2.5 Coder 7B Instruct’s own config.json, and the arithmetic is shown on screen so it can be checked.


Qwen2.5 Coder 7B Instruct (the pick)

The KV cache figure, derived

Bytes held per token, at 16 bit:

2 (a key and a value) x 28 layers x 4 kv heads x 128 head dim x 2 bytes = 57,344 bytes

which is 56 KB per token. So the cache is 0.44 GB at 8,192 tokens, 0.88 GB at 16,384 and 1.75 GB at 32,768. Those are the numbers the trough segments are drawn from, and the multiplication itself is on screen in the KV cache beat.

Kimi K2 Thinking

Qwen3 Coder 30B A3B Instruct

Mistral Small 24B Instruct 2501

Qwen3 8B

The DeepSeek R1 distills

Llama 3.1 8B Instruct

Gemma 3 and Gemma 3n


Not verified