Run local AI on an AMD GPU: Vulkan or ROCm?

An AMD Radeon graphics card (GPU) runs local AI models well, on Windows and on Linux. llama.cpp, the program behind many local AI apps, Hearthscale among them, reaches a Radeon card in two ways: through Vulkan, which runs on every recent Radeon card with the driver it already has, and through ROCm, AMD's own platform for computing on its graphics cards.

This guide shows how fast each Radeon card generates text, how a model with 20 billion parameters runs on them, which of Vulkan and ROCm is faster, what a Ryzen AI Max runs, which models each card holds, and how to run your first model on an AMD card. The sources of every number are at the end.

TL;DR

  • Use Vulkan. In llama.cpp's public benchmark results, Vulkan generated text faster than ROCm in almost every comparison on the same device, by up to 23 percent. See Vulkan vs ROCm.
  • 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 every Radeon card since 2017 runs a 7B or 8B model. An RX 6600 writes about 50 tokens per second with such a model, faster than you read, and an RX 580 still writes 39.
  • A 16 GB card runs a mixture-of-experts model of 20 billion parameters fast. gpt-oss-20b wrote 174 tokens per second on an RX 9070 XT. See a 20B model.
  • A Ryzen AI Max+ 395 with 128 GB runs models that no Radeon card holds. gpt-oss-120b, with files of 59 GiB, wrote 53 tokens per second on one. See Ryzen AI Max.

How fast is each Radeon 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 Vulkan, 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. The memory bandwidth is AMD's figure for each card.

Graphics cardMemoryBandwidthGenerationPrompt
RX 7900 XTX24 GB960 GB/s1833,727
AI PRO R970032 GB640 GB/s1465,610
RX 9070 XT16 GB640 GB/s1375,202
RX 7900 XT20 GB800 GB/s1232,942
RX 907016 GB640 GB/s1203,164
RX 7800 XT16 GB624 GB/s1182,017
RX 7900 GRE16 GB576 GB/s1162,336
RX 6900 XT16 GB512 GB/s1081,901
RX 680016 GB512 GB/s1011,594
Radeon VII16 GB1,024 GB/s1011,059
RX 6800 XT16 GB512 GB/s1001,753
RX 6700 XT12 GB384 GB/s841,051
RX 6750 XT12 GB432 GB/s821,041
RX 9060 XT16 GB320 GB/s712,845
RX 5700 XT8 GB448 GB/s71530
RX Vega 648 GB484 GB/s63575
RX 6650 XT8 GB280 GB/s621,030
RX 76008 GB288 GB/s581,167
RX 6600 XT8 GB256 GB/s54575
RX 7600 XT16 GB288 GB/s53841
RX 66008 GB224 GB/s51759
RX Vega 568 GB410 GB/s50440
RX 580Up to 8 GB256 GB/s39258
RX 570Up to 8 GB224 GB/s37226
RX 6500 XT4 or 8 GB144 GB/s28255

Mobile Radeon cards, in a laptop, a mini PC or an external case, are slower than the desktop cards with similar names:

Graphics cardMemoryGenerationPrompt
RX 6800M12 GB49862
RX 6600M, in a mini PC8 GB48606
RX 7600M XT, over Thunderbolt 48 GB45459

The results come from different devices and different builds of llama.cpp, so small differences mean little. Three things they show:

  • The speed follows the memory, more than the age of the card. To write each token, the card reads the whole model from its memory. The RX 6700 XT, with faster memory, writes faster than the newer RX 9060 XT. In reading prompts, which follows the processor of the card more than its memory, the newer cards are far ahead: the RX 9060 XT reads 2,845 tokens per second, the RX 6700 XT 1,051.
  • A 16 GB version writes no faster, but holds twice as much. The RX 7600 XT, with 16 GB, writes no faster than the RX 7600 with 8 GB, because their memory is equally fast. It holds models twice the size.
  • 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 90 tokens per second on an RX 7900 XTX. The creator of llama.cpp puts it plainly: text generation "is mostly dependent on the memory bandwidth."

With Vulkan, flash attention made most of these cards write a little faster, by up to 10 percent, and a few up to 5 percent slower. Its effect on prompts was larger: the RX 7600 XT read them 22 percent faster with it, and the RX 9070 10 percent more slowly.

gpt-oss-20b on Radeon 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 the results that people posted for llama.cpp with flash attention and a prompt of 2,048 tokens.

Graphics cardMemoryBuild, system, dateGenerationPrompt
RX 9070 XT16 GBVulkan, Linux, November 20251742,754
RX 7900 XT20 GBROCm, Linux, January 20261524,668
AI PRO R970032 GBROCm, Linux, March 20261422,178
RX 7800 XT16 GBROCm, Windows, August 20251062,045
RX 9060 XT16 GBROCm, Linux, October 202578796
Radeon 890M, Ryzen AI 9 HX 37064 GB of 128 GBVulkan, Linux, September 202528431
Radeon 660M, Ryzen 5 6600HSystem memoryVulkan, Linux, October 202519106

The Radeon 890M read a prompt of 1,024 tokens. llama.cpp became faster with gpt-oss in the weeks after the model came out in August 2025: on the same Radeon 890M, a build of September 2025 read prompts about 1.5 times as fast as one of August.

A card with 8 GB cannot hold the whole model, but it can run it with the experts in system memory. With all experts in system memory and the rest of the model on the card, the RX 7800 XT above still wrote 18 tokens per second and read 737.

Long prompts are read more slowly. On an RX 7900 XT with ROCm, gpt-oss-20b read 4,252 tokens per second of a prompt of 2,048 tokens, and 2,099 of a prompt of 32,768 tokens.

Vulkan vs ROCm

Each row compares the text generation of Vulkan and ROCm on one device, with the 7B model above, in tokens per second.

Graphics cardSystemVulkanROCm
RX 7900 XTXWindows 11183156
RX 7900 XTXLinux162140
RX 9070 XTLinux137111
RX 6800Linux10186
RX 9060 XTLinux7167

Vulkan wrote faster on each of these cards, by 6 to 23 percent. On an RX 7900 XT under Windows, the two wrote at the same speed, 123 tokens per second, and one RX 7800 XT result, made with two different builds of llama.cpp, had ROCm ahead, 101 against 97. Prompt processing went the other way on the RX 7900 XTX: ROCm read 4,146 tokens per second against 3,727 with Vulkan under Windows, and 3,624 against 3,164 under Linux, which helps when you give a model long documents. On the other three cards, Vulkan read prompts faster.

Vulkan also runs on more cards. AMD's ROCm compatibility matrix lists the Radeon RX 9000 cards and the RX 7900 XTX, 7900 XT, 7900 GRE, 7800 XT, 7700 XT, 7700 and 7600. It lists no RX 6000 card and not the RX 7600 XT. Vulkan runs on all of them, with the driver you already have, and on the RX 5000, Vega and RX 500 cards in the table above.

Ryzen AI Max and integrated graphics

The Radeon graphics in a Ryzen processor have no memory of their own: they use system memory. The Radeon 8060S in a Ryzen AI Max+ 395 is the fastest of them: AMD gives it 40 graphics cores and a 256-bit LPDDR5X memory interface.

The table shows the 7B model above with Vulkan, in tokens per second. The scoreboard names most of these chips by series; the speed depends on the chip and on the speed of its system memory.

ProcessorGenerationPrompt
Ryzen AI Max+ 300 series, Radeon 8060S521,487
Ryzen AI 300 series22479
Ryzen 6000 series21241
Ryzen 7000 series20282
Ryzen 8000 series20267
Ryzen Z1 Extreme19199
Ryzen AI 400 series18131
Steam Deck18144

The Radeon 8060S writes about as fast as an RX 6600, and holds far larger models. gpt-oss-120b, a mixture-of-experts model of 117 billion parameters with files of 59 GiB, fits no Radeon card. On a Framework Desktop with a Ryzen AI Max+ 395 and 128 GB at 8,000 MT/s, under Linux with Vulkan, it wrote 53 tokens per second and read 504 of a prompt of 2,048 tokens. On a Ryzen AI 9 HX 370 with Radeon 890M and 64 of its 128 GB given to the graphics, it wrote 20 tokens per second and read 165 of a prompt of 1,024 tokens.

The owner of the Framework Desktop writes that under Linux the graphics can use the whole memory, and under Windows up to 96 GB of it.

Hearthscale's recommendations count integrated graphics as no graphics card, so they list the models that half of system memory holds. To run a larger model, find it on the Server's Explore page: the mark under each file says whether it fits your device. See Find and download models. For other processors without a graphics card, see Run a local LLM without a GPU.

AMD vs NVIDIA

The speed of text generation follows a card's memory bandwidth more than its maker. The RX 7800 XT generated 118 tokens per second, the GeForce RTX 3060 with CUDA 76, and the RTX 4060 Ti 64. NVIDIA cards read prompts faster than AMD cards that write at a similar speed: 3,395 tokens per second on the RTX 4060 Ti against 1,167 on the RX 7600, and 2,138 on the RTX 3060 against 1,051 on the RX 6700 XT.

The amount of memory decides which models fit at all. A 16 GB Radeon card holds models that an 8 GB GeForce card cannot hold whole. Local LLMs on NVIDIA GPUs has the speeds of 34 GeForce cards, with CUDA and Vulkan, and compares one card of each maker for each size of memory.

How much VRAM do you need?

MemoryRadeon cardsThe largest chat model it holds wholeRecommended chat models, for example
8 GBRX 7600, 6650 XT, 6600 XT, 6600, 5700 XT6 GB, about 9B at 4 bitsQwen 3.5 9B (5.7 GB), Gemma 4 12B (6.0 GB)
12 GBRX 7700 XT, 6750 XT, 6700 XT10 GB, about 16BGemma 4 12B (9.8 GB), Qwen 3.5 9B (5.7 GB)
16 GBRX 9070 XT, 9070, 9060 XT, 7800 XT, 7600 XT, 6800 XT13 GB, about 20BQwen 3.6 35B-A3B (13.2 GB), Gemma 4 26B-A4B (12.7 GB)
20 GBRX 7900 XT17 GB, about 28BQwen 3.6 35B-A3B (16.8 GB)
24 GBRX 7900 XTX20 GB, about 32BQwen 3.8 27B (17.5 GB)
32 GBAI PRO R970027 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 a model can be in two rows. To choose between the files of one model, see GGUF quantization explained. The recommended models are those of 26 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.

Getting started

Update the graphics driver

On Windows, install the current AMD Software: Adrenalin Edition from AMD. It includes the Vulkan driver. On Linux, Mesa's RADV driver gives Radeon cards Vulkan; it comes with most distributions.

Install Hearthscale

Download Hearthscale for Windows or Linux and follow the first steps. Hearthscale is free, and you need no account.

Run a model

Hearthscale Server installs the Vulkan build of llama.cpp, so your chat models run on the Radeon card. 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.

The same card runs more than chat. Hearthscale Server installs the Vulkan builds of stable-diffusion.cpp for pictures and video, audio.cpp for music and stems, and transcribe.cpp and NeMo-Speech.cpp for speech, 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.

To try ROCm on Linux, open Runtime in Hearthscale Server, choose ROCm in the Acceleration menu of the llama.cpp card, and choose Install. It installs llama.cpp's build for ROCm 10.0. If the ROCm build cannot run on your card, llama.cpp keeps its Vulkan build, and the card says why. See Runtimes and builds.

Using the card from another device

A desktop with a Radeon 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. See Hearthscale Server. Coding tools can use them too: see Claude Code and Codex with local models.

Ollama also runs models on Radeon cards. On Linux, it uses ROCm 7 on the RX 9000 cards, the RX 7600 to 7900 XTX, and the RX 6800, 6800 XT, 6900 XT and 6950 XT; on Windows, its ROCm list has the RX 7900 XTX, 7900 XT, 7900 GRE, 7800 XT, 7700 XT, 7600 XT and 7600. Other cards, such as the RX 6600 and RX 6700 XT, run through its Vulkan support. Hearthscale works with Ollama and LM Studio: see Hearthscale and Ollama, Hearthscale and LM Studio and Ollama vs LM Studio.

No graphics card in the device you have? See Local AI without a GPU. An Intel card? See Run local AI on an Intel Arc GPU.

Download Hearthscale for Windows or Linux. Hearthscale is free, and you need no account.

Sources

Read on 19 and 26 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.