Skip to main content

How to run Llama 3.1 70B on NVIDIA GeForce RTX 5080

Exact commands, expected tok/s, VRAM math for this specific combination.

Short answer (November 2026): Llama 3.1 70B does not belong on a 16 GB RTX 5080. The Q4_K_M file is 42.5 GB, so only about 24 of 80 layers fit on the card and the rest run from system RAM. Our bandwidth math puts the ceiling near 3 tok/s on dual-channel DDR5-6000, and Local AI Master also expects single-digit speeds. A model that fits does far better: TechFuelHQ measured gpt-oss 20B at 190.1 tok/s on this card in August 2026.

Check your exact config: Will Llama 3.1 70B run on the RTX 5080? → Offload by file size, no cited speed on file yet. Each page swaps the card or the model and lists every source.

How to run Llama 3.1 70B on NVIDIA GeForce RTX 5080

Which models fit on an RTX 5080?

Llama 3.1 70B's Q4_K_M file is 42.5 GB (per its Hugging Face listing, bartowski/Meta-Llama-3.1-70B-Instruct-GGUF); on the RTX 5080, the weights do not fit, so the remaining layers run on the CPU from system RAM and system-RAM bandwidth sets the speed. 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. SpecPicks has no community-reported Q4 runs on file for this card in the sizes shown, so this table gives the VRAM fit only; measured speeds, when they arrive, land on the RTX 5080 benchmark page.

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? Left for context
30-35B (Qwen 3 32B, QwQ 32B)The step change. A 24 GB card holds this entirely in VRAM; below that it is CPU offload. about 19.9 GB No: spills to system RAM — system-RAM bandwidth sets the speed none
70B+ (Llama 3.3 70B, Qwen 2.5 72B)One 48 GB card or two 24 GB cards at Q4. A 32 GB card runs Q4 only with layers in system RAM; a 3-bit IQ3_XXS file (about 27.5 GB) loads on it. about 42.5 GB No: spills to system RAM — system-RAM bandwidth sets the speed none

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

  • Offload math corrected: about 24 of 80 layers fit on the card, not 13, and the speed ceiling is about 3 tok/s.
  • KV-cache math corrected: Llama 3.1 70B uses 8 KV heads, so a 4K context costs about 1.3 GB, not 5.6 GB.
  • Excluded a bad catalog row: a PassMark-attributed entry in our benchmark database listed 18.5 tok/s with 42.1 GB of VRAM on this 16 GB card, which is impossible.
  • 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).
  • New section: models that fit 16 GB, with measured tok/s.

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 70B at Q4_K_M is a 42.5 GB file (Ollama's llama3.1:70b tag is 43 GB).

Verdict: ❌ Does not fit. About 24 of 80 layers fit on the GPU; the other ~30 GB run from system RAM, so speed is set by your RAM, not the GPU. Expect about 2-3 tok/s. You need at least 64 GB of system RAM to load it at all. Even IQ2_M (24.1 GB) is far over 16 GB.

Install Ollama (the easy path)

bash
# Linux (macOS and Windows: download the installer from ollama.com)
curl -fsSL https://ollama.com/install.sh | sh
ollama pull llama3.1:70b # 43 GB, Q4_K_M
ollama run llama3.1:70b

Ollama detects NVIDIA GPUs through CUDA automatically; no manual configuration is needed.

Ollama offloads automatically when the model does not fit; ollama ps shows the CPU/GPU split. Expect the offloaded speeds described below, and keep num_ctx small, because every extra GB of KV cache pushes another layer onto the CPU.

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):

bash
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j

# -hf downloads the GGUF from Hugging Face on first run
./build/bin/llama-cli -hf bartowski/Meta-Llama-3.1-70B-Instruct-GGUF:Q4_K_M \
 -c 4096 -ngl 24 -fa on \
 -p "Write a haiku about GPUs"

With 16 GB, about 24 of 80 layers fit on the GPU at Q4_K_M with a 4K context (each layer is ~0.53 GB). The rest run from system RAM, and that part sets your speed. The April version suggested far fewer layers; raise -ngl until you hit out-of-memory, then back off by two. The same flags work with llama-server if you want an OpenAI-compatible endpoint.

Expected performance

  • No trustworthy published measurement. One catalog row claimed 18.5 tok/s with 42.1 GB of VRAM in use, impossible on a 16 GB card, so we dropped it.
  • Bandwidth math: 24 layers on the GPU at 960 GB/s plus ~30 GB in DDR5-6000 at 96 GB/s gives a ceiling of about 3.1 tok/s. Real runs land below the ceiling.
  • Same model on a 24 GB card: GigaGPU measured 5.2 tok/s on an RTX 3090, which holds about 15 more layers than the 5080.

A 200-token answer takes over a minute. For 70B-class work, a 48 GB setup (two 24 GB cards) or a Mac with 64 GB+ of unified memory are the realistic options.

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.


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-70B-Instruct-GGUF on Hugging Face. The KV column is the FP16 cache for a 4K-token context, computed from the model's config (80 layers × 8 KV heads × 128 dims × 2 bytes × K and V). "Fits" leaves 1.5 GB for the CUDA context and compute buffers.

QuantFile size+ KV @ 4K ctxTotalFits in 16 GB?Quality loss
Q2_K26.4 GB1.3 GB27.7 GB❌Large; only if nothing else fits
Q3_K_M34.3 GB1.3 GB35.6 GB❌Noticeable
Q4_K_M42.5 GB1.3 GB43.9 GB❌Small; the community default
Q5_K_M50.0 GB1.3 GB51.3 GB❌Very small
Q6_K57.9 GB1.3 GB59.2 GB❌Near-lossless
Q8_075.0 GB1.3 GB76.3 GB❌Near-lossless
BF16141.1 GB1.3 GB142.4 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 70B-relevant runs for the RTX 5080, each linked to its source:

ModelQuantRuntimeContextGen tok/sPrefill tok/sSource
Llama 3 70B on RTX 3090 (24 GB, for reference)Q4_K_Mllama.cpp4K5.2—GigaGPU
gpt-oss 20B on RTX 5080 (fits)MXFP4Ollama 0.32.14K190.149,078.28TechFuelHQ RTX 5080 LLM throughput dataset

No trustworthy published Llama 3.1 70B run on a single RTX 5080 exists.

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 70B uses grouped-query attention (8 KV heads), so each token costs 320 KiB of FP16 cache. The April version of this table overstated it by roughly 4×. Here is the overhead on top of 42.5 GB of Q4_K_M weights:

ContextKV cache (FP16)KV cache (q8_0)Total VRAM (FP16 KV)Fits in 16 GB?
2K tokens~0.67 GB~0.34 GB~43.2 GB❌
4K tokens~1.3 GB~0.67 GB~43.9 GB❌
8K tokens~2.7 GB~1.3 GB~45.2 GB❌
32K tokens~10.7 GB~5.4 GB~53.3 GB❌
128K tokens~42.9 GB~21.5 GB~85.5 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)

A 16 GB card is the wrong tool for a dense 70B model. These newer models fit and run 20-60× faster:

ModelQuantGen tok/sLong-context gen tok/sSource
gpt-oss 20B (MoE)MXFP4190.1 (Ollama, 4K)140.5 @ 16K (llama-bench)TechFuelHQ RTX 5080 LLM throughput dataset + Hardware Corner
Qwen3-Coder 30B (MoE)Q4_K_M61.9 (Ollama, 4K)51.6 @ 16KTechFuelHQ RTX 5080 LLM throughput dataset
Qwen 3 14B (dense)Q4_K_XL64.0 @ 16K (llama-bench)51.9 @ 32KHardware 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

  1. Hardware Corner, GPU ranking for local LLMs (updated December 9, 2025)
  2. TechFuelHQ RTX 5080 LLM throughput dataset (Hugging Face, August 2026)
  3. GigaGPU, LLaMA 3 70B on RTX 3090 benchmark (April 15, 2026)
  4. Local AI Master, RTX 5090 vs 5080 for local LLMs (updated November 2, 2026)
  5. llama.cpp build docs (CMake)
  6. r/LocalLLaMA community benchmark threads
  7. llama.cpp GitHub Discussions

Products mentioned

Small-model (7–9B) reference throughput

These figures are for 7–9B models, not the 70B models this article covers. The table holds model size fixed so the cards can be compared with each other; for the size in the title, use the article's own figures.

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.

GPUVRAM Llama-3-8B class, Q4Street 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

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 70B run on the NVIDIA GeForce RTX 5080?
Llama 3.1 70B does not belong on a 16 GB RTX 5080. The Q4_K_M file is 42.5 GB, so only about 24 of 80 layers fit on the card and the rest run from system RAM. Our bandwidth math puts the ceiling near 3 tok/s on dual-channel DDR5-6000, and Local AI Master also expects single-digit speeds. A model that fits does far better: TechFuelHQ measured gpt-oss 20B at 190.1 tok/s on this card in August 2026.
Can I run Llama 3.1 70B on the NVIDIA GeForce RTX 5080 without offloading to the CPU?
No. The Q4_K_M weights are 42.5 GB, and even IQ2_M is 24.1 GB, against 16 GB. You must offload most of the model (about 56 of 80 layers) to system RAM, which needs 64 GB of RAM and gives about 2-3 tok/s, or use a different machine.
What quantization should I use for Llama 3.1 70B on the RTX 5080?
Keep Q4_K_M (42.5 GB) and offload; quantizing down to Q2_K (26.4 GB) or IQ2_M (24.1 GB) costs a lot of quality and still does not fit 16 GB. More aggressive quants only reduce how much runs from system RAM.
How much VRAM does context length add for Llama 3.1 70B?
Llama 3.1 70B uses grouped-query attention with 8 KV heads, so each token of context costs 320 KiB of FP16 KV cache: about 1.3 GB at 4K, 5.4 GB at 16K and 10.7 GB at 32K, on top of the 42.5 GB Q4_K_M weights. Quantizing the cache to q8_0 halves those figures.
Is the RTX 5080 limited by memory bandwidth or compute for Llama 3.1 70B?
Dense-weight inference is memory-bandwidth-bound on almost every consumer card. The RTX 5080's memory bandwidth is 960 GB/s, so the decode ceiling is roughly bandwidth ÷ bytes read per token. For the 42.5 GB Q4_K_M file that is about 23 tok/s; llama.cpp typically reaches 50-75% of it. Because this model does not fit, the binding limit here is your system RAM bandwidth for the offloaded layers, not the GPU's 960 GB/s. Compute matters more for prompt processing and batched serving.
Does a second GPU help with Llama 3.1 70B?
Two 5080s give 32 GB, still not enough for Q4_K_M (42.5 GB). Three cards, or two 24 GB cards plus offload, are the minimum for a 70B Q4 on GPUs. For most people, a smaller modern model is the better answer.

— Mike Perry · Updated 2026-11-09

ASUS ROG Strix NVIDIA GeForce…
ASUS ROG Strix NVIDIA GeForce…
$2,150
View on Amazon →

Amazon Associate — prices tracked 2026-12-06, may vary.