Radeon RX 7900 XTX for Local LLMs: 24 GB VRAM, ROCm Support and Speed Data
By LLM Hardware team · Methodology ·
LLM Hardware team
The Radeon RX 7900 XTX has 24 GB of GDDR6 and fits 27B models at Q4 (Gemma 3 27B comes to 18.2 GB by the site formula) and 14B models at Q8 (18.8 GB) with about 4K tokens of context. Qwen3 32B at Q4 (21.2 GB) is tight, while gpt-oss 20B at Q8 (26.0 GB) and 70B models at Q4 (44.0 GB) do not fit. The card moves up to 960 GB/s, within 5 percent of the RTX 4090's 1008 GB/s in the site catalog, and it runs through ROCm or Vulkan instead of CUDA.
This guide covers AMD's own spec page, the computed fit table, the official ROCm, Ollama and llama.cpp support status for this card (Linux and Windows kept separate), third-party llama.cpp scoreboard numbers, and an opinionated comparison with the RTX 4090 and RTX 3090. The site does not test hardware, so every speed figure below is third-party and labeled, or arithmetic and labeled.
Check the Sapphire Pulse Radeon RX 7900 XTX 24GB on Amazon
ASIN B0BR6HZZ6Z. Amazon Associates link. The live price is on that page, not locked in here.
RX 7900 XTX specs for LLM work
AMD's product page covers capacity, memory speed, bandwidth, board power and connectors. It does not state the memory bus width, so that row cites the llama.cpp scoreboard and shows the arithmetic. AMD lists these figures for the reference product, and partner cards vary in clocks, power limits and cooler size.
| Spec | Value | Source and notes |
|---|---|---|
| VRAM | 24 GB GDDR6 | AMD product page lists Max Memory Size 24 GB and Memory Type GDDR6 (source 1). Matches the catalog. |
| Memory speed | Up to 20 Gbps | AMD product page (source 1) |
| Memory bus | 384-bit | Not on the AMD page (source 1). The llama.cpp scoreboard lists the card as "24 GB / GDDR6 / 384 bit" (source 7). By arithmetic, 384 bits x 20 Gbps / 8 = 960 GB/s, which agrees with AMD. |
| Memory bandwidth | Up to 960 GB/s | AMD product page "Memory Bandwidth: Up to 960 GB/s" (source 1). The catalog uses 960. |
| Infinity Cache | 96 MB | AMD product page (source 1) |
| Board power | 355 W typical board power | AMD product page "Typical Board Power (Desktop)" (source 1). Matches the catalog TDP. |
| Architecture | RDNA 3 (gfx1100) | AMD ROCm system requirements table: "RDNA3 | gfx1100" (source 2). The catalog says RDNA 3. |
| Compute units | 96 (6144 stream processors) | AMD product page (source 1). Matches the catalog. |
| Power connector | 2x 8-pin | AMD product page "Additional Power Connector: 2x8-Pin" (source 1) |
| Minimum PSU | 800 W | AMD product page "Minimum PSU Recommendation: 800W" (12V output above 65 A, based on a Ryzen 9 5900X system) (source 1) |
| Size | 287 mm long, 2.5 slots | AMD product page (source 1). Board partner cards differ. |
Conflicts with the catalog: none found. The catalog values (24 GB, 355 W, 960 GB/s, 96 compute units, RDNA 3) match AMD's page and ROCm documentation. One detail matters for LLM work. AMD also lists an "Effective Memory Bandwidth" of up to 3500 GB/s, which folds in the 96 MB Infinity Cache. A 20 GB model cannot live in a 96 MB cache, so this guide uses the 960 GB/s GDDR6 figure for every ceiling. That choice is this guide's reasoning, and AMD's page does not say how the 3500 GB/s figure applies to inference.
What fits in 24 GB: the computed table
The site uses one formula, documented on the methodology page: GB = params (billions) x bytes per parameter x 1.2 + 2. Q4 uses 0.5 bytes per parameter, Q8 uses 1.0 and FP16 uses 2.0. For Gemma 3 27B at Q4 the arithmetic is 27 x 0.5 x 1.2 + 2 = 18.2 GB. The 1.2 factor and the extra 2 GB cover activations and a context of about 4K tokens. The formula covers about 4K context only. For longer context, use the KV cache calculator.
Verdict rule for this table: fits means the estimate is 20 GB or less, tight means more than 20 GB and up to 24 GB, and does not fit means above 24 GB. The 4 GB of slack under "fits" leaves room for the desktop, a browser and a longer context. Parameter counts come from the site model data (source 13). Run any other size through the VRAM calculator or check specific models in Can I Run It for the RX 7900 XTX.
| Model | Params | Q4 math (GB) | Q4 verdict | Q8 math (GB) | Q8 verdict |
|---|---|---|---|---|---|
| Mistral 7B | 7B | 7 x 0.5 x 1.2 + 2 = 6.2 | Fits | 7 x 1.0 x 1.2 + 2 = 10.4 | Fits |
| Qwen3 8B | 8B | 8 x 0.5 x 1.2 + 2 = 6.8 | Fits | 8 x 1.0 x 1.2 + 2 = 11.6 | Fits |
| Gemma 3 12B | 12B | 12 x 0.5 x 1.2 + 2 = 9.2 | Fits | 12 x 1.0 x 1.2 + 2 = 16.4 | Fits |
| Qwen3 14B | 14B | 14 x 0.5 x 1.2 + 2 = 10.4 | Fits | 14 x 1.0 x 1.2 + 2 = 18.8 | Fits |
| Phi-4 | 14B | 14 x 0.5 x 1.2 + 2 = 10.4 | Fits | 14 x 1.0 x 1.2 + 2 = 18.8 | Fits |
| gpt-oss 20B | 20B | 20 x 0.5 x 1.2 + 2 = 14.0 | Fits | 20 x 1.0 x 1.2 + 2 = 26.0 | Does not fit |
| Gemma 3 27B | 27B | 27 x 0.5 x 1.2 + 2 = 18.2 | Fits | 27 x 1.0 x 1.2 + 2 = 34.4 | Does not fit |
| Qwen3 32B | 32B | 32 x 0.5 x 1.2 + 2 = 21.2 | Tight | 32 x 1.0 x 1.2 + 2 = 40.4 | Does not fit |
| Llama 3.3 70B | 70B | 70 x 0.5 x 1.2 + 2 = 44.0 | Does not fit | 70 x 1.0 x 1.2 + 2 = 86.0 | Does not fit |
The Q4 format here means a typical 4-bit GGUF such as Q4_K_M, and the formula is an estimate, not a file size. For how quant formats trade quality for memory, read the LLM quantization guide. For a general sizing method, see how much VRAM you need. Model pages exist for Qwen3, Gemma 3 and Phi-4.
ROCm, Ollama and llama.cpp support for the RX 7900 XTX
Software support is the main risk on an AMD card, so this section sticks to what the vendor and project documentation say. The table separates Linux from Windows because they differ. The rows below list what each page states about the 7900 XTX. A listing means the vendor or project documents the card, and it does not promise any particular speed or stability.
| Backend or tool | What the documentation says |
|---|---|
| ROCm, Linux | Listed. RX 7900 XTX (gfx1100) is marked supported in AMD's system requirements. Listed OS: Ubuntu 24.04.4, Ubuntu 22.04.5, RHEL 10.1 and RHEL 9.7 (source 2). The Radeon-specific compatibility page shows Ubuntu 24.04.4, Ubuntu 22.04.5 and RHEL 10.1 in its ROCm 7.2.1 section (source 3). |
| ROCm / HIP SDK, Windows | Listed. AMD's HIP SDK for Windows page marks the 7900 XTX supported for Runtime and HIP SDK on Windows 11, with 22H2 validated. The page is labeled 7.2.0 and legacy documentation (source 4). |
| Ollama, Linux | Listed. 7900 XTX is in the Radeon RX 7000 list. Requires the AMD ROCm v7 driver (source 5). |
| Ollama, Windows | Listed. 7900 XTX is in the Windows Radeon RX 7000 list. Requires a ROCm v7 or HIP7-capable driver stack (source 5). |
| Ollama, Vulkan | Documented for Windows and Linux, enabled by default when the backend is installed. Disable with OLLAMA_VULKAN=0 (source 5). |
| llama.cpp, HIP | Build flag -DGGML_HIP=ON with -DGPU_TARGETS. The docs say gfx1100 corresponds to the RX 7900 XTX, XT and GRE (source 6). |
| llama.cpp, Vulkan | Build flag -DGGML_VULKAN=1 on Linux, with the Vulkan SDK or system packages installed (source 6). |
Linux versus Windows
On Linux, AMD's ROCm system requirements list the 7900 XTX as supported on Ubuntu and RHEL releases (source 2). The two AMD pages differ slightly on RHEL: the general system requirements page lists RHEL 10.1 and RHEL 9.7 for this card, while the Radeon compatibility page lists RHEL 10.1 in its ROCm 7.2.1 section (source 3). Check the page for your ROCm release before you pick a distribution. AMD's product page lists "Ubuntu x86 64-Bit" and "Linux x86 64-Bit" under OS support next to Windows 11 and Windows 10 (source 1). Distributions outside AMD's lists are not documented, so treat them as unsupported.
On Windows, AMD's HIP SDK page marks the 7900 XTX supported for the runtime and the SDK on Windows 11 (source 4). Ollama lists the 7900 XTX in its Windows Radeon table (source 5). The llama.cpp ROCm scoreboard includes a Windows 11 submission on a 7900 XTX using Adrenalin 25.8.1 (source 7). AMD's ROCm system requirements table for Radeon does not mention Windows (source 2), so the Windows evidence sits in the HIP SDK page, Ollama's docs and the scoreboard.
Ollama on the 7900 XTX
Ollama's GPU page lists the 7900 XTX for both operating systems. It requires the AMD ROCm v7 driver on Linux and a ROCm v7 or HIP7-capable driver stack on Windows (source 5). Vulkan is a second path: Ollama says it is enabled by default when the backend is installed, that most Windows GPU drivers bundle Vulkan support, and that most Linux distributions need extra components. If a ROCm driver problem blocks the card, OLLAMA_VULKAN=0 turns Vulkan off and GGML_VK_VISIBLE_DEVICES selects devices. On Linux, ROCR_VISIBLE_DEVICES picks which ROCm GPUs Ollama uses. Ollama also documents HSA_OVERRIDE_GFX_VERSION for unsupported Linux GPUs. The 7900 XTX is a listed card, so that override is a fallback for other models. Ollama setup details are in the Ollama cheat sheet.
llama.cpp HIP and Vulkan builds
The llama.cpp build docs describe a HIP backend. Their Linux example targets gfx1030 and their Windows example targets gfx1100, and the docs state that gfx1100 corresponds to the Radeon RX 7900 XTX, XT and GRE (source 6). Adapting the documented Linux command for this card gives:
HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -R)" cmake -S . -B build -DGGML_HIP=ON -DGPU_TARGETS=gfx1100 -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release -- -j 16 The docs call GPU_TARGETS optional and say that omitting it builds for all GPUs in the system. HIP_VISIBLE_DEVICES picks the GPU at runtime. The docs also note that HSA_OVERRIDE_GFX_VERSION is not supported on Windows. The Vulkan backend builds with cmake -B build -DGGML_VULKAN=1 on Linux after you install the Vulkan SDK or the system packages, and the docs list Windows build routes too. For how Ollama and llama.cpp differ in practice, see Ollama vs llama.cpp.
The bandwidth ceiling: 960 GB/s against 936 and 1008
Generating one token means reading the active weights from VRAM once, so a rough upper bound on decode speed is memory bandwidth divided by the bytes read per token. This section is arithmetic, not a measurement. It counts weights only (params x bytes per parameter, Q4 at 0.5 bytes) and ignores the KV cache, so real speeds sit below it. The bandwidth values come from AMD's page for the 7900 XTX and from the site catalog for the other two cards (sources 1 and 12).
| Card | Bandwidth (GB/s) | 8B Q4 (4.0 GB), tokens/s | 14B Q4 (7.0 GB), tokens/s | 32B Q4 (16.0 GB), tokens/s | 8B Q8 (8.0 GB), tokens/s |
|---|---|---|---|---|---|
| RX 7900 XTX | 960 | 240.0 | 137.1 | 60.0 | 120.0 |
| RTX 3090 | 936 | 234.0 | 133.7 | 58.5 | 117.0 |
| RTX 4090 | 1008 | 252.0 | 144.0 | 63.0 | 126.0 |
Arithmetic: 960 / 4.0 = 240.0, 960 / 7.0 = 137.1 and 960 / 16.0 = 60.0 for the 7900 XTX. The 7900 XTX has 1.03 times the bandwidth of the 3090 (960 / 936) and 0.95 times the 4090's (960 / 1008). On a memory-bound decode, the three cards share one ceiling band, so any decode gap between them traces to other factors, such as kernel maturity and backend choice. That is this guide's reasoning, and the sources do not isolate the cause.
Third-party tokens per second
The tables below are third-party numbers, copied exactly from the sources and checked on 2026-11-22. The site did not produce them. All rows use the same Llama 2 7B Q4_0 model (3.56 GiB, 6.74 B parameters) and llama-bench, with pp512 as prompt processing and tg128 as token generation in tokens per second. The rows come from volunteers, so builds, drivers, power limits and operating systems differ. Treat the spread as part of the answer.
llama.cpp scoreboards: 7900 XTX against 3090 and 4090
| Card and backend | Source detail | Flash attention | pp512 | tg128 |
|---|---|---|---|---|
| RX 7900 XTX, Vulkan | Source 8, scoreboard posted 2024-12-18, commit 304665f | off | 3726.99 | 182.63 |
| RX 7900 XTX, Vulkan | Source 8, same scoreboard | on | 3889.54 | 190.92 |
| RX 7900 XTX, ROCm | Source 7, scoreboard, commit 2f0c2db, no date shown | off | 3552.27 | 167.11 |
| RX 7900 XTX, ROCm | Source 7, same scoreboard | on | 3874.25 | 170.12 |
| RX 7900 XTX (ASUS TUF), ROCm 6.4.2 | Source 7, comment 2025-08-08, commit 6c7e9a5 | off | 3386.75 | 128.25 |
| RX 7900 XTX (ASUS TUF), ROCm 6.4.2 | Source 7, same comment | on | 3674.25 | 124.61 |
| RX 7900 XTX (ASUS TUF), ROCm 7.0-rc1 | Source 7, comment 2025-08-13, commit 648ebcd | off | 3473.24 | 132.17 |
| RX 7900 XTX (ASUS TUF), ROCm 7.0-rc1 | Source 7, same comment | on | 3698.73 | 127.43 |
| RX 7900 XTX (Powercolor Red Devil), Windows 11, Adrenalin 25.8.1 | Source 7, comment 2025-08-06, commit 2572689, backend "ROCm,RPC" | off | 3434.01 | 153.91 |
| RX 7900 XTX (Powercolor Red Devil), Windows 11, Adrenalin 25.8.1 | Source 7, same comment | on | 3633.86 | 145.23 |
| RX 7900 XTX (Sapphire Nitro+ Vapor-X), ROCm 6.4.3 | Source 7, comment 2025-09-17, commit b9be58d, backend "ROCm,RPC" | off | 2817.81 | 112.18 |
| RX 7900 XTX (Sapphire Nitro+ Vapor-X), ROCm 6.4.3 | Source 7, same comment | on | 3053.77 | 110.70 |
| RTX 3090, CUDA | Source 9, scoreboard, commit c76b420 | off | 5174.69 | 158.16 |
| RTX 3090, CUDA | Source 9, same scoreboard | on | 5560.06 | 161.89 |
| RTX 4090, CUDA | Source 9, scoreboard, commit 2241453 | off | 11992.70 | 186.21 |
| RTX 4090, CUDA | Source 9, same scoreboard | on | 14770.63 | 188.96 |
Five readings follow, all arithmetic on the table above.
- Against the bandwidth ceiling: a 3.56 GiB file is about 3.82 GB, so the ceilings are 251.1 tokens/s for the 7900 XTX, 244.9 for the 3090 and 263.7 for the 4090. The Vulkan scoreboard row (182.63) reaches 73 percent of the XTX ceiling and the ROCm scoreboard row (167.11) reaches 67 percent. The 3090 row (158.16) reaches 65 percent of its ceiling and the 4090 row (186.21) reaches 71 percent.
- Against the 3090 on decode: the XTX Vulkan scoreboard row is 1.15 times the 3090 CUDA row (182.63 / 158.16) and the ROCm scoreboard row is 1.06 times (167.11 / 158.16). Several 2025 ROCm comment rows sit lower, from 110.70 to 153.91, which is below the 3090's 158.16.
- Against the 4090 on decode: the 4090 (186.21) is about equal to the XTX Vulkan row (182.63) and 1.11 times the ROCm scoreboard row (186.21 / 167.11).
- Prompt processing is where the XTX trails. The XTX ROCm scoreboard row (3552.27) is 69 percent of the 3090 (5174.69) and 30 percent of the 4090 (11992.70). The Vulkan row (3726.99) is 72 and 31 percent.
- Spread within the XTX: tg128 runs from 110.70 to 190.92 across the rows above. The rows differ in backend, ROCm version, build, board and power limit, so no single row stands for the card.
A 7B model at short context is the friendliest case for decode speed. A 24 GB card usually runs bigger models, so read these rows as a comparison of backends and cards, and not as a forecast for 27B or 32B work.
Hardware Corner: larger models on the 24 GB NVIDIA cards
Hardware Corner's GPU ranking page (updated 9 December 2025) runs llama-bench on Ubuntu 24.04 with CUDA 12.8 and lists 4-bit Q4_K_XL for token generation (source 10). The page has no RX 7900 XTX rows, so this table covers only the two NVIDIA neighbors and shows what a 24 GB class card does with 14B to 32B models at 16K context. The page does not state a driver version or a llama.cpp build.
| Model (Q4, 16K context) | RTX 3090 tg | RTX 4090 tg | RTX 3090 prefill | RTX 4090 prefill |
|---|---|---|---|---|
| Qwen3 8B | 87.45 | 104.31 | 2572.49 | 6720.91 |
| Qwen3 14B | 52.14 | 69.14 | 1678.68 | 3927.70 |
| gpt-oss 20B | 128.51 | 163.92 | 3243.60 | 6302.76 |
| Qwen3 30B (MoE) | 113.84 | 139.71 | 1958.99 | 4548.53 |
| Qwen3 32B | 30.28 | 37.68 | 767.82 | 1684.85 |
Qwen3 32B decodes at 30.28 tokens/s on the 3090 and 37.68 on the 4090, a 1.24 times gap (37.68 / 30.28), while the 4090's prefill is 2.19 times higher (1684.85 / 767.82). The page's prompt processing section labels Qwen3 8B as Q4_K, so treat prefill as Q4-class. The 3090's 30.28 on the 32B model is 52 percent of its 58.5 tokens/s ceiling for a 16 GB weight file (936 / 16.0). The 7900 XTX has no row here, so use the 7B scoreboard comparison above to place it, and treat any 32B figure for it as unmeasured on this site.
Trade-offs: who should buy a 24 GB Radeon
Memory size, bandwidth and price tier
The 7900 XTX sits in the same memory tier as the two cards most local-LLM buyers consider for 24 GB: the same 24 GB capacity, a 384-bit bus, and bandwidth of 960 against 936 and 1008 GB/s. That puts it in the 27B to 32B Q4 class, which is the sweet spot for local assistants today. The catalog carries no prices, and AMD's page lists none, so this guide quotes none. The buying logic stays the same at any price. Capacity decides which models load. Bandwidth decides decode speed. A card with the same capacity and bandwidth as a 3090 earns a place when it costs meaningfully less or ships with a warranty the used 3090 lacks. If the price is about equal, the CUDA card carries less software risk, and the next section explains why.
Software: the real cost of choosing Radeon
NVIDIA's documented floor is wide: Ollama lists compute capability 5.0 or higher with driver 550 or newer (source 5). AMD's is narrower and tied to named GPUs, operating systems and ROCm releases. The 7900 XTX is on those lists, which is the good news. Ollama and llama.cpp both run on it, and llama.cpp offers two backends, HIP and Vulkan. The scoreboards show the two backends in the same range, with the Vulkan scoreboard row (182.63) above the ROCm scoreboard row (167.11) for the no-FA runs. The two scoreboards use different commits and dates, so treat that gap as a hint, not a verdict. If you plan to chat with models through Ollama or LM Studio style tools, you are on the happy path. If you plan to run research code, fine-tuning scripts or the newest inference servers, plan to read ROCm release notes and match your OS version to AMD's list. Linux gets the wider support. On Windows, AMD documents the HIP SDK for Windows 11 only.
Power, cooling and the case
AMD lists 355 W typical board power, two 8-pin connectors, an 800 W minimum PSU recommendation and a 287 mm, 2.5-slot reference size (source 1). That sits close to the 3090's 350 W in the catalog and 95 W below the 4090's 450 W. Partner cards often ship larger coolers and higher power limits than the reference design. The scoreboard comments mention 400 W power limits on two partner boards, so check the exact model against your case and PSU. Size the supply by the rating, because the sources give no measured draw during inference.
New or used, and long context
Check live listings before you decide, because this guide quotes no prices. The catalog recorded the Sapphire Pulse listing as currently unavailable on 2026-10-17, so stock changes and a used market may be your only route at times. For a used card, ask for proof of the full 24 GB model and a recent stress test. Long context changes the math. The fit table assumes about 4K tokens, and each extra token adds KV cache memory on top of the weights. Qwen3 32B at Q4 is already tight at 21.2 GB, so a long document session pushes it past 24 GB unless you quantize the KV cache or offload layers. The KV cache quantization guide and the hybrid offloading guide cover both fixes. Smaller models such as Gemma 3 27B at Q4 (18.2 GB) leave about 5.8 GB for context.
When to step up, and who should skip it
Buy the 7900 XTX if you want 24 GB with a 384-bit bus, you run Linux or Windows 11 with Ollama or llama.cpp, you want 27B to 32B models at Q4, and the listing in front of you undercuts a 3090 or a 4090. It also suits a build where you value the 355 W rating against the 4090's 450 W. Skip it if your toolchain depends on CUDA-only libraries, if you need the fastest prompt processing for long documents (the scoreboard puts the XTX near 70 percent of the 3090 and under a third of the 4090), or if you want a card that works without reading compatibility tables first. Step up to the RTX 4090 when prefill speed and software reach matter more than power. Step down to a 16 GB card if you run 14B models and no larger. The RTX 5070 Ti guide and the Intel Arc B580 guide cover other non-24 GB tiers. For wider surveys, read the best 24 GB GPU guide, the best GPU for LLMs guide and the best budget GPU guide.
Comparison with the two nearest cards
The nearest cards in the catalog are the RTX 4090 24GB and the RTX 3090 24GB. Both match the 7900 XTX on capacity. Values come from AMD's page, the llama.cpp scoreboards and the site catalog (sources 1, 9 and 12).
| Card | VRAM | Memory and bus | Bandwidth | TDP | Architecture | Main software path |
|---|---|---|---|---|---|---|
| RX 7900 XTX | 24 GB | GDDR6, 384-bit | 960 GB/s | 355 W | RDNA 3, 96 CUs | ROCm, Vulkan |
| RTX 4090 | 24 GB | GDDR6X, 384-bit | 1008 GB/s | 450 W | Ada Lovelace, 16384 CUDA cores | CUDA, Vulkan |
| RTX 3090 | 24 GB | GDDR6X, 384-bit | 936 GB/s | 350 W | Ampere, 10496 CUDA cores | CUDA, Vulkan |
Against the RTX 4090, the 7900 XTX has the same 24 GB, 48 GB/s less bandwidth (960 against 1008) and draws 95 W less (355 W against 450 W). Every fit verdict is identical on both cards. The 4090 is the faster card on prompt processing by a wide margin in the scoreboard rows, and decode on short 7B work lands in the same band. See the RTX 4090 guide for that card's details.
Against the RTX 3090, the 7900 XTX has a 24 GB/s bandwidth edge (960 against 936, 1.03 times) and draws 5 W more (355 W against 350 W). The two cards fit the same models. The 3090 runs CUDA and posts higher prompt processing numbers, while the 7900 XTX posted higher short-context decode on the Vulkan and ROCm scoreboard rows, though several ROCm comment rows fall below the 3090. The RTX 3090 guide covers the CUDA side in detail.
Check each card against specific models in Can I Run It: RX 7900 XTX, RTX 4090 24GB and RTX 3090 24GB. The general tool lives at Can I Run It. For 16 GB alternatives, see the RTX 5070 Ti guide.
See the Sapphire Pulse Radeon RX 7900 XTX 24GB on Amazon
ASIN B0BR6HZZ6Z. Amazon Associates link. The live price is on that page, not locked in here.
FAQ
Is the RX 7900 XTX good for LLMs?
Yes for capacity and decode speed, with caveats on software. The card has 24 GB of GDDR6 at up to 960 GB/s, so a 32B model at Q4 (21.2 GB by the site formula) and a 27B model at Q4 (18.2 GB) load at about 4K context. On a short Llama 2 7B Q4_0 test, community llama-bench rows put it at 110.70 to 190.92 tokens/s for generation depending on backend, build and system. The trade is a smaller software ecosystem than CUDA.
Does the 7900 XTX work with Ollama?
Yes. Ollama lists the 7900 XTX in its AMD Radeon tables for both Linux and Windows. On Linux it requires the AMD ROCm v7 driver, and on Windows it requires a ROCm v7 or HIP7-capable driver stack. Ollama also supports Vulkan, which it enables by default when the backend is installed, and you can turn it off with OLLAMA_VULKAN=0.
How do I run llama.cpp on a 7900 XTX with ROCm?
Install ROCm, then build with the HIP backend: cmake -S . -B build -DGGML_HIP=ON -DGPU_TARGETS=gfx1100 -DCMAKE_BUILD_TYPE=Release. The llama.cpp build docs say gfx1100 corresponds to the Radeon RX 7900 XTX, XT and GRE. The docs show a Linux command with gfx1030 and a Windows command with gfx1100, so this line adapts the documented flags to this card. A Vulkan build with -DGGML_VULKAN=1 is the alternative.
Is the 7900 XTX better than the RTX 3090 for AI?
It depends on the workload. The catalog lists 960 GB/s for the 7900 XTX against 936 GB/s for the 3090, both with 24 GB, and the 7900 XTX draws 355 W against 350 W. On the llama.cpp 7B Q4_0 scoreboards, decode is in the same band (182.63 tokens/s on Vulkan and 167.11 on ROCm for the XTX, 158.16 for the 3090 on CUDA), but prompt processing on the XTX is about 69 to 72 percent of the 3090. The 3090 also runs CUDA, which most AI software targets first.
Can the 7900 XTX run a 70B model?
Not in VRAM. Llama 3.3 70B at Q4 comes to 70 x 0.5 x 1.2 + 2 = 44 GB by the site formula, nearly double the 24 GB on the card. You can offload layers to system RAM, which works but slows generation sharply. Two 24 GB cards or a larger memory pool are the usual routes.
Does the 7900 XTX run on Windows for local AI?
Yes, through documented paths. AMD lists Windows 11 and Windows 10 on the product page, Ollama lists the 7900 XTX for Windows, and AMD's HIP SDK for Windows page marks the 7900 XTX (gfx1100) supported on Windows 11. AMD's Linux ROCm tables list Ubuntu and RHEL releases for this card.
Sources
| # | URL | Claim it supports | Date checked (PT) |
|---|---|---|---|
| 1 | https://www.amd.com/en/products/graphics/desktops/radeon/7000-series/amd-radeon-rx-7900xtx.html | RX 7900 XTX: 24 GB GDDR6, up to 20 Gbps, up to 960 GB/s, 96 MB Infinity Cache, 96 compute units, 6144 stream processors, 355 W typical board power, 2x8-pin, 800 W minimum PSU recommendation, 287 mm length, 2.5 slots, launch 12/13/2022, OS support Windows 11, Windows 10, Ubuntu x86 64-bit, Linux x86 64-bit. Bus width not stated on the page. Fetched as raw HTML after two WebFetch timeouts | 2026-11-22 |
| 2 | https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html | Radeon table row "AMD Radeon RX 7900 XTX | RDNA3 | gfx1100" marked supported; listed OS for this GPU: Ubuntu 24.04.4, Ubuntu 22.04.5, RHEL 10.1, RHEL 9.7; no Windows mention | 2026-11-22 |
| 3 | https://rocm.docs.amd.com/projects/radeon-ryzen/en/latest/docs/compatibility/compatibilityrad/native_linux/native_linux_compatibility.html | Radeon native Linux compatibility: RX 7900 XTX supported in the ROCm 7.2.1 section on Ubuntu 24.04.4 (HWE, kernel 6.17), Ubuntu 22.04.5 (HWE, kernel 6.8) and RHEL 10.1 (kernel 6.12); PyTorch 2.9.1 with ROCm 7.2.1 listed with official production support | 2026-11-22 |
| 4 | https://rocm.docs.amd.com/projects/install-on-windows/en/latest/reference/system-requirements.html | HIP SDK for Windows system requirements (page labeled 7.2.0 and legacy documentation): RX 7900 XTX (RDNA3, gfx1100) Runtime and HIP SDK supported, debugger not supported; Windows 11 only, 22H2 validated | 2026-11-22 |
| 5 | https://docs.ollama.com/gpu | Ollama AMD support: ROCm v7 driver on Linux, ROCm v7 or HIP7-capable driver stack on Windows, 7900 XTX in both Radeon RX 7000 lists; Vulkan on Windows and Linux, enabled by default when the backend is installed; OLLAMA_VULKAN=0, GGML_VK_VISIBLE_DEVICES, ROCR_VISIBLE_DEVICES; HSA_OVERRIDE_GFX_VERSION on Linux; NVIDIA compute capability 5.0 or higher with driver 550 or newer | 2026-11-22 |
| 6 | https://github.com/ggml-org/llama.cpp/blob/master/docs/build.md | HIP build with -DGGML_HIP=ON and -DGPU_TARGETS (gfx1030 Linux example, gfx1100 Windows example, gfx1100 equals RX 7900 XTX, XT, GRE); HIP_VISIBLE_DEVICES; HSA_OVERRIDE_GFX_VERSION not supported on Windows; Vulkan build with -DGGML_VULKAN=1 | 2026-11-22 |
| 7 | https://github.com/ggml-org/llama.cpp/discussions/15021 | ROCm (HIP) llama-bench scoreboard and comments for llama-2-7b.Q4_0.gguf (3.56 GiB, 6.74 B): RX 7900 XTX rows with 24 GB GDDR6 384-bit, build hashes, ROCm versions and a Windows 11 row, August to September 2025 | 2026-11-22 |
| 8 | https://github.com/ggml-org/llama.cpp/discussions/10879 | Vulkan llama-bench scoreboard for Llama 2 7B Q4_0 (posted 2024-12-18): AMD Radeon RX 7900 XTX rows without and with flash attention, commit 304665f | 2026-11-22 |
| 9 | https://github.com/ggml-org/llama.cpp/discussions/15013 | CUDA llama-bench scoreboard for Llama 2 7B Q4_0: RTX 3090 and RTX 4090 rows, 24 GB GDDR6X 384-bit, without and with flash attention | 2026-11-22 |
| 10 | https://www.hardware-corner.net/gpu-ranking-local-llm/ | Third-party llama-bench tables (updated 2025-12-09, Ubuntu 24.04, CUDA 12.8, Q4_K_XL generation) for RTX 3090 and RTX 4090; no RX 7900 XTX rows on the page | 2026-11-22 |
| 11 | https://llmhardware.io/methodology | Formula GB = params x bytes per param x 1.2 + 2; about 4K context | 2026-11-22 |
| 12 | https://llmhardware.io/hardware | Catalog entries (data/hardware.json): RX 7900 XTX 24 GB, 355 W, 960 GB/s, RDNA 3, 96 compute units; RTX 4090 24 GB, 450 W, 1008 GB/s, 16384 CUDA cores; RTX 3090 24 GB, 350 W, 936 GB/s, 10496 CUDA cores | 2026-11-22 |
| 13 | https://llmhardware.io/models | Parameter counts (data/models.json): Mistral 7B 7, Qwen3 8B 8, Gemma 3 12B 12, Qwen3 14B 14, Phi-4 14, gpt-oss 20B 20, Gemma 3 27B 27, Qwen3 32B 32, Llama 3.3 70B 70 | 2026-11-22 |