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

Run local LLMs on an AMD Radeon graphics card on Windows and Linux. See how fast each card is with llama.cpp, and whether Vulkan or ROCm is faster.

2026-11-19, updated 2026-11-26


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](#sources) of every number are at the end.

## TL;DR {#tldr}

- **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](#vulkan-or-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](#memory).
- **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](#20b).
- **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](#ryzen-ai-max).

## How fast is each Radeon card? {#speed}

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 card | Memory     | Bandwidth  | Generation | Prompt |
| ------------- | ---------- | ---------- | ---------- | ------ |
| RX 7900 XTX   | 24 GB      | 960 GB/s   | 183        | 3,727  |
| AI PRO R9700  | 32 GB      | 640 GB/s   | 146        | 5,610  |
| RX 9070 XT    | 16 GB      | 640 GB/s   | 137        | 5,202  |
| RX 7900 XT    | 20 GB      | 800 GB/s   | 123        | 2,942  |
| RX 9070       | 16 GB      | 640 GB/s   | 120        | 3,164  |
| RX 7800 XT    | 16 GB      | 624 GB/s   | 118        | 2,017  |
| RX 7900 GRE   | 16 GB      | 576 GB/s   | 116        | 2,336  |
| RX 6900 XT    | 16 GB      | 512 GB/s   | 108        | 1,901  |
| RX 6800       | 16 GB      | 512 GB/s   | 101        | 1,594  |
| Radeon VII    | 16 GB      | 1,024 GB/s | 101        | 1,059  |
| RX 6800 XT    | 16 GB      | 512 GB/s   | 100        | 1,753  |
| RX 6700 XT    | 12 GB      | 384 GB/s   | 84         | 1,051  |
| RX 6750 XT    | 12 GB      | 432 GB/s   | 82         | 1,041  |
| RX 9060 XT    | 16 GB      | 320 GB/s   | 71         | 2,845  |
| RX 5700 XT    | 8 GB       | 448 GB/s   | 71         | 530    |
| RX Vega 64    | 8 GB       | 484 GB/s   | 63         | 575    |
| RX 6650 XT    | 8 GB       | 280 GB/s   | 62         | 1,030  |
| RX 7600       | 8 GB       | 288 GB/s   | 58         | 1,167  |
| RX 6600 XT    | 8 GB       | 256 GB/s   | 54         | 575    |
| RX 7600 XT    | 16 GB      | 288 GB/s   | 53         | 841    |
| RX 6600       | 8 GB       | 224 GB/s   | 51         | 759    |
| RX Vega 56    | 8 GB       | 410 GB/s   | 50         | 440    |
| RX 580        | Up to 8 GB | 256 GB/s   | 39         | 258    |
| RX 570        | Up to 8 GB | 224 GB/s   | 37         | 226    |
| RX 6500 XT    | 4 or 8 GB  | 144 GB/s   | 28         | 255    |

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

| Graphics card                   | Memory | Generation | Prompt |
| ------------------------------- | ------ | ---------- | ------ |
| RX 6800M                        | 12 GB  | 49         | 862    |
| RX 6600M, in a mini PC          | 8 GB   | 48         | 606    |
| RX 7600M XT, over Thunderbolt 4 | 8 GB   | 45         | 459    |

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 {#20b}

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 card                  | Memory          | Build, system, date           | Generation | Prompt |
| ------------------------------ | --------------- | ----------------------------- | ---------- | ------ |
| RX 9070 XT                     | 16 GB           | Vulkan, Linux, November 2025  | 174        | 2,754  |
| RX 7900 XT                     | 20 GB           | ROCm, Linux, January 2026     | 152        | 4,668  |
| AI PRO R9700                   | 32 GB           | ROCm, Linux, March 2026       | 142        | 2,178  |
| RX 7800 XT                     | 16 GB           | ROCm, Windows, August 2025    | 106        | 2,045  |
| RX 9060 XT                     | 16 GB           | ROCm, Linux, October 2025     | 78         | 796    |
| Radeon 890M, Ryzen AI 9 HX 370 | 64 GB of 128 GB | Vulkan, Linux, September 2025 | 28         | 431    |
| Radeon 660M, Ryzen 5 6600H     | System memory   | Vulkan, Linux, October 2025   | 19         | 106    |

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 {#vulkan-or-rocm}

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

| Graphics card | System     | Vulkan | ROCm |
| ------------- | ---------- | ------ | ---- |
| RX 7900 XTX   | Windows 11 | 183    | 156  |
| RX 7900 XTX   | Linux      | 162    | 140  |
| RX 9070 XT    | Linux      | 137    | 111  |
| RX 6800       | Linux      | 101    | 86   |
| RX 9060 XT    | Linux      | 71     | 67   |

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 {#ryzen-ai-max}

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.

| Processor                              | Generation | Prompt |
| -------------------------------------- | ---------- | ------ |
| Ryzen AI Max+ 300 series, Radeon 8060S | 52         | 1,487  |
| Ryzen AI 300 series                    | 22         | 479    |
| Ryzen 6000 series                      | 21         | 241    |
| Ryzen 7000 series                      | 20         | 282    |
| Ryzen 8000 series                      | 20         | 267    |
| Ryzen Z1 Extreme                       | 19         | 199    |
| Ryzen AI 400 series                    | 18         | 131    |
| Steam Deck                             | 18         | 144    |

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](/docs/server/models/explore). For other processors without a graphics card, see [Run a local LLM without a GPU](/blog/local-ai-without-gpu).

## AMD vs NVIDIA {#amd-or-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](/blog/local-ai-nvidia-gpu) 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? {#memory}

| Memory | Radeon cards                                         | The largest chat model it holds whole | Recommended chat models, for example                  |
| ------ | ---------------------------------------------------- | ------------------------------------- | ----------------------------------------------------- |
| 8 GB   | RX 7600, 6650 XT, 6600 XT, 6600, 5700 XT             | 6 GB, about 9B at 4 bits              | Qwen 3.5 9B (5.7 GB), Gemma 4 12B (6.0 GB)            |
| 12 GB  | RX 7700 XT, 6750 XT, 6700 XT                         | 10 GB, about 16B                      | Gemma 4 12B (9.8 GB), Qwen 3.5 9B (5.7 GB)            |
| 16 GB  | RX 9070 XT, 9070, 9060 XT, 7800 XT, 7600 XT, 6800 XT | 13 GB, about 20B                      | Qwen 3.6 35B-A3B (13.2 GB), Gemma 4 26B-A4B (12.7 GB) |
| 20 GB  | RX 7900 XT                                           | 17 GB, about 28B                      | Qwen 3.6 35B-A3B (16.8 GB)                            |
| 24 GB  | RX 7900 XTX                                          | 20 GB, about 32B                      | Qwen 3.8 27B (17.5 GB)                                |
| 32 GB  | AI PRO R9700                                         | 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 a model can be in two rows. To choose between the files of one model, see [GGUF quantization explained](/blog/gguf-quantization). 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?](/what-can-i-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](/blog/run-ai-locally#memory) explains the numbers.

## Getting started {#steps}

::::steps
:::step

### 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.

:::
:::step

### Install Hearthscale

[Download Hearthscale](/download) for Windows or Linux and follow the first steps. Hearthscale is free, and you need no account.

:::
:::step

### 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](/blog/run-ai-locally#steps) 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](/ai-image-generator), [Music studio](/ai-music-generator), [Dictation](/dictation) and [Meeting notes](/ai-meeting-notes). To choose an image model for your card, see [How to run an AI image generator locally](/blog/local-ai-image-generator).

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](/docs/server/runtime#build).

## Using the card from another device {#other-devices}

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](/server). Coding tools can use them too: see [Claude Code and Codex with local models](/claude-code-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](/compare/ollama), [Hearthscale and LM Studio](/compare/lm-studio) and [Ollama vs LM Studio](/blog/ollama-vs-lm-studio).

No graphics card in the device you have? See [Local AI without a GPU](/blog/local-ai-without-gpu). An Intel card? See [Run local AI on an Intel Arc GPU](/blog/local-ai-intel-gpu).

[Download Hearthscale](/download) for Windows or Linux. Hearthscale is free, and you need no account.

## Sources {#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.

- llama.cpp, [Performance of llama.cpp with Vulkan](https://github.com/ggml-org/llama.cpp/discussions/10879): the scoreboard for the first table, the processors and the effect of flash attention; the results of [RX 6600M](https://github.com/ggml-org/llama.cpp/discussions/10879#discussioncomment-12795174), [RX 7600M XT](https://github.com/ggml-org/llama.cpp/discussions/10879#discussioncomment-12291344), [RX 7900 XTX on Linux](https://github.com/ggml-org/llama.cpp/discussions/15021#discussioncomment-16191303), [RX 6800](https://github.com/ggml-org/llama.cpp/discussions/10879#discussioncomment-18706574) and [RX 9060 XT](https://github.com/ggml-org/llama.cpp/discussions/10879#discussioncomment-18709094), and [RX 7900 XT with both](https://github.com/ggml-org/llama.cpp/discussions/10879#discussioncomment-13363850).
- llama.cpp, [Performance of llama.cpp on AMD ROCm (HIP)](https://github.com/ggml-org/llama.cpp/discussions/15021): [RX 7900 XTX on Windows](https://github.com/ggml-org/llama.cpp/discussions/15021#discussioncomment-18388777), [RX 7900 XTX on Linux](https://github.com/ggml-org/llama.cpp/discussions/15021#discussioncomment-16191303), [RX 9070 XT](https://github.com/ggml-org/llama.cpp/discussions/15021#discussioncomment-19178707), [RX 6800](https://github.com/ggml-org/llama.cpp/discussions/15021#discussioncomment-18706576), [RX 9060 XT](https://github.com/ggml-org/llama.cpp/discussions/15021#discussioncomment-18709095), [RX 7800 XT with both](https://github.com/ggml-org/llama.cpp/discussions/15021#discussioncomment-13963577).
- llama.cpp, [Running gpt-oss with llama.cpp](https://github.com/ggml-org/llama.cpp/discussions/15396), gpt-oss-20b: [RX 9070 XT](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-14989283), [RX 7900 XT](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-15651106) and its [long prompts](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-14143739), [AI PRO R9700](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-16154887), [RX 7800 XT](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-14178435), with the experts in system memory, [RX 9060 XT](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-14650092), [Radeon 890M](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-14157403), also with gpt-oss-120b, and [Radeon 660M](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-14720821); gpt-oss-120b on the [Framework Desktop](https://github.com/ggml-org/llama.cpp/discussions/15396#discussioncomment-14607346).
- llama.cpp, [Performance of llama.cpp on Nvidia CUDA](https://github.com/ggml-org/llama.cpp/discussions/15013): the RTX 3060 and RTX 4060 Ti.
- Georgi Gerganov on [memory bandwidth](https://github.com/ggml-org/llama.cpp/discussions/15013#discussioncomment-14748090).
- AMD, [graphics specifications](https://www.amd.com/en/products/specifications/graphics.html) for the memory and bandwidth of each card, the [Radeon AI PRO R9700](https://www.amd.com/en/products/graphics/workstations/radeon-ai-pro/ai-9000-series/amd-radeon-ai-pro-r9700.html), [processor specifications](https://www.amd.com/en/products/specifications/processors.html) for the Ryzen AI Max+ 395, the [ROCm compatibility matrix](https://rocm.docs.amd.com/en/latest/compatibility/compatibility-matrix.html) and [Vulkan driver support](https://www.amd.com/en/resources/support-articles/release-notes/RN-RAD-WIN-VULKAN.html).
- Ollama, [hardware support](https://github.com/ollama/ollama/blob/main/docs/gpu.mdx).
