All Articles
News

llama.cpp v1.0 Benchmark on an 8GB GPU: Old vs New Builds

Michael Leung 5 min read
Part 14 of 14 · Local AI on an 8GB GPU

Useful already? ☕ Buy me a coffee and keep these articles free and ad-free.

On this page
  1. How did I test llama.cpp?
  2. Is llama.cpp faster for small models?
  3. Is llama.cpp faster for big models on an 8 GB GPU?
  4. So was my "much faster" feeling right?
  5. How do you update llama.cpp on Windows?
  6. Read next
A vintage stopwatch on a dark desk next to a graphics card glowing green, with a blurred terminal on a monitor behind

Is llama.cpp v1.0 faster? I updated my llama.cpp to the newest build and benchmarked it against my two October builds on the same 8 GB RTX 4060 Ti. The answer depends on the model. For a model that fits in the graphics card, the new build reads prompts about 23% faster. For a big model that doesn't fit, there was no real change.

In my llama.cpp v1.0 post yesterday I wrote that llama.cpp "feels much faster" than a few months ago, but I had no numbers. Now I have some.

How did I test llama.cpp?

I used llama-bench, the benchmark tool that comes with llama.cpp, on three Windows CUDA 12.4 builds from GitHub:

BuildReleasedVersion it reports
b1154010 October 20260.6.0-dev
b1164315 October 20260.6.0-dev
b1242615 November 20261.0.0-dev (newest, after v1.0.0 = b12359)

The PC is my usual one: Intel Core i9-14900KF, 64 GB DDR5 and an RTX 4060 Ti with 8 GB. Each build used the same model files and the same settings, with flash attention on. I tested two models:

  • MiniCPM-V 4.7 1B (Q4_K_M, 0.67 GB). It fits fully in the graphics card.
  • Underdog Saluki 27B (IQ2, 7.9 GB). It doesn't fit, so I put 42 of its layers on the GPU and left the rest on the CPU.

For each model I measured two things: how fast it reads a prompt (prompt processing) and how fast it writes an answer (token generation). I ran everything twice, in opposite build order, so a warm GPU couldn't favour one build.

Is llama.cpp faster for small models?

Yes, at reading prompts. The newest build read a 512-token prompt 23% faster than the 10 October build, and a 4,096-token prompt 24% faster. Writing the answer was only about 3% faster.

Bar chart for MiniCPM-V 4.7 1B on an RTX 4060 Ti: 512-token prompt 18,751 to 23,084 tokens/s (+23%), 4,096-token prompt 19,030 to 23,598 (+24%), writing 287 to 297 tokens/s (+3%)

The 4,096-token result was very steady. In both rounds the three builds scored about 19,000, 20,800 and 23,600 tokens per second, and the gain shows up step by step from build to build.

Faster prompt reading matters more than it sounds. Long chats, pasted documents, code files and image prompts all have to be read before the model can answer. That's where the waiting happens on a small model, because writing is already fast at nearly 300 tokens per second.

Is llama.cpp faster for big models on an 8 GB GPU?

No, not in my test. With Saluki 27B split between the GPU and CPU, all three builds wrote at 8.4 to 8.5 tokens per second and read prompts at 40 to 43 tokens per second.

Bar chart for Saluki 27B IQ2 with 42 GPU layers: prompt reading 40.1, 42.7 and 41.8 tokens/s, writing 8.4, 8.4 and 8.5 tokens/s across the three builds

In the first round the newest build looked about 7% faster. When I ran the builds again with the newest one first, the gap disappeared. So most of that first-round "gain" was the GPU warming up, not the new code. I would have quoted it if I'd only run the test once.

The reason is simple. When part of the model sits in system memory, the CPU and the data transfer between CPU and GPU set the speed, not the graphics card. Faster CUDA code doesn't help much there.

A small fast green race car on a bright track on the left and a heavy truck slowly crossing a narrow bridge on the right, at night

One more note: today's Saluki numbers are lower than in my October Saluki test, even on the same old build. My PC had other apps open today, including Krita, darktable and a browser. So compare the builds within this test, not with older posts.

So was my "much faster" feeling right?

Half right. For models that fit in 8 GB, prompt reading really did get about a quarter faster in five weeks. That's a big jump for free software you just unzip. But for big models that spill into system memory, the speed was the same. The other things that make local AI feel easier, like new model support and the new web UI, aren't speed at all.

I also only tested two dense models. The new MoE expert cache in v1.0 is meant for big mixture-of-experts models on small GPUs, and I don't have one of those set up on this PC yet. That would be a good next test.

How do you update llama.cpp on Windows?

It takes a few minutes, and you can keep your old build:

  1. Open the llama.cpp releases page on GitHub and pick the newest build (it starts with "b"). The v1.0.0 release page itself has no Windows files; its build is b12359.
  2. For an NVIDIA card, download two files: llama-bXXXXX-bin-win-cuda-12.4-x64.zip and cudart-llama-bin-win-cuda-12.4-x64.zip. There are also CUDA 13.5, Vulkan, CPU and other builds.
  3. Unzip both into a new folder, for example E:\llama-b12426. Don't overwrite your old folder.
  4. Run llama-bench.exe --list-devices to check it finds your GPU.
  5. Copy your old start script into the new folder and change the folder name in it.

Then run llama-bench with your own model before and after. It takes a minute or two for a small model, and it's the only way to know what an update does on your PC.

Method: llama-bench from each build, 16 November 2026; Windows CUDA 12.4 builds b11540, b11643 and b12426 from the ggml-org/llama.cpp GitHub releases; NVIDIA driver 610.88. MiniCPM-V 4.7 1B Q4_K_M: -ngl 99 -fa 1 -p 512 -n 128 -r 5, plus -p 4096 -n 0 -r 3. Saluki 27B IQ2: -ngl 42 -fa 1 -p 512 -n 128 -r 3. Each test ran in two rounds with the build order reversed; the MiniCPM charts show the average of both rounds and the Saluki chart shows round 2. All numbers are my own. The two illustrations were made locally with Qwen Image 2.1, the charts are my own, and AI helped me run the tests and edit the English.

Series: Local AI on an 8GB GPU

Running real AI models on an ordinary 8GB graphics card, and when the cloud is the better deal.

  1. … 9 earlier in the series
  2. AI Photo Search on an 8GB GPU: 7,600 Photos Tagged Locally
  3. Motion Graphics Without Claude: MiMo V2.6 Made This Short
  4. My PC Now Works for AI Agents: i9, 64GB RAM, 8GB GPU
  5. llama.cpp v1.0 Is Out: What It Means for Local AI on 8GB
  6. llama.cpp v1.0 Benchmark on an 8GB GPU: Old vs New Builds
Start the series from part 1 →