Short answer (November 2026): Llama 3.1 8B fits easily in the RTX 5080's 16 GB and should decode at roughly 150-180 tok/s at Q4_K_M. That is our estimate, not a measurement: the closest published run, TechFuelHQ's Ollama test of the similar-size Qwen 2.5 7B, hit 180.0 tok/s on this card in August 2026, and the bandwidth ceiling for Llama's 4.9 GB file is about 195 tok/s. The April version of this page said 60-80 tok/s, less than half of that.
How to run Llama 3.1 8B on NVIDIA GeForce RTX 5080
Exact commands, expected tok/s, VRAM math for this specific combination.
Check your exact config: Will Llama 3.1 8B run on the RTX 5080? → Runs, 88.5 tok/s median of 2 cited runs. Each page swaps the card or the model and lists every source.

Hardware at a Glance
Median generation throughput at 7–9B models (Llama 3.1 8B, Qwen 3 8B), Q4 quantization, from community-reported runs SpecPicks tracks. Each row pools runs from different sources, runtimes and models in that class, so the rows are not a matched head-to-head; where the article compares cards on the same rig, its own figures are the like-for-like result. Street price is the second-lowest listing priced within the last 24 hours at 0.5–2× launch MSRP, so no single listing sets it, and a street figure well above MSRP says so in its cell; where too few listings pass that check the cell shows a dash and the launch MSRP, which is not comparable with the street figures. Rows marked for comparison are not the cards this article is about — they are included so the throughput column has something to be read against.
| GPU | VRAM | Llama-3-8B class, Q4 | Street price | Sources |
|---|---|---|---|---|
| NVIDIA GeForce RTX 5080 | 16 GB | 156 tok/s6 runs · 5 sources | —too few current listings for a street figure · launch MSRP was $999 | SpecPicks median of 6 runs; sources: llama.cpp GitHub, Hardware Corner, Local AI Master, LocalScore (Mozilla Builders) +1 more |
| NVIDIA GeForce RTX 5070 Tifor comparison | 16 GB | 122.8 tok/s8 runs · 6 sources | —too few current listings for a street figure · launch MSRP was $749 | SpecPicks median of 8 runs; sources: Hardware Corner, llama.cpp GitHub (CUDA scoreboard), Compute Market, ComputingForGeeks +2 more |
| Radeon RX 9070for comparison | 16 GB | 114.5 tok/s7 runs · 3 sources | $950street, all listings · 1.7× the $549 launch MSRP | SpecPicks median of 7 runs; sources: llama.cpp GitHub (ROCm scoreboard), KnightLi GPU Benchmark Scoreboard, vachsark.com |
Which models fit on an RTX 5080?
Llama 3.1 8B's Q4_K_M file is 4.9 GB (per its Hugging Face listing, bartowski/Meta-Llama-3.1-8B-Instruct-GGUF); on the RTX 5080, the weights and a usable context window both fit. SpecPicks tracks 6 community runs of that size on this card, median 156 tok/s. RTX 5080 carries 16 GB of VRAM. The weights column is the range of real Q4_K_M files on Hugging Face for the models in each size class (about 0.6 GB per billion parameters), and the runtime plus a usable context window wants about 2 GB on top; every tokens-per-second figure is a median over community-reported Q4 runs SpecPicks tracks for this card, with the run count and the source beside it.
Showing the model sizes this article covers and the band either side. Every size from 3B to 70B+, for every card SpecPicks tracks, is in the local-LLM GPU table.
| Model size | Weights at Q4 | Fits in 16 GB? | Measured | Left for context | Source |
|---|---|---|---|---|---|
| 3B (Llama 3.2 3B, Qwen 3 4B)Runs on almost anything with a discrete GPU, and usably on modern integrated graphics. | about 2 GB | Fits: weights and a usable context window | Nothing on file → | ~13 GBfor runtime and KV cache | — |
| 7-9B (Llama 3.1 8B, Qwen 3 8B)The mainstream local model. An 8 GB card fits it; a 12 GB card fits it with real context. | 4.4–5.8 GB | Fits: weights and a usable context window | 156 tok/s6 runs · 5 sources | ~10 GBfor runtime and KV cache | TechFuelHQ RTX 5080 LLM… |
| 12-14B (Qwen 3 14B, Phi-4)Where 8 GB stops being enough. 12 GB is the smallest card that holds it with a usable context window. | 7.3–9.1 GB | Fits: weights and a usable context window | 78 tok/s8 runs · 5 sources | ~6 GBfor runtime and KV cache | TechFuelHQ RTX 5080 LLM… |
Every RTX 5080 benchmark run, with its source → GPU picks for local LLM — the same table across every card we track How we source these numbers
What changed — November 2026
- Speed estimate corrected from 60-80 tok/s to about 150-180 tok/s, based on TechFuelHQ's 180.0 tok/s for Qwen 2.5 7B on this card (August 2026) and Hardware Corner's 94.1 tok/s for Qwen3 8B at 16K (source).
- Flagged an outlier: LocalScore's single RTX 5080 submission shows 44.9 tok/s for this model (source), below its own RTX 3090 result. We treat it as a misconfigured run.
- KV-cache math corrected: 128K of FP16 cache is 17.2 GB, so full context needs q8_0 KV on a 16 GB card.
- Build steps updated: llama.cpp now builds with CMake and can pull GGUFs directly with
-hf. - Prices refreshed: the cheapest in-stock RTX 5080 was $1,579 on November 2, 2026 (Local AI Master).
The original April 2026 version of this guide was generated from spec-sheet estimates. This revision replaces those estimates with published measurements where they exist, and labels anything we calculated ourselves.
Does it fit?
The RTX 5080 has 16 GB of GDDR7 at 960 GB/s. Llama 3.1 8B at Q4_K_M is a 4.9 GB file.
Verdict: ✅ Fits with lots of room. The bandwidth ceiling is ~195 tok/s; expect roughly 150-180 tok/s at short contexts. Q8_0 (8.5 GB) fits with a 32K context. The full 128K context needs the KV cache quantized to q8_0 (8.6 GB), which brings Q4_K_M to about 13.5 GB.
Install Ollama (the easy path)
Ollama detects NVIDIA GPUs through CUDA automatically; no manual configuration is needed.
Ollama's default context is small. Raise it with /set parameter num_ctx 16384 inside ollama run, or PARAMETER num_ctx in a Modelfile, and check ollama ps still shows 100% GPU.
Install llama.cpp (more control)
llama.cpp gives you flag-level control over quantization, context length, and layer offload. The project dropped its Makefile in 2025, so build with CMake (see the build docs):
-ngl 99 puts every layer on the GPU: the Q4_K_M file (4.9 GB) plus a 4K KV cache fits in 16 GB with room to spare. The same flags work with llama-server if you want an OpenAI-compatible endpoint.
Expected performance
- Closest measured model: TechFuelHQ ran Qwen 2.5 7B Q4_K_M (4.7 GB) in Ollama 0.32.1 at 180.0 tok/s decode and 10,152 tok/s prefill, median of 3 runs.
- Long-context reference: Hardware Corner measured Qwen3 8B (Q4_K_XL) at 94.1 tok/s at a 16K context and 72.5 tok/s at 32K with llama-bench.
- Estimate for Llama 3.1 8B: 150-180 tok/s at short contexts, scaling with the file size from the Qwen 2.5 7B run.
At these speeds generation is effectively instant; prompt processing and tool latency dominate in real apps.
Common issues
"out of memory" on the first prompt: reduce context length (-c 2048) or quantization (q4_K_S instead of q4_K_M).
Slow first token but fast generation: that's prompt processing ("prefill"). Normal — blame the KV cache building. Subsequent messages in the same session will be snappy.
Frequent swapping / system hangs: VRAM is full AND system RAM is full. Close Chrome. Add more DDR5.
Related
- Full NVIDIA GeForce RTX 5080 benchmarks →
- Best GPU for Llama 3.1 8B →
- AI Rigs buyer's guide →
- Llama 3.1 8B on the RTX 3090 →
- Qwen 3 14B on the RTX 5080 →
NVIDIA GeForce RTX 5080 specs: 16 GB GDDR7, 960 GB/s, 360 W TDP, 2025 launch, $999 launch MSRP. Prices and benchmark rows last checked November 9, 2026.
Does it fit? Full quantization matrix
File sizes are the GGUF builds in bartowski/Meta-Llama-3.1-8B-Instruct-GGUF on Hugging Face. The KV column is the FP16 cache for a 4K-token context, computed from the model's config (32 layers × 8 KV heads × 128 dims × 2 bytes × K and V). "Fits" leaves 1.5 GB for the CUDA context and compute buffers.
| Quant | File size | + KV @ 4K ctx | Total | Fits in 16 GB? | Quality loss |
|---|---|---|---|---|---|
| Q2_K | 3.2 GB | 0.54 GB | 3.7 GB | ✅ | Large; only if nothing else fits |
| Q3_K_M | 4.0 GB | 0.54 GB | 4.6 GB | ✅ | Noticeable |
| Q4_K_M | 4.9 GB | 0.54 GB | 5.5 GB | ✅ | Small; the community default |
| Q5_K_M | 5.7 GB | 0.54 GB | 6.3 GB | ✅ | Very small |
| Q6_K | 6.6 GB | 0.54 GB | 7.1 GB | ✅ | Near-lossless |
| Q8_0 | 8.5 GB | 0.54 GB | 9.1 GB | ✅ | Near-lossless |
| BF16 | 16.1 GB | 0.54 GB | 16.6 GB | ❌ | Reference |
Quantizing the KV cache to q8_0 (-ctk q8_0 -ctv q8_0 in llama.cpp, OLLAMA_KV_CACHE_TYPE=q8_0 in Ollama) halves the KV column. Budget 5-10% headroom on top of the table if the card also drives your display.
Where these numbers come from
Every tok/s figure on this page links to the published run it came from: independent reviewers such as Hardware Corner, community datasets such as LocalScore and TechFuelHQ's Hugging Face dataset, and hosting providers that publish their own runs. We re-read each source on November 9, 2026. Where no trustworthy run exists for this exact model and card, we say so and show the closest measured model instead. Numbers we calculated ourselves (KV-cache sizes, bandwidth ceilings, layer-offload counts) are labelled as calculations and show their inputs: the model's config.json, the GGUF file sizes on Hugging Face, and the card's rated memory bandwidth.
SpecPicks does not run paid hardware review cycles; we aggregate. If you have a run that beats or contradicts a number here, send it with your exact flags and we will add it.
Measured tok/s on this GPU
Published Llama 3.1 8B-relevant runs for the RTX 5080, each linked to its source:
| Model | Quant | Runtime | Context | Gen tok/s | Prefill tok/s | Source |
|---|---|---|---|---|---|---|
| Qwen 2.5 7B (closest size) | Q4_K_M | Ollama 0.32.1 | 4K | 180.02 | 10,152.28 | TechFuelHQ RTX 5080 LLM throughput dataset |
| Qwen3 8B | Q4_K_XL | llama.cpp llama-bench | 16K | 94.14 | — | Hardware Corner |
| Qwen3 8B | Q4_K_XL | llama.cpp llama-bench | 32K | 72.49 | — | Hardware Corner |
| Meta Llama 3.1 8B Instruct (outlier, see note) | Q4_K_M | LocalScore | default | 44.9 | 4,428 | LocalScore |
LocalScore's RTX 5080 page has one submission with 3 models tested, and it reports 15 GB of VRAM. Its 44.9 tok/s is below LocalScore's own 96.3 tok/s for the older RTX 3090, so we do not use it for the estimate.
For the full tok/s matrix on this card across every model we have logged, see the NVIDIA GeForce RTX 5080 benchmark page.
Context length and VRAM — the hidden cost
KV cache grows linearly with context. Llama 3.1 8B uses grouped-query attention (8 KV heads), so each token costs 128 KiB of FP16 cache. The April version of this table overstated it by roughly 4×. Here is the overhead on top of 4.9 GB of Q4_K_M weights:
| Context | KV cache (FP16) | KV cache (q8_0) | Total VRAM (FP16 KV) | Fits in 16 GB? |
|---|---|---|---|---|
| 2K tokens | ~0.27 GB | ~0.13 GB | ~5.2 GB | ✅ |
| 4K tokens | ~0.54 GB | ~0.27 GB | ~5.5 GB | ✅ |
| 8K tokens | ~1.1 GB | ~0.54 GB | ~6.0 GB | ✅ |
| 32K tokens | ~4.3 GB | ~2.1 GB | ~9.2 GB | ✅ |
| 128K tokens | ~17.2 GB | ~8.6 GB | ~22.1 GB | ❌ |
For long contexts, KV-cache quantization (-ctk q8_0 -ctv q8_0, which needs flash attention, -fa on) is the single biggest VRAM saver, with very little quality cost.
Which runtime wins on this hardware?
Three mainstream runtimes target NVIDIA GeForce RTX 5080; the right one depends on your workload:
- Ollama — easiest. Auto-detects CUDA, handles model downloads, exposes an OpenAI-compatible API out of the box. Wraps llama.cpp; you give up fine-grained control for zero setup.
- llama.cpp — direct flag-level control over quant, context, KV-cache precision, batch size, split layers across GPUs. Where the LocalLLaMA community benchmarks its numbers (see the Apple-Silicon megathread #4167 for reference tok/s across M-series chips).
- vLLM — built for production serving. Tensor parallelism, PagedAttention, continuous batching. Linux + NVIDIA CUDA primary target. If you're not serving multiple concurrent users, the overhead isn't worth it.
For head-to-head numbers and install commands across all three, see our Ollama vs llama.cpp vs vLLM guide.
Troubleshooting — three failure modes and fixes
1. First token takes 5-30 seconds, then generation is fast. That's normal prefill: the model is processing your prompt before it can start generating. On a long prompt (4K+ tokens) prefill dominates the first-token latency. If it's unexpectedly slow, check that you actually offloaded layers to the GPU — nvidia-smi or powermetrics (macOS) should show near-100% utilisation during prefill. If utilisation is flat, your inference is running on CPU.
2. "Out of memory" halfway through a long chat. The KV cache grew past what the card can hold. Drop to a smaller quant (q4_K_M → q3_K_M), cut -c context length, or enable KV-cache quantization (-ctk q8_0 -ctv q8_0 in llama.cpp). On Ollama set num_ctx smaller in your Modelfile.
3. Tok/s is ~30% of what LocalLLaMA threads report. Three usual suspects: (a) power/thermal throttling — check sustained clocks during a long prompt; (b) PCIe x8 or x4 link when you expected x16 — nvidia-smi --query-gpu=pcie.link.width.current --format=csv; (c) running the wrong binary, e.g. a non-CUDA llama.cpp build on an NVIDIA card. Rebuild with cmake -B build -DGGML_CUDA=ON and confirm.
Newer models worth trying on the RTX 5080 (November 2026)
Llama 3.1 8B leaves most of the 16 GB unused. These newer models use more of the card and still run fast:
| Model | Quant | Gen tok/s | Long-context gen tok/s | Source |
|---|---|---|---|---|
| gpt-oss 20B (MoE) | MXFP4 | 190.1 (Ollama, 4K) | 140.5 @ 16K (llama-bench) | TechFuelHQ RTX 5080 LLM throughput dataset + Hardware Corner |
| Qwen3-Coder 30B (MoE) | Q4_K_M | 61.9 (Ollama, 4K) | 51.6 @ 16K | TechFuelHQ RTX 5080 LLM throughput dataset |
| Qwen 3 14B (dense) | Q4_K_XL | 64.0 @ 16K (llama-bench) | 51.9 @ 32K | Hardware Corner |
TechFuelHQ measured gpt-oss 20B with 14,067 MiB resident on the card. Its Qwen3-Coder 30B run had 15,101 MiB on the GPU, and Ollama's 19 GB download does not fit, so the rest ran from system RAM. That is why it is slower than gpt-oss despite a similar number of active parameters. Hardware Corner's rows are llama.cpp llama-bench on CUDA 12.8.
Sources
- Hardware Corner, GPU ranking for local LLMs (updated December 9, 2025)
- LocalScore (Mozilla Builders), RTX 5080 results
- TechFuelHQ RTX 5080 LLM throughput dataset (Hugging Face, August 2026)
- Local AI Master, RTX 5090 vs 5080 for local LLMs (updated November 2, 2026)
- llama.cpp build docs (CMake)
- r/LocalLLaMA community benchmark threads
- llama.cpp GitHub Discussions
Related guides
- NVIDIA GeForce RTX 5080 full benchmark page
- Best GPU for Llama 3.1 8B
- Ollama vs llama.cpp vs vLLM
- What VRAM do you need for local LLMs?
Products mentioned
Products mentioned in this article
Amazon & eBay listings, plus full specs and alternatives on each product page.
As an Amazon Associate, SpecPicks earns from qualifying purchases; we also earn on qualifying eBay purchases via the eBay Partner Network. Prices shown were last tracked at crawl time and may vary — check the listing for the current price.
Watch a review
NVIDIA GeForce RTX 5080 Founders Edition Review & Benchmarks vs 5090, 7900 XTX, 4080, & More — Gamers Nexus on YouTube
Frequently asked questions
How fast does Llama 3.1 8B run on the NVIDIA GeForce RTX 5080?
Can I run Llama 3.1 8B on the NVIDIA GeForce RTX 5080 without offloading to the CPU?
What quantization should I use for Llama 3.1 8B on the RTX 5080?
How much VRAM does context length add for Llama 3.1 8B?
Is the RTX 5080 limited by memory bandwidth or compute for Llama 3.1 8B?
Does a second GPU help with Llama 3.1 8B?
Related reading
- Vision LLMs Driving Period-Correct WinXP and Win98 Installers: Field Report from a 4-PC Retro Fleet
- Complete Ollama Installation Guide for 2026: Hardware & Software Setup
- Ollama vs llama.cpp on a 12GB GPU: Which Is Faster for Single-User Chat?
- AI-Driven Win98 LAN Party Server Config Generation
- Local AI on Raspberry Pi 5: Sourced Benchmarks for Llama, Phi, and Gemma
- RTX PRO 6000 vs RTX 5090 for Local 70B LLMs: 96GB vs 32GB
- gpt-oss on a 12GB GPU: 2026 Community Consensus (RTX 3060)