Local LLMs on NVIDIA GPUs: RTX benchmarks, CUDA or Vulkan
An NVIDIA GeForce graphics card (GPU) runs local AI models fast, on Windows and on Linux. llama.cpp, the program behind many local AI apps, Hearthscale among them, reaches a GeForce card in two ways: through CUDA, NVIDIA's own platform for computing on its graphics cards, and through Vulkan, which runs on the cards of every maker.
This guide shows how fast each GeForce card generates text, how a model with 20 billion parameters runs on 8 to 24 GB, whether CUDA or Vulkan is faster, and how to run your first model on an NVIDIA card. The sources of every number are at the end.
TL;DR
- Use CUDA. On the same device, llama.cpp with CUDA read prompts 11 to 56 percent faster than with Vulkan on every RTX card compared here. In writing, the two are close. See CUDA vs Vulkan.
- Memory decides which models fit, and its speed decides how fast they write. A card with 8 GB holds models of up to about 9 billion parameters at 4 bits, and one with 16 GB about 20 billion. See the models for each card.
- Almost any GeForce card is fast enough for a 7B or 8B model. An RTX 3060 writes about 76 tokens per second with such a model, and a GTX 1060 still writes 28.
- A mixture-of-experts model runs on a small card too. With part of gpt-oss-20b in system memory, a laptop with an RTX 4060 and 8 GB wrote 42 tokens per second. See a 20B model.
How fast is each GeForce card?
Text generation is how fast a model writes its reply. Prompt processing is how fast it reads what you send, such as a long document. Both are in tokens per second; a token is a word or a piece of a word.
The table shows llama.cpp with CUDA, all of a 7B model at 4 bits (Llama 2 7B, Q4_0, 3.56 GiB) on the graphics card, in tokens per second, rounded. Where llama.cpp's CUDA results have no such card, the row shows the result with Vulkan and says so.
| Graphics card | Memory | Generation | Prompt |
|---|---|---|---|
| RTX 5090 | 32 GB | 290 | 14,073 |
| RTX 4090 | 24 GB | 186 | 11,993 |
| RTX 5080 | 16 GB | 182 | 8,297 |
| RTX 5070 Ti | 16 GB | 177 | 6,952 |
| RTX 3090 Ti | 24 GB | 171 | 6,567 |
| RTX 3080 Ti | 12 GB | 161 | 5,069 |
| RTX 3090 | 24 GB | 158 | 5,175 |
| RTX 4080 SUPER | 16 GB | 148 | 8,125 |
| RTX 4080 | 16 GB | 142 | 8,032 |
| RTX 3080 | 10 GB | 140 | 5,014 |
| RTX 4070 Ti SUPER | 16 GB | 132 | 6,925 |
| RTX 5070 | 12 GB | 128 | 5,185 |
| RTX 4070 Ti (Vulkan) | 12 GB | 111 | 4,981 |
| RTX 4070 SUPER (Vulkan) | 12 GB | 109 | 4,608 |
| RTX 2080 Ti | 11 GB | 108 | 2,891 |
| RTX 5060 | 8 GB | 97 | 3,269 |
| RTX 4070 (Vulkan) | 12 GB | 92 | 3,179 |
| RTX 5060 Ti | 16 GB | 91 | 3,737 |
| RTX 2070 SUPER | 8 GB | 88 | 2,088 |
| RTX 3060 Ti (Vulkan) | 8 GB | 87 | 2,361 |
| RTX 3070 | 8 GB | 85 | 2,994 |
| RTX 3060 | 12 GB | 76 | 2,138 |
| RTX 4060 Ti | 8 GB | 64 | 3,395 |
| GTX 1080 Ti | 11 GB | 62 | 1,084 |
| RTX 2060 SUPER | 8 GB | 60 | 1,420 |
| GTX 1070 Ti | 8 GB | 38 | 714 |
| RTX 3050 | 6 GB | 37 | 1,147 |
| GTX 1060 | 6 GB | 28 | 417 |
Laptops have their own versions of these cards, and the power that a laptop gives its card changes the speed:
| Graphics card | Memory | Generation | Prompt |
|---|---|---|---|
| RTX 5090 Laptop | 24 GB | 156 | 6,667 |
| RTX 3080 Laptop | 8 GB | 91 | 2,971 |
| RTX 3070 Laptop | 8 GB | 60 | 1,729 |
| RTX 4060 Laptop | 8 GB | 58 | 2,466 |
| GTX 1660 Ti Mobile | 6 GB | 46 | 520 |
| RTX 4050 Laptop | 6 GB | 44 | 1,726 |
The results come from different devices and different builds of llama.cpp, so small differences mean little. Three things they show:
- A newer card is not always the faster one. To write each token, the card reads the whole model from its memory, so the speed follows the memory. An RTX 3090 writes faster than an RTX 5070, and an RTX 3060 faster than an RTX 4060 Ti, because their memory is faster. In reading prompts, which follows the processor of the card more than its memory, the newer cards are level or ahead.
- A larger model writes more slowly. A model twice the size writes at about half the speed. By this rule, a 14B model at 4 bits would write about 45 tokens per second on an RTX 5060 Ti.
- Flash attention helps. It makes llama.cpp read prompts 5 to 23 percent faster on the RTX cards of the scoreboard, and changes the writing by less than 4 percent.
gpt-oss-20b on 8 to 24 GB cards
gpt-oss-20b is a mixture-of-experts model: it has about 21 billion parameters, and only a part of them computes each token. Its files take 11.3 GiB, so it fits a card with 16 GB. The table shows llama.cpp with CUDA and flash attention, with a prompt of 2,048 tokens.
| Graphics card | Memory | Generation | Prompt |
|---|---|---|---|
| RTX 5090 | 32 GB | 283 | 9,848 |
| RTX 4090 | 24 GB | 222 | 8,022 |
| RTX 5080 | 16 GB | 205 | 7,477 |
| RTX 5070 Ti | 16 GB | 189 | 6,340 |
| RTX 4080 SUPER | 16 GB | 187 | 8,171 |
| RTX 3090 | 24 GB | 162 | 5,171 |
| RTX 5060 Ti | 16 GB | 112 | 3,839 |
| RTX 4060 Ti | 16 GB | 91 | 3,982 |
| RTX 4060 Laptop | 8 GB | 42 | 1,642 |
On the laptop, the experts of 14 layers stayed in system memory (DDR5-5200, with a Core i7-14700HX). On an RTX 3060 with 12 GB and a Ryzen 7 5700X, with the experts of two layers in system memory and a context of 16,384 tokens, llama.cpp's server began its replies at 64 tokens per second.
A long conversation writes more slowly than a new one. On a Tesla V100 with 16 GB, gpt-oss-20b wrote 116 tokens per second with nothing in its context, 90 with 8,192 tokens in it, and 60 with 32,768.
CUDA vs Vulkan
Each row compares the two on one card in one device, with the 7B model above, as generation and prompt in tokens per second. The RTX 3080 and RTX 4090 ran with flash attention, the others without.
| Graphics card | CUDA | Vulkan |
|---|---|---|
| RTX 3080, Linux, April 2026 | 144 and 5,438 | 143 and 4,889 |
| RTX A4000, Linux, January 2026 | 78 and 2,524 | 74 and 2,248 |
| GTX 1070, Linux, November 2025 | 41 and 592 | 41 and 322 |
| RTX 3090, Linux, September 2025 | 159 and 5,101 | 158 and 4,409 |
| RTX 4090, Linux, August 2025 | 189 and 14,753 | 180 and 9,482 |
| RTX 5060 Ti, Linux, July 2025 | 91 and 3,728 | 74 and 3,227 |
| RTX 3060, Windows, June 2025 | 68 and 2,020 | 65 and 1,682 |
| RTX 5070 Ti, Windows, May 2025 | 149 and 6,870 | 136 and 6,214 |
With CUDA, the RTX cards read prompts 11 to 56 percent faster, which helps when you give a model long documents or a coding tool sends it whole files. In writing, CUDA was up to 22 percent faster in 2025, and the gap has closed since. In the results on llama.cpp's two scoreboards, from different devices, Vulkan wrote 1 to 4 percent faster than CUDA on the RTX 3090, 4090, 5060 Ti and 5080, and CUDA wrote 10 percent faster on the RTX 5090. CUDA read prompts 8 to 36 percent faster on all five.
Vulkan has two advantages:
- The download is smaller. In llama.cpp b12387, the Vulkan build for Windows is 38 MB, and the CUDA build with NVIDIA's libraries is 711 MB.
- It runs on cards of every maker, also together. With Vulkan, one person ran gpt-oss-20b on an RTX 5070 with 12 GB and an older Radeon RX 6600 XT in one device, at 96 tokens per second, against about 30 to 40 with part of the model on the processor.
On the GTX 1070, the two wrote at the same speed, and CUDA read prompts 84 percent faster.
CUDA 12 vs CUDA 13
llama.cpp offers builds for both. On one RTX 5060 Ti under Windows in May 2026, with the same release of llama.cpp and flash attention, the CUDA 13.1 build wrote 96 tokens per second and read 4,427, and the CUDA 12.4 build 95 and 4,430. Either one is fine for text.
How much VRAM do you need?
| Memory | GeForce cards | The largest chat model it holds whole | Recommended chat models, for example |
|---|---|---|---|
| 6 GB | RTX 3050, GTX 1060 | 4 GB, about 6B at 4 bits | Qwen 3.5 4B (2.7 GB) |
| 8 GB | RTX 5060, 4060, 3070, 3060 Ti | 6 GB, about 9B | Qwen 3.5 9B (5.7 GB), Gemma 4 12B (6.0 GB) |
| 12 GB | RTX 5070, 4070, 3080 Ti, 3060 | 10 GB, about 16B | Gemma 4 12B (9.8 GB), Qwen 3.5 9B (5.7 GB) |
| 16 GB | RTX 5080, 5070 Ti, 5060 Ti, 4080, 4070 Ti SUPER | 13 GB, about 20B | Qwen 3.6 35B-A3B (13.2 GB) |
| 24 GB | RTX 4090, 3090 | 20 GB, about 32B | Qwen 3.8 27B (17.5 GB) |
| 32 GB | RTX 5090 | 27 GB, about 44B | Qwen 3.8 27B (17.5 GB) |
The same model comes in several sizes, at more or fewer bits for each parameter, so Gemma 4 12B is in two rows. To choose between the files of one model, see GGUF quantization explained. The recommended models are those of 25 November 2026. To see the current ones, choose the memory of your card on What AI models can your device run?
A model also needs memory for its context, the conversation and the files you give it, so it needs more than the size of its files. How much memory a model needs explains the numbers.
NVIDIA vs AMD vs Intel
One card of each maker for each size of memory, as generation and prompt in tokens per second with the 7B model above: the GeForce cards with CUDA, the Radeon and Arc cards with Vulkan.
| Memory | NVIDIA | AMD | Intel |
|---|---|---|---|
| 24 GB | RTX 3090: 158 and 5,175 | RX 7900 XTX: 183 and 3,727 | Arc Pro B60: 65 and 730 |
| 16 GB | RTX 5070 Ti: 177 and 6,952 | RX 9070 XT: 137 and 5,202 | Arc A770: 53 and 1,074 |
| 12 GB | RTX 3060: 76 and 2,138 | RX 6700 XT: 84 and 1,051 | Arc B580: 70 and 621 |
| 8 GB | RTX 4060 Ti: 64 and 3,395 | RX 7600: 58 and 1,167 | Arc A750: 43 and 1,076 |
The GeForce cards read prompts faster in every row. In writing, the memory of the card counts more than its maker. Run local AI on an AMD GPU and on an Intel Arc GPU have more cards.
Getting started
Update the graphics driver
On Windows, install the current NVIDIA driver. It includes Vulkan. On Linux, install NVIDIA's own driver, which most distributions offer. You need no CUDA Toolkit: Hearthscale Server installs the CUDA libraries that llama.cpp needs.
Install Hearthscale
Download Hearthscale for Windows or Linux and follow the first steps. Hearthscale is free, and you need no account.
Run a model
Download a recommended model when setup offers one, or later from the model picker, and ask a question. How to run AI locally on Windows and Linux has every step.
On Windows, Hearthscale Server first installs the small Vulkan build of llama.cpp, so you can start at once, and then moves to the CUDA build in the background. On Linux, it installs the CUDA build first.
Check the build
Open Runtime in Hearthscale Server. The Acceleration menu of the llama.cpp card shows the builds for your device. To change between CUDA and Vulkan, choose one there, and then choose Install. See Runtimes and builds.
The same card runs more than chat. On Windows, Hearthscale Server also moves stable-diffusion.cpp, for pictures and video, and audio.cpp, for music and stems, to their CUDA builds. On Linux, they run with Vulkan. transcribe.cpp and NeMo-Speech.cpp, for speech, run with Vulkan on both. So the card also works for Image studio, Music studio, Dictation and Meeting notes. To choose an image model for your card, see How to run an AI image generator locally.
Using the card from another device
A desktop with a GeForce card can serve its models to your laptop. Run Hearthscale Server on the desktop, and every other device with Hearthscale can use the models there, end-to-end encrypted, with no port to open. On a home server with an NVIDIA card, run Hearthscale Server in Docker with --gpus all. See Hearthscale Server. Coding tools can use the models too: see Claude Code and Codex with local models and Best local LLM for coding.
Ollama and LM Studio also run models on NVIDIA cards. Ollama needs driver version 550 or newer, and 570 or newer for a GTX 10 card or an older one. Hearthscale works with both: see Hearthscale and Ollama, Hearthscale and LM Studio and Ollama vs LM Studio. No graphics card in the device you have? See Run a local LLM without a GPU.
Sources
Read on 25 November 2026. The speeds are results that people posted in llama.cpp's own benchmark discussions, llama-bench with Llama 2 7B Q4_0 at pp512 and tg128, without flash attention unless the text says so. The 14B estimate is an example of the bandwidth rule, not a result.
- llama.cpp, Performance of llama.cpp on Nvidia CUDA: the scoreboard for the first two tables, and the results of RTX 3080 Ti, RTX 5060, RTX 3050, RTX 3080 Laptop, RTX 3070 Laptop, RTX 4060 Laptop, GTX 1660 Ti Mobile, and CUDA 12.4 and 13.1 on one RTX 5060 Ti.
- llama.cpp, Performance of llama.cpp with Vulkan: the scoreboard for the rows with Vulkan, the Radeon and Arc cards.
- CUDA and Vulkan on one device: RTX 3080 (CUDA, Vulkan), RTX A4000, GTX 1070 (CUDA, Vulkan), RTX 3090, RTX 4090, RTX 5060 Ti, RTX 3060, as an external card, RTX 5070 Ti and RTX 3070.
- llama.cpp, Running gpt-oss with llama.cpp: the GeForce cards and the Tesla V100 with gpt-oss-20b (MXFP4), and the results of RTX 4060 Ti with 16 GB, RTX 4060 Laptop, RTX 3060 and RTX 5070 with RX 6600 XT.
- Georgi Gerganov on memory bandwidth, and llama.cpp's release b12387 for the sizes of the builds.
- NVIDIA, GeForce graphics cards compared for their memory, and Ollama, hardware support.