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 cardMemoryGenerationPrompt
RTX 509032 GB29014,073
RTX 409024 GB18611,993
RTX 508016 GB1828,297
RTX 5070 Ti16 GB1776,952
RTX 3090 Ti24 GB1716,567
RTX 3080 Ti12 GB1615,069
RTX 309024 GB1585,175
RTX 4080 SUPER16 GB1488,125
RTX 408016 GB1428,032
RTX 308010 GB1405,014
RTX 4070 Ti SUPER16 GB1326,925
RTX 507012 GB1285,185
RTX 4070 Ti (Vulkan)12 GB1114,981
RTX 4070 SUPER (Vulkan)12 GB1094,608
RTX 2080 Ti11 GB1082,891
RTX 50608 GB973,269
RTX 4070 (Vulkan)12 GB923,179
RTX 5060 Ti16 GB913,737
RTX 2070 SUPER8 GB882,088
RTX 3060 Ti (Vulkan)8 GB872,361
RTX 30708 GB852,994
RTX 306012 GB762,138
RTX 4060 Ti8 GB643,395
GTX 1080 Ti11 GB621,084
RTX 2060 SUPER8 GB601,420
GTX 1070 Ti8 GB38714
RTX 30506 GB371,147
GTX 10606 GB28417

Laptops have their own versions of these cards, and the power that a laptop gives its card changes the speed:

Graphics cardMemoryGenerationPrompt
RTX 5090 Laptop24 GB1566,667
RTX 3080 Laptop8 GB912,971
RTX 3070 Laptop8 GB601,729
RTX 4060 Laptop8 GB582,466
GTX 1660 Ti Mobile6 GB46520
RTX 4050 Laptop6 GB441,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 cardMemoryGenerationPrompt
RTX 509032 GB2839,848
RTX 409024 GB2228,022
RTX 508016 GB2057,477
RTX 5070 Ti16 GB1896,340
RTX 4080 SUPER16 GB1878,171
RTX 309024 GB1625,171
RTX 5060 Ti16 GB1123,839
RTX 4060 Ti16 GB913,982
RTX 4060 Laptop8 GB421,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 cardCUDAVulkan
RTX 3080, Linux, April 2026144 and 5,438143 and 4,889
RTX A4000, Linux, January 202678 and 2,52474 and 2,248
GTX 1070, Linux, November 202541 and 59241 and 322
RTX 3090, Linux, September 2025159 and 5,101158 and 4,409
RTX 4090, Linux, August 2025189 and 14,753180 and 9,482
RTX 5060 Ti, Linux, July 202591 and 3,72874 and 3,227
RTX 3060, Windows, June 202568 and 2,02065 and 1,682
RTX 5070 Ti, Windows, May 2025149 and 6,870136 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?

MemoryGeForce cardsThe largest chat model it holds wholeRecommended chat models, for example
6 GBRTX 3050, GTX 10604 GB, about 6B at 4 bitsQwen 3.5 4B (2.7 GB)
8 GBRTX 5060, 4060, 3070, 3060 Ti6 GB, about 9BQwen 3.5 9B (5.7 GB), Gemma 4 12B (6.0 GB)
12 GBRTX 5070, 4070, 3080 Ti, 306010 GB, about 16BGemma 4 12B (9.8 GB), Qwen 3.5 9B (5.7 GB)
16 GBRTX 5080, 5070 Ti, 5060 Ti, 4080, 4070 Ti SUPER13 GB, about 20BQwen 3.6 35B-A3B (13.2 GB)
24 GBRTX 4090, 309020 GB, about 32BQwen 3.8 27B (17.5 GB)
32 GBRTX 509027 GB, about 44BQwen 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.

MemoryNVIDIAAMDIntel
24 GBRTX 3090: 158 and 5,175RX 7900 XTX: 183 and 3,727Arc Pro B60: 65 and 730
16 GBRTX 5070 Ti: 177 and 6,952RX 9070 XT: 137 and 5,202Arc A770: 53 and 1,074
12 GBRTX 3060: 76 and 2,138RX 6700 XT: 84 and 1,051Arc B580: 70 and 621
8 GBRTX 4060 Ti: 64 and 3,395RX 7600: 58 and 1,167Arc 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.

More guides

Bring your AI home.