AI

Best GPU Under $500 for Local AI in 2026: 12 GB vs 16 GB Tested

This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. Learn more.

The best GPU under $500 for local AI is the RTX 3060 12GB, the only new 12 GB card that still fits the budget. On the test box it generated 65.2 tokens per second on Llama 3.1 8B and 35.1 on Qwen3 14B. That works out to 15.7 tokens per second for every $100, because the 16 GB cards that should own this bracket now start near $750.

Original content from computingforgeeks.com - post 196858

We rented both NVIDIA cards and ran one script on each, so the 12 GB versus 16 GB gap is measured. The RTX 5060 Ti 16GB was 27 percent faster on Llama 3.1 8B (Ollama 0.40.18, measured November 2026 on Ubuntu 24.04). At a 32K context it kept Qwen3 14B on the GPU, where the 3060 slowed to 12 tokens per second.

Prices come from Amazon and B&H on November 27, 2026, in a Black Friday week squeezed by a memory shortage. Treat every dollar figure as a snapshot and check the live price before you buy.

Measured tokens per second per $100

Generation speed is the number you feel in a chat window, so it leads the table. Each cell is the mean of runs 2 and 3 of a 256 token answer. The last column divides the Llama 3.1 8B result by the lowest Amazon price we saw for that card.

CardVRAMLlama 3.1 8BQwen3 8BQwen3 14BQwen3 14B, 32K contextPrice seenLlama 8B tok/s per $100
RTX 3060 12GB12 GB65.2 tok/s61.3 tok/s35.1 tok/s12.1 tok/s (26% on CPU)about $414 to $46015.7
RTX 5060 Ti 16GB16 GB82.7 tok/s78.0 tok/s44.4 tok/s43.6 tok/s (100% GPU)about $800 to $83010.3
Ollama 0.40.18, Q4_K_M default tags, temperature 0, seed 42. Prices: Amazon, November 27, 2026; check the live price.

On value the 3060 wins by about 50 percent at 8B, and it still leads at 14B with 8.5 against 5.6 tokens per second per $100. On headroom the 5060 Ti wins, because its extra 4 GB holds a long context. Its lead held at about 27 percent on all three models at 4K, then grew to 3.6 times at 32K.

Our two cards cannot rank AMD and Intel, so for those we read the public llama.cpp Vulkan scoreboard. Owners post llama-bench results there on one fixed model, Llama 2 7B at Q4_0. Its 5060 Ti and 3060 rows sit 23 percent apart, close to our 27 percent, so we trust the other rows for ranking.

CardVRAMtg128 (generation)pp512 (prompt)Price seen Nov 27tg128 per $100
RTX 306012 GB75.94 t/s1,815.70 t/sabout $41418.3
RTX 5060 Ti16 GB93.51 t/s3,460.92 t/sabout $80011.7
Arc B58012 GB70.14 t/s620.94 t/sabout $723 (lead time)9.7
RX 9060 XT16 GB71.07 t/s2,844.80 t/sabout $7509.5
Arc Pro B5016 GB46.30 t/s1,186.45 t/sabout $600 (B&H)7.7
RTX 309024 GB164.05 t/s4,666.15 t/sabout $2,200 (renewed listing)7.5
Speed: llama.cpp discussion #10879, Vulkan backend, Llama 2 7B Q4_0, no flash attention, owner-submitted runs. Prices: Amazon and B&H, November 27, 2026.

Read it for these three picks, ranked by measured value and then by VRAM:

Arc B580 generation matches the 9060 XT, but its prompt column is the lowest of the six and Amazon had the Intel card out of stock. We list the 3090 only to show the ceiling. At 2.2 times the speed of a 3060 for 5.3 times the price, it belongs in our full GPU guide for local LLMs, not in a $500 budget.

How the two cards were measured

Both cards were rented on vast.ai as single GPU hosts with the same Ollama build and script. The 5060 Ti host came with a 150 W power cap, 30 W under the 180 W reference. Both cards sat in PCIe gen 3 x16 slots, so read the results with these details in mind:

  • Generation tok/s: eval_count divided by eval_duration from the Ollama API, three runs of 256 tokens per model, run 1 discarded as warmup.
  • Power cap: token generation is bound by memory bandwidth, so the 150 W limit costs the 5060 Ti little here; a stock card may read slightly higher.
  • PCIe gen 3: once a model is loaded the bus carries almost nothing, so it slows model loading and CPU spill, not steady generation.
  • VRAM used: the nvidia-smi reading taken right after the third run, with the model still loaded.

Run-to-run spread stayed within 0.2 tokens per second on every model at the default 4K context. A gap of 1 or 2 tokens per second between cards is therefore real. Prompt numbers from run 1 swing from 1 to 3,000 tokens per second, so we quote prompt speed only from runs 2 and 3.

nvidia-smi on the RTX 5060 Ti 16GB test host showing driver 615.71.09, 16311 MiB and a 150 W cap

On the 5060 Ti, nvidia-smi reports 16,311 MiB of usable memory, against 12,288 MiB on the 3060 at its stock 170 W limit. That 4,023 MiB gap decides most of what follows. The 20B model and a 14B model at long context land right on either side of the 12 GB line, so a few hundred MiB changes the verdict.

1. RTX 3060 12GB: the only new 12 GB card under $500

Buy the RTX 3060 12GB when the budget is a hard $500 and your models are 14B or smaller at normal context lengths.

MSI GeForce RTX 3060 Ventus 2X 12G OC, the best GPU under $500 for local AI
MSI RTX 3060 Ventus 2X 12G OC: 12 GB GDDR6 on a 192-bit bus, 170 W. Image: MSI.

On the test box it produced 65.2 tokens per second on Llama 3.1 8B and 61.3 on Qwen3 8B, both well above reading speed. Qwen3 14B loaded at 9,363 MiB and generated 35.1 tokens per second fully on the GPU. About 2.9 GB stays free, enough for a moderate context or a second small model.

RTX 3060 12GB Ollama benchmark output showing Qwen3 14B at 35.1 tokens per second using 9363 MiB

Skip it if you plan to feed long documents into a 14B model. At a 32K context Qwen3 14B grew to 14 GB, so Ollama moved 26 percent of it to system RAM. Generation fell from 35.1 to 12.1 tokens per second, a 66 percent loss, and the VRAM ceilings section shows where it starts.

Check the listing title before you pay, because NVIDIA also sold an 8 GB RTX 3060 on a 128-bit bus. That card cannot hold Qwen3 14B at all. The MSI Ventus 2X 12G sat at about $414 and in stock on November 27; check the MSI RTX 3060 12G listing for the current price. The Gigabyte RTX 3060 Windforce OC 12G was the next option at about $460.

2. RTX 5060 Ti 16GB: the 16 GB card to wait for

Buy the RTX 5060 Ti 16GB when you need 20B models or 32K contexts on the GPU and can stretch to about $800, or wait for the price to fall back.

PNY GeForce RTX 5060 Ti 16GB OC dual fan card for local LLMs
PNY RTX 5060 Ti 16GB OC Dual Fan: 16 GB GDDR7 at 448 GB/s, 180 W reference TGP. Image: PNY.

NVIDIA lists 16 GB of GDDR7 on a 128-bit bus, which at 28 Gbps works out to 448 GB/s. On the test box that became 82.7 tokens per second on Llama 3.1 8B and 44.4 on Qwen3 14B. Its best result was gpt-oss:20b at 94.6 tokens per second and 12,448 MiB. This mixture of experts model beats the 8B dense models because only a fraction of its weights run per token.

RTX 5060 Ti 16GB running gpt-oss 20b in Ollama at 94.6 tokens per second fully on GPU

Extra memory is what the money buys. Qwen3 14B at a 32K context used 13,920 MiB and stayed 100 percent on the GPU at 43.6 tokens per second, 98 percent of its 4K speed. Our RTX 5060 Ti vs 5070 Ti benchmarks show what the next $300 buys if 16 GB is your floor.

Skip it if $500 is a hard limit. Every Amazon 5060 Ti 16GB listing we checked showed a future ship date instead of stock, from about $800 for the PNY to $830 for the ASUS Prime. B&H had the PNY EPIC-X in stock near $850. Check the PNY RTX 5060 Ti 16GB listing for the live price and ship date.

3. Radeon RX 9060 XT 16GB: 16 GB in stock today

Buy the RX 9060 XT 16GB when you want 16 GB on a card you can order today and you are comfortable on Linux with ROCm or Vulkan.

XFX Swift Radeon RX 9060 XT 16GB card for local AI on a budget
XFX Swift RX 9060 XT 16GB: 320 GB/s, 160 W, gfx1200 in the ROCm tables. Image: XFX.

We did not rent a Radeon for this round, so its speed comes from the llama.cpp Vulkan scoreboard. There it posts 71.07 tokens per second at tg128, 6 percent behind the 3060 row and 24 percent behind the 5060 Ti. AMD rates it at 320 GB/s, the lowest bandwidth of the three picks, which explains its place in the generation column.

Prompt processing is where it beats the 3060, at 2,844.80 against 1,815.70 tokens per second on the same scoreboard. Retrieval and coding tools send long prompts, so that column matters for them. At about $750 it costs $50 less than the 5060 Ti and ships now, which is the whole case for it this week.

Skip it if your tools assume CUDA, as many fine-tuning scripts still do. Buy only a listing that says 16GB, because an 8 GB 9060 XT ships under a near-identical name. The XFX Swift sat at about $750 and in stock on November 27; check the XFX Swift RX 9060 XT 16GB listing for the current price. Our AMD GPU guide for local LLMs covers ROCm support in depth.

Intel Arc B580, B770 and Pro B50 in November 2026

At its $249 launch price, Intel would have been the budget answer. On November 27 the Arc B580 Limited Edition showed out of stock on Amazon. The only B580 listing with a price was a Sparkle card at about $723 with a lead time, so its 70.14 tokens per second buys less than a 3060 at $414.

Intel lists the B580 at 12 GB, 456 GB/s and a PCIe 4.0 x8 link. Its weak spot is prompt processing on Vulkan, 620.94 tokens per second, about a third of the 3060. The llama.cpp SYCL backend through oneAPI is the other path on Arc, and the SYCL documentation lists the B580 as verified on Linux.

No consumer Arc B770 exists to buy. The larger BMG-G31 chip shipped as the Arc Pro B70 with 32 GB, $949 at launch and about $1,950 from resellers now, covered in our Arc Pro B70 vs Radeon AI Pro R9700 comparison. The Arc Pro B50 16GB is the cheapest 16 GB card here at about $600 from B&H. At 46.30 tokens per second, though, it posts the slowest generation in the table.

Used RTX 3090 vs RTX 4060 Ti 16GB

A used RTX 3090 was the usual advice for a budget build, and it no longer fits. Asking prices on eBay sat between about $1,890 and $2,280 in late November. A renewed Founders Edition listing on Amazon was about $2,200, so 24 GB now costs about four times our budget for 2.2 times the 3060 scoreboard speed.

For 32B models the 3090 is still the card to own. In our RTX 3090 vs RTX 5090 tests it generated 38.91 tokens per second on Qwen3 32B at Q4_K_M, where the 5090 reached 74.52. No card under $1,000 on this page holds that model without spilling into system RAM.

People also ask about the RTX 4060 Ti 16GB. A renewed MSI Ventus 3X 16G listed at about $764 with scarce stock, only about $36 under the 5060 Ti for the same 16 GB. At that gap we would take the 5060 Ti, because it brings the newer GDDR7 memory and the measured results above.

VRAM ceilings at 8, 12 and 16 GB

VRAM decides what loads, and context length decides how much more it needs. Every row below comes from a size Ollama reported or memory nvidia-smi measured on our two cards. Map your own models onto it:

Model and contextOllama sizeVRAM measured8 GB card12 GB (RTX 3060)16 GB (RTX 5060 Ti)
llama3.1:8b, 4K5.3 GB5,173 to 5,196 MiBFits65.2 tok/s82.7 tok/s
qwen3:8b, 4K5.6 GB5,481 MiBFits61.3 tok/s78.0 tok/s
gemma3:12b, 4K8.1 GB8,922 MiBToo bigFits on paper50.9 tok/s
qwen3:14b, 4K9.7 GB9,363 to 9,412 MiBToo big35.1 tok/s44.4 tok/s
gpt-oss:20b, 4K12 GB12,448 MiBToo bigOver 12,288 MiB94.6 tok/s
qwen3:14b, 32K14 GB13,920 MiB on 16 GBToo big12.1 tok/s, 26% CPU43.6 tok/s
qwen3:30b, 8K15 GB14,978 MiBToo bigToo big45 to 55 tok/s, 1% CPU
8 GB and “fits on paper” cells are derived from the measured footprints, not separate runs.

An 8 GB card is a trap here. It holds an 8B model, which used 5,173 to 5,481 MiB, but a 14B model needs about 9,400 MiB before any extra context. We would not buy an 8 GB card for local AI at any price in this bracket. Our LLM VRAM calculator runs the same arithmetic for any model you plan to pull.

Qwen3 30B is a mixture of experts model with about 3B active parameters. Its download is 19 GB, yet only 14,978 MiB sat on the card and ollama ps still reported a 1 percent CPU share. That figure understates what stays in system RAM, but it barely hurt, because only the active experts run per token: it generated 45.4 to 54.8 tokens per second on the 16 GB card. A dense model that spills loses far more, as the 3060 shows.

RTX 5060 Ti 16GB loading Qwen3 30B at 8K context with 1 percent on CPU and 14978 MiB of VRAM used

Run 3 at 54.8 tokens per second came in 20 percent above the 45.4 and 45.5 of runs 1 and 2. No model that stayed fully on the GPU showed a spread that wide. Plan on the lower 45 tokens per second, because a spilled model depends on system RAM speed.

Linux driver notes: NVIDIA open, ROCm and Intel xe

Driver stacks differ more between these cards than speed does. Each vendor reaches the GPU through its own kernel driver and compute layer. Here is what each pick needs on a current distribution:

CardKernel driverCompute path for LLMsWatch out for
RTX 5060 Ti (Blackwell)NVIDIA open kernel modules onlyCUDA, bundled by OllamaThe proprietary modules do not support Blackwell
RTX 3060 (Ampere)Open or proprietary NVIDIA modulesCUDA, bundled by OllamaEither flavour works; stay on one
RX 9060 XT (RDNA4)amdgpu, in the mainline kernelROCm (gfx1200) or VulkanROCm lists only some distributions as supported
Arc B580 and Pro B50 (Battlemage)xe, in the mainline kernelllama.cpp SYCL (oneAPI) or VulkanSYCL needs the Intel oneAPI toolkit installed
Sources: NVIDIA driver README (open kernel modules), AMD ROCm compatibility matrix, Intel xe driver source and the llama.cpp SYCL docs, read November 2026.

For the 5060 Ti, the NVIDIA open kernel modules README states that Blackwell GPUs are supported only by the open modules. Pick the open flavour when your distribution or the installer asks. The 3060 works with either flavour, and our two hosts ran the driver branches shown in the captures.

Most driver checks come down to reading lsmod, dmesg and process lists through grep. On Arc cards with a recent kernel, the xe driver binds Battlemage by device ID, 0xE20B for the B580, with no extra boot parameter.

Step 1: Confirm the card, VRAM and driver

Before any benchmark, confirm the card reports its full memory and the expected power limit. Rented and second-hand cards can carry a lower cap. We ran this query on both hosts:

nvidia-smi --query-gpu=name,memory.total,driver_version,pcie.link.gen.max,pcie.link.width.max,power.limit --format=csv

The 3060 host answered with the full 12,288 MiB and its stock 170 W limit:

nvidia-smi query on the RTX 3060 12GB test host showing 12288 MiB, driver 595.84 and a 170 W power limit

A 3060 that reports about 8,192 MiB is the 8 GB model. A power limit far under 170 W points at a vendor or host cap. Either one shifts the numbers in the results table, so note it before you compare.

Step 2: Install Ollama

The Ollama install script detects the NVIDIA GPU and bundles the CUDA runtime it needs. It needs curl, zstd and pciutils, whose lspci it uses to find the GPU:

sudo apt-get install -y curl zstd pciutils
curl -fsSL https://ollama.com/install.sh | sh
ollama --version

The tail of the installer output on the 5060 Ti host confirmed the GPU and the version:

>>> Creating ollama systemd service...
WARNING: systemd is not running
>>> NVIDIA GPU installed.
>>> The Ollama API is now available at 127.0.0.1:11434.
>>> Install complete. Run "ollama" from the command line.
ollama version is 0.40.18

Our rented container had no init system, which explains the systemd warning, so we started ollama serve by hand. On a normal desktop or server the installer enables the ollama service. The API then answers on port 11434 straight away.

Step 3: Run the benchmark script

Every number in this article came from the script below. It pulls a model and sends one short warmup request. Then it runs the same prompt three times at temperature 0 and prints generation speed and VRAM. Save it as bench.sh:

#!/bin/bash
# usage: bench.sh model [ctx]  -> 3 runs, prints prompt/gen tok/s and VRAM
M="$1"; CTX="${2:-4096}"
P='Explain, in about 300 words, how a Linux kernel schedules processes with the EEVDF scheduler and what nice values change.'
ollama pull "$M" >/dev/null 2>&1 || { echo "pull failed: $M"; exit 1; }
curl -s localhost:11434/api/generate -d "{\"model\":\"$M\",\"prompt\":\"hi\",\"stream\":false,\"options\":{\"num_ctx\":$CTX,\"num_predict\":8}}" >/dev/null
for i in 1 2 3; do
  curl -s localhost:11434/api/generate -d "{\"model\":\"$M\",\"prompt\":\"$P\",\"stream\":false,\"options\":{\"num_ctx\":$CTX,\"num_predict\":256,\"temperature\":0,\"seed\":42}}" \
  | tr ',' '\n' | awk -F: -v r=$i '
    /"prompt_eval_count"/{gsub(/[^0-9]/,"",$2);pc=$2}
    /"prompt_eval_duration"/{gsub(/[^0-9]/,"",$2);pd=$2}
    /"eval_count"/{gsub(/[^0-9]/,"",$2);ec=$2}
    /"eval_duration"/{gsub(/[^0-9]/,"",$2);ed=$2}
    END{printf "run %d: prompt %.1f tok/s, gen %.1f tok/s (%d tokens)\n", r, pc/(pd/1e9), ec/(ed/1e9), ec}'
done
ollama ps
nvidia-smi --query-gpu=name,memory.used,memory.total --format=csv,noheader

Make it executable and run it once per model. The optional second argument sets the context length, which produced the 32K rows:

chmod +x bench.sh
./bench.sh llama3.1:8b
./bench.sh qwen3:14b 32768

On the 3060, Llama 3.1 8B returned three runs within 0.1 tokens per second of each other, using 5,173 MiB:

RTX 3060 12GB Ollama benchmark output showing Llama 3.1 8B at 65.2 tokens per second fully on GPU

On the 5060 Ti the same command held 82.7 to 82.9 tokens per second at 5,196 MiB. Run 1 prompt speed reads 1.9 and 1.1 tokens per second on the two cards. That request still pays for setup, so we ignore run 1 in every table.

RTX 5060 Ti 16GB Ollama benchmark output showing Llama 3.1 8B at 82.7 tokens per second

Qwen3 14B on the 5060 Ti settled at 44.4 tokens per second with 9,412 MiB in use. That result sets the 27 percent lead in the 14B column. Compare it with the 3060 capture in the pick section, which shows the same model at 35.1.

RTX 5060 Ti 16GB Ollama benchmark output showing Qwen3 14B at 44.4 tokens per second

If your numbers land within 5 percent of these on the same model and context, the card is behaving. A gap of 20 percent or more usually means a lower power cap, a thermal limit or a partial spill. Step 4 checks for the spill.

Step 4: Check ollama ps for CPU spill

In ollama ps, the PROCESSOR column is the most useful field. It reads 100% GPU when the model and its context cache fit. A split such as 26%/74% CPU/GPU means they do not. Here is the 3060 at a 32K context:

RTX 3060 12GB running Qwen3 14B at 32K context with 26 percent of the model on CPU and 12 tokens per second

Only 10,651 MiB of the card was in use, yet Ollama put 26 percent of the model on the CPU. It splits layers from its own estimate of weights plus context cache, so about 1.6 GB stayed free. Generation dropped to 11.8 to 12.3 tokens per second. On the 5060 Ti the same command stayed on the GPU:

RTX 5060 Ti 16GB running Qwen3 14B at 32K context fully on GPU using 13920 MiB

Run 1 on the 5060 Ti returned 0 tokens with a -nan rate, an empty first answer at the new context size. Runs 2 and 3 gave 43.1 and 44.1 tokens per second at 13,920 MiB. If you see a blank first run, repeat it before you read anything into it.

What to watch in the metrics

Three readings show whether a budget card still suits your work after you install it. We check them each time we change model or context length:

  • PROCESSOR in ollama ps: anything other than 100% GPU on a dense model costs speed, and a 26 percent spill cost about two thirds as the 3060 went from 35.1 to 12.1 tokens per second.
  • memory.used against memory.total: on the 3060 the spill started with about 1.6 GB still free, so plan for about 85 percent of VRAM, not 100.
  • Generation tok/s per run: a spread above 1 token per second on a dense model means throttling or a background load; within 0.2, as on our runs, the card is steady.

Once the first reading leaves 100% GPU for your daily work, move from 12 GB to 16 GB. Our Ollama models cheat sheet lists the tags worth pulling for each tier. The Ollama commands cheat sheet covers the API and environment variables the script uses.

Keep reading

Run Amazon Ergo Locally: Hardware Requirements and vLLM Setup AI Run Amazon Ergo Locally: Hardware Requirements and vLLM Setup Open Source LLM Comparison Table (2026) AI Open Source LLM Comparison Table (2026) Ollama Models Cheat Sheet: Best Models by VRAM, Tested (PDF) AI Ollama Models Cheat Sheet: Best Models by VRAM, Tested (PDF) AI NAS Explained: Is Local AI on a NAS Worth It? AI AI NAS Explained: Is Local AI on a NAS Worth It? MedGemma 2 vs Gemma 4 vs MedGemma 1.5: Local Benchmark AI MedGemma 2 vs Gemma 4 vs MedGemma 1.5: Local Benchmark Monitor Qdrant with Prometheus and Grafana: Metrics and Alerts AI Monitor Qdrant with Prometheus and Grafana: Metrics and Alerts

Leave a Comment

Press ESC to close