# What's the best local LLM for a 32GB RTX 5090? Qwen3.6 35B-A3B leads five that fit

For most RTX 5090 owners it is Qwen3.6 35B-A3B at Q5_K_M with the 128K context Qwen asks for, about 27 GB of the card's 32. Four more picks by job, the VRAM worked out for each, and what still doesn't fit. Checked Nov 3, 2026.

Updated Dec 5, 2026 · By Ari Vale

This page has referral links: we earn a commission if you buy, at no cost to you.

Our Vast referral code: 623346 (link: https://cloud.vast.ai/?ref_id=623346). New users get no bonus from it; we earn 3% of what referred users spend (Vast's referral program docs: https://docs.vast.ai/guides/reference/referral-program?ref_id=623346).

**The best local LLM for a 32GB RTX 5090 is Qwen3.6 35B-A3B** for most people: at the Q5_K_M quant with the 128K tokens of context Qwen itself recommends, it needs about 27.1 GB of the card's 32 GB by our VRAM engine. Want one dense model for everything? Qwen3.8 27B at Q6_K. Working with images or scans? Gemma 4 31B at Q5_K_M. Need raw speed? gpt-oss-20b, which llama.cpp's own benchmark clocks at about 282 tokens a second on a 5090. A 70B model still doesn't fit. Checked against each model's card and file sizes on November 3, 2026.

## The short answer (checked Nov 3, 2026)

On an RTX 5090 with 32GB of VRAM, the best local LLM for most people is Qwen3.6 35B-A3B at Q5_K_M with 128K tokens of context, about 27.1 GB by our engine. Every strong pick that fits is a 20B to 35B model. 32GB does not unlock 70B: Llama 3.3 70B needs about 43 GB at Q4_K_M. What the extra 8GB over a 24GB card buys is a better quant and far more context for the same models.

- **Best overall, coding and agents:** Qwen3.6 35B-A3B, Q5_K_M, 128K tokens, about 27.1 GB
- **Dense all-rounder:** Qwen3.8 27B, Q6_K, 64K tokens in about 26 GB (room for about 108K)
- **Images and documents:** Gemma 4 31B at Q5_K_M, or Gemma 4 26B-A4B at near-lossless Q8_0
- **Speed:** gpt-oss-20b, about 282 tokens a second on a 5090 in llama.cpp's benchmark, 17.9 GB at its full 128K
- **Doesn't fit:** 70B dense models; gpt-oss-120b runs only with part of it in system RAM

This page answers one question, which card owners ask in every local-AI forum: I have 32GB, what should I actually run? We read every model's card and config on Hugging Face (first on October 4, again on November 3, 2026), ran the numbers through our VRAM engine and checked them against the real GGUF file sizes. We have not loaded these models on a 5090 ourselves. Except where a source measured something, every figure below is arithmetic on published specs. If your card is smaller, start with our [24GB guide](https://aliteq.com/best-local-llm-24gb-gpu-qwen-gemma-gptoss), [16GB guide](https://aliteq.com/best-local-llm-16gb-vram), [12GB guide](https://aliteq.com/best-local-llm-12gb-vram) or [8GB guide](https://aliteq.com/best-local-llm-8gb-vram).

> **Last verified: November 3, 2026**
>
> Model shapes from each Hugging Face config.json. VRAM figures are our formula's output in GB of 1,024^3 bytes, the unit nvidia-smi shows. "Comfortable" means under 90 percent of the card, 28.8 GB on a 32GB card. Real use varies by inference engine, so keep a little spare. Updated Nov 3: Gemma 4 figures corrected (they were about 1 GB too high), gpt-oss-20b now uses llama.cpp's measured memory table, and rental prices re-read.

## Which local LLMs fit a 32GB RTX 5090?

Five models, each best at one job. The [RTX 5090](https://aliteq.com/gpus/rtx-5090) has 32 GB of GDDR7, per NVIDIA's spec table, against 24 GB on the [RTX 4090](https://aliteq.com/gpus/rtx-4090). That 8 GB is what decides the quant and the context below.

![Screenshot of NVIDIA's RTX 5090 spec table comparing it with the RTX 4090: Blackwell vs Ada Lovelace, 3352 vs 1321 AI TOPS, Memory Configuration 32 GB GDDR7 vs 24 GB GDDR6X (outlined), Memory Bandwidth 1792 GB/sec vs 1008 GB/sec](https://media.aliteq.com/media/ai/rtx-5090/nv5090-memory-2026-11-03.jpg)
NVIDIA's own spec table for the RTX 5090 next to the RTX 4090, nvidia.com, read November 3, 2026. The memory row is outlined. · Screenshot of nvidia.com by aliteq

### Best local LLMs for a 32GB GPU (our VRAM engine, Nov 3, 2026)

|   | Best for | Quant | Context | Total VRAM |
| --- | --- | --- | --- | --- |
| Qwen3.6 35B-A3B | Coding agents, long tasks | Q5_K_M | 128K | 27.1 GB |
| Qwen3.8 27B | All-round, dense | Q6_K | 64K (up to about 108K) | 26.0 GB |
| Gemma 4 31B | Images, documents | Q5_K_M | 32K (up to about 84K) | 24.7 GB |
| Gemma 4 26B-A4B | Near-lossless, images | Q8_0 | 32K (up to about 119K) | 27.1 GB |
| gpt-oss-20b | Speed, full context | MXFP4 (native) | 128K | 17.9 GB (llama.cpp's table) |

### Total VRAM for each pick vs the 32 GB card (our engine, Nov 3, 2026)

- **Qwen3.6 35B-A3B**: 27.1 GB (Q5_K_M, 128K tokens)
- **Qwen3.8 27B**: 26.0 GB (Q6_K, 64K tokens)
- **Gemma 4 31B**: 24.7 GB (Q5_K_M, 32K tokens)
- **Gemma 4 26B-A4B**: 27.1 GB (Q8_0, 32K tokens)
- **gpt-oss-20b**: 17.9 GB (MXFP4, 128K tokens (llama.cpp's measured table))
- **Qwen3 32B (2025)**: 26.4 GB (Q5_K_M, only 16K tokens)
- **Llama 3.3 70B**: 43.1 GB (Q4_K_M, 8K tokens, does not fit)

## How do we work out what fits?

VRAM is three things added up: the model's weights, the context cache and a runtime overhead. Weights depend on the quant, which is how many bits each number is squeezed into. The cache grows with every token of conversation. The overhead is a flat 0.78 GB in our engine.

```text
weights  = parameters x bits_per_weight / 8
cache    = 2 x cache layers x KV heads x head dimension x tokens x 2 bytes
total    = weights + cache + 0.78 GB overhead

Qwen3.6 35B-A3B, Q5_K_M, 128K tokens:
23.8 + 2.5 + 0.78 = 27.1 GB  (85% of a 32GB card)
```

Many 2026 models only keep a growing cache in some layers, so we count those layers alone. Gemma 4 also keeps a small fixed cache in its sliding-window layers: about 0.8 GB for the 31B and 0.2 GB for the 26B-A4B. We add it. You can run the same math on any model, any card, with our [VRAM calculator](https://aliteq.com/tools/vram-calculator).

## What is the best LLM for coding on an RTX 5090?

Qwen3.6 35B-A3B, and it is the model a 32GB card suits best. It is a Mixture-of-Experts model: 35B parameters stored, about 3B used per token, so it is quick for its size. At Q5_K_M with 128K tokens of context it needs about 27.1 GB, which sits comfortably on a 5090 and does not fit comfortably on a 24GB card.

The 128K figure comes from Qwen, not us. The model card says: "we advise maintaining a context length of at least 128K tokens to preserve thinking capabilities."

![Screenshot of the Qwen3.6-35B-A3B model card on Hugging Face, outlined: The model has a default context length of 262,144 tokens. If you encounter out-of-memory (OOM) errors, consider reducing the context window. However, because Qwen3.6 leverages extended context for complex tasks, we advise maintaining a context length of at least 128K tokens to preserve thinking capabilities.](https://media.aliteq.com/media/ai/rtx-5090/qwen36-128k-card-2026-11-03.jpg)
Qwen's own advice on context length, huggingface.co/Qwen/Qwen3.6-35B-A3B, read November 3, 2026. · Screenshot of huggingface.co by aliteq

On a 24GB card, holding that 128K means dropping to IQ4_XS, a slimmer 4-bit quant. Ollama's `qwen3.6:35b-a3b` download is listed at 23GB, which leaves a 24GB card almost nothing for context. On a 5090 the same download leaves room to spare, or you can step up to Q5_K_M from Hugging Face (see the Ollama section below).

One honest caveat on the file: Unsloth's UD-Q5_K_M file is 24.64 GB, a little above our 23.8 GB estimate, because their "dynamic" quants keep some layers at higher precision. With that file the 128K total is about 27.9 GB, still under the comfortable line. Add Unsloth's vision file (0.84 GB) and you are at about 28.7 GB, right at the 90 percent line, so trim the context a little if you also feed it images.

Qwen's card reports 73.4 on SWE-bench Verified for this model, run on what it calls an "Internal agent scaffold". That is the vendor's number, not ours. Its cache costs only about 0.6 GB per 32K tokens, because just 10 of its 40 layers keep one. Every quant is on its [cost-to-run page](https://aliteq.com/cost-to-run/qwen3.6-35b-a3b).

If you want a coding specialist instead, [Qwen3-Coder 30B-A3B](https://aliteq.com/cost-to-run/qwen3-coder-30b-a3b) fits at Q6_K with about 51K tokens. Its cache costs about five times as much per token, so it runs out of room sooner.

## What is the best all-round model for 32GB of VRAM?

Qwen3.8 27B, the best dense pick for 32GB. At Q6_K, a high-quality quant, it needs 24.0 GB with 32K tokens and 26.0 GB with 64K, with room for about 108K. That is the big step up from 24GB, where the same model is comfortable only at Q5_K_M with under 40K tokens.

Dense means every parameter works on every token. You trade speed for steadier quality compared with a Mixture-of-Experts model. Qwen's card calls it "a native [vision-language](https://aliteq.com/how-to-run-a-local-vision-model) model that understands images and videos". The card reports 61.7 on SWE-bench Pro, up from 53.5 for Qwen3.6 27B; it says the models were "evaluated with the Claude Code harness". Again, the vendor's figures.

The real files agree with our math. Unsloth's UD-Q6_K file is 20.47 GB of weights against our 21.2 GB estimate, so here the engine errs on the safe side. Its [cost-to-run page](https://aliteq.com/cost-to-run/qwen3.8-27b) has every quant.

## Which model should you run for images and documents?

Gemma 4, when you feed the model pictures, scans or screenshots. On 32GB the dense Gemma 4 31B runs at Q5_K_M with 32K tokens in about 24.7 GB, with room for about 84K tokens of text. Add the 1.12 GB vision file and you still have room for about 71K. On a 24GB card it drops to IQ4_XS.

Can it run at Q6_K? For text, yes: about 27.9 GB at 32K tokens, 87 percent of the card, with a ceiling around 43K tokens. Add the 1.12 GB vision file and it reaches about 29.0 GB, roughly 91 percent, just past our comfortable line. That is why we pick Q5_K_M for image work. (Our October version said Q6_K was "a step too far" at 29.0 GB; that figure used a parameter count about 1.4B too high. Hugging Face lists the model at 31.27B.) Google's card scores the 31B above the 26B-A4B on its image tests, for example 76.9 versus 73.8 percent on MMMU Pro.

The Gemma 4 26B-A4B is the other route. It is a Mixture-of-Experts model with 3.8B active parameters, and on 32GB it fits at Q8_0, which our engine calls effectively lossless: about 27.1 GB at 32K tokens, with text context up to about 119K. With the vision file loaded, plan on about 60K. It is also the one 32GB pick you can pull straight from Ollama at that quality: `gemma4:26b-a4b-it-q8_0` is listed at 28GB.

![Screenshot of Ollama's gemma4 tags page: gemma4:26b-a4b-it-mtp-q4_K_M 19GB, gemma4:26b-a4b-it-qat 16GB, gemma4:26b-a4b-it-q4_K_M 18GB, gemma4:26b-a4b-it-q8_0 28GB (outlined), gemma4:26b-a4b-it-bf16 52GB, each with a 256K context window and text and image input](https://media.aliteq.com/media/ai/rtx-5090/ollama-gemma4-q8-2026-11-03.jpg)
Ollama's download sizes for Gemma 4 26B-A4B, ollama.com/library/gemma4/tags, read November 3, 2026. The Q8_0 build is outlined. · Screenshot of ollama.com by aliteq

For setup help, read [how to run Gemma 4 31B locally](https://aliteq.com/run-gemma-4-locally).

## Which local LLM is fastest on an RTX 5090?

gpt-oss-20b, and it is the only pick here with a published speed figure on this exact card. llama.cpp's gpt-oss guide benchmarks it on an RTX 5090 at about 282 tokens a second for generation (its tg128 test) and about 9,800 tokens a second for reading a 2,048-token prompt. Those are llama.cpp's measurements, not ours.

![Bar chart from llama.cpp's gpt-oss guide, GPT-OSS-20B Benchmarks Across NVIDIA GPUs: prompt processing at 2K to 32K tokens and tg128 generation for RTX 3090, 4090, 5060 Ti, 5070 Ti, 5080 and 5090; the RTX 5090 is tallest in every group, near 10,000 tokens a second at pp2048 and about 280 at tg128](https://media.aliteq.com/media/ai/rtx-5090/llamacpp-5090-gptoss-2026-11-03.jpg)
llama.cpp's own benchmark chart for gpt-oss-20b (the RTX 5090 section is outlined; the 5090 is the brown bar), github.com/ggml-org/llama.cpp/discussions/15396, read November 3, 2026. · Screenshot of github.com by aliteq

The same guide lists its memory: 14.9 GB at 8K tokens, 15.5 GB at 32K and 17.9 GB at the full 128K. OpenAI ships the model in one format, MXFP4, and its card says it runs "within 16GB of memory."

Here is the honest catch: you do not need a 5090 for this one. 17.9 GB fits a 24GB card with room to spare. Buy 32GB for the first three picks, then keep gpt-oss-20b loaded beside them as the quick model. Our [best GPU for gpt-oss](https://aliteq.com/can-you-run-gpt-oss-20b-locally) page covers it in full.

## What does 32GB buy over a 24GB card?

Quality and memory, not a bigger model class. The same models run on a 24GB card, just at slimmer quants and with less context. The gain is largest for the newer hybrid models, which spend so little memory per token that the spare gigabytes turn into 100K tokens or more.

### Best comfortable quant at 32K tokens, then the longest context it allows (our engine, Nov 3, 2026)

|   | 24GB card | 32GB card (RTX 5090) |
| --- | --- | --- |
| Qwen3.6 35B-A3B | IQ4_XS, about 158K | Q5_K_M, about 217K |
| Qwen3.8 27B | Q5_K_M, about 36K | Q6_K, about 108K |
| Gemma 4 31B | IQ4_XS, about 59K | Q6_K, about 43K (or Q5_K_M, about 84K) |
| Gemma 4 26B-A4B | Q6_K, about 47K | Q8_0, about 119K |
| Qwen3-Coder 30B-A3B | Q4_K_M, about 39K | Q6_K, about 51K |
| Qwen3 32B | Does not fit comfortably | Q4_K_M, about 38K |
| gpt-oss-20b | Full 128K | Full 128K |

Read the table as a choice, not a rule. Gemma 4 31B shows the trade best: on 32GB you can take Q6_K with about 43K tokens, or stay at Q5_K_M and get nearly twice the context. Context figures are text only; images take a share. If you are unsure which quant to trust, our [quantization guide](https://aliteq.com/what-is-quantization-llm-explained) explains the ladder.

## Why do the older 32B models feel cramped on 32GB?

Because their cache is huge. A 32GB card sounds made for "32B" models, but the 2025 dense ones are a poor fit. Qwen3 32B keeps a cache in all 64 layers, so 32K tokens costs it 8 GB. On a 5090 it is comfortable only at Q4_K_M, and only up to about 38K tokens.

![Bar chart of context cache needed for 32K tokens: Qwen3 32B 8.0 GB, Qwen3-Coder 30B-A3B 3.0 GB, Gemma 4 31B 2.5 GB, Qwen3.8 27B 2.0 GB, gpt-oss-20b 1.5 GB, Qwen3.6 35B-A3B 0.6 GB, Gemma 4 26B-A4B 0.6 GB.](https://media.aliteq.com/media/graphics/local-llm-context-cache-per-32k-tokens.webp)
Context cache for 32K tokens, fp16, from each model's config.json. Derived, not measured (Oct 4, 2026; unchanged on Nov 3). · aliteq research

Compare Qwen3.8 27B: 2 GB for the same 32K tokens, a quarter of the older model's bill. That is why we would not buy a 5090 to run a 2025-era 32B model. The newer models are the ones that make the extra memory pay. Our [context window explainer](https://aliteq.com/what-is-a-context-window) covers why the cache grows at all.

## How do you run these in Ollama on a 5090?

Most of Ollama's default tags are 4-bit builds, and its next step up is usually Q8_0, which is too big for the 27B to 35B models on 32GB. On November 3, 2026 Ollama listed `qwen3.6:35b-a3b` at 23GB and `qwen3.6:35b-a3b-q8_0` at 39GB, `qwen3.8:27b` at 18GB and `qwen3.8:27b-q8_0` at 30GB, `gemma4:31b` at 19 to 20GB and `gemma4:31b-it-q8_0` at 34GB. Only `gemma4:26b-a4b-it-q8_0` (28GB) is a top-quality build that fits.

For the Q5_K_M and Q6_K picks, pull the GGUF from Hugging Face through Ollama. Hugging Face's docs give the pattern `ollama run hf.co/{username}/{repository}:{quantization}`, for example:

```text
ollama run hf.co/unsloth/Qwen3.6-35B-A3B-GGUF:UD-Q5_K_M
ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q6_K
```

Then check the context length Ollama is using for the model and raise it if needed: Qwen3.6 wants at least 128K.

## What still does not fit in 32GB?

The 70B class does not fit a single 32GB card at a sensible quant. Llama 3.3 70B needs 39.8 GB for weights alone at Q4_K_M, and 43.1 GB with a short 8K context. Even Q3_K_M weights, at 32.1 GB, fill the whole card before any context.

You can squeeze a 70B in at 2-bit quants, but our engine's note on Q2_K is blunt: "Almost always better to run a smaller model at Q4_K_M instead." We agree. Bigger Mixture-of-Experts models are further out: Qwen3-Next 80B needs about 45 GB of weights at Q4_K_M, and OpenAI says gpt-oss-120b fits "a single 80GB GPU." Renting an 80GB [H100 SXM](https://aliteq.com/gpus/h100-sxm) by the hour is the simple way to run it whole; our [cheapest H100 rental](https://aliteq.com/cheapest-h100-rental) guide compares the options, and the [best GPU for gpt-oss-120b](https://aliteq.com/cost-to-run/gpt-oss-120b#best-gpu) page lists every card that holds it.

There is one middle road. llama.cpp can keep a big MoE model's experts in system RAM and the rest on the card. Its gpt-oss guide says: "You can get for example about 30 t/s at zero context on a 5090 with --n-cpu-moe 21." The 120b model is about 61 GB, so you need enough system RAM to hold the rest; our [MoE guide](https://aliteq.com/best-moe-models-for-12gb-16gb-gpu) puts it at 64 GB. How the flag works: [what --n-cpu-moe actually does](https://aliteq.com/n-cpu-moe-llama-cpp-what-it-actually-does). Otherwise, see [two cards versus one](https://aliteq.com/multi-gpu-local-ai), or rent.

1. Writing code with an agent? Start with Qwen3.6 35B-A3B at Q5_K_M and set at least 128K tokens of context.
2. Want one steady model for everything? Qwen3.8 27B at Q6_K, with 64K tokens or more.
3. Sending screenshots or scans? Gemma 4 31B at Q5_K_M, or the 26B-A4B at Q8_0.
4. Need instant answers? Keep gpt-oss-20b loaded. It does not need the full 32GB.
5. Want a 70B model? A single 32GB card is the wrong tool. Use two cards, offload a MoE to RAM, or rent.

## Should you buy an RTX 5090 for this, or rent one first?

Rent first if you are not sure. You need 32GB of VRAM only if the first three picks are your daily work, and an hour on a rented 5090 tells you whether Qwen3.6 or Qwen3.8 does your job before you spend on a card. Whether a 5090 is worth buying for you is a separate question, which we answer in [is the RTX 5090 worth it for local AI](https://aliteq.com/rtx-5090-worth-it-local-ai) and the broader [best GPU for local AI](https://aliteq.com/best-gpu-for-local-ai) guide.

On November 3, 2026 (20:20 UTC) our tracker showed single RTX 5090 rentals on Vast.ai from $0.37 an hour on the spot market (median $0.56 across 59 offers) and from $0.40 an hour on demand (median $0.71). Runpod listed the RTX 5090 at $1.19 an hour on demand. Re-checked on November 17, 2026: Vast.ai from $0.38 an hour on demand (median $0.71), Runpod $1.39 an hour. Prices move by the hour: [/cloud-gpu](https://aliteq.com/cloud-gpu) shows today's figures, and our [rent vs buy](https://aliteq.com/rent-vs-buy-gpu-ai-cloud-vs-local) breakdown shows where owning wins. For how the two providers differ, see [Runpod vs Vast vs Lambda](https://aliteq.com/runpod-vs-vast-vs-lambda-cheapest-gpu-cloud).

**No 32GB card yet? Try these models on a rented RTX 5090** Rent a 5090 for an hour, pull Qwen3.6 35B-A3B at Q5_K_M and run it on your own work. This link opens Vast.ai with Ollama and Open WebUI ready to use. If it does the job, you know the card is worth it. Stop the instance when you are done. [Rent a 32GB RTX 5090 by the hour](https://cloud.vast.ai/?template_id=26e7446a7d6906ee366b620c84e1e422&ref_id=623346) (Referral link: we earn a commission if you buy.) Live RTX 5090 prices on Vast.ai, from and typical: https://aliteq.com/vast-ai-pricing

**Prefer Runpod? Same test, on demand** Start an RTX 5090 pod from a one-click template in Runpod's Secure Cloud, load the model you are weighing, and stop the pod when the test is over. [Start an RTX 5090 pod on Runpod](https://console.runpod.io/signup?ref=nuninlts) (Referral link: we earn a commission if you buy.) Live RTX 5090 prices on Runpod, from and typical: https://aliteq.com/runpod-pricing

## What do these numbers not tell you?

They do not rank model quality. The benchmark figures above are each vendor's own, and we did not run any. They tell you speed for gpt-oss-20b only, because llama.cpp measured it; for the other four, tokens per second depends on your engine, card and quant, and we did not measure it.

They also assume an fp16 cache and one user. An 8-bit cache roughly halves the cache figures. Each extra live conversation adds its own cache. Images add a separate vision file, about 0.8 to 1.1 GB in the Unsloth sets we checked. Leave headroom rather than aiming for 100 percent.

An 80B model at home is possible if you can hold it; see [Qwen3-Next 80B-A3B locally](https://aliteq.com/run-qwen3-next-80b-a3b-locally).

This guide is part of our [Which local AI model fits my GPU's VRAM? The 8GB to 32GB chart, model by model](https://aliteq.com/best-local-llm-vram-tiers-what-actually-fits) guide. Related guides: [Got an Intel Arc Card? Here's Every Local AI Model It Fits (2026)](https://aliteq.com/intel-arc-gpu-local-llm-what-fits), [Is the DGX Spark worth it in November 2026](https://aliteq.com/dgx-spark-worth-it-local-llm), [What is the best coding model you can run on one GPU? On 24GB, Qwen3.8 27B](https://aliteq.com/best-local-llm-for-coding-single-gpu).

## Quick answers

**Q: What is the best local LLM for an RTX 5090?**

A: For most people, Qwen3.6 35B-A3B at Q5_K_M with 128K tokens of context, about 27.1 GB of the card's 32 GB by our engine (Nov 3, 2026). For one dense all-rounder, Qwen3.8 27B at Q6_K. For images, Gemma 4 31B at Q5_K_M. For speed, gpt-oss-20b.

**Q: What is the best local LLM for 32GB of VRAM?**

A: The same list applies to any 32GB card: Qwen3.6 35B-A3B for coding and agents, Qwen3.8 27B for general use, Gemma 4 for images and gpt-oss-20b for speed. All are 20B to 35B models; 32GB buys better quants and longer context, not 70B.

**Q: Can an RTX 5090 run a 70B model?**

A: Not at a sensible quant. Llama 3.3 70B needs about 39.8 GB for weights at Q4_K_M. Only 2-bit quants squeeze in, and our engine advises a smaller model at Q4_K_M instead.

**Q: Can an RTX 5090 run gpt-oss-120b?**

A: Only with part of it in system RAM. llama.cpp's gpt-oss guide reports about 30 tokens a second at zero context on a 5090 with --n-cpu-moe 21. The model is about 61 GB, so you need plenty of system RAM; OpenAI sizes it for a single 80GB GPU.

**Q: How fast is an RTX 5090 for local LLMs?**

A: For gpt-oss-20b, llama.cpp's benchmark shows about 282 tokens a second for generation and about 9,800 tokens a second for reading a 2,048-token prompt on a 5090 (read Nov 3, 2026). We have no measured figures for the other picks.

**Q: Is 32GB much better than 24GB for local AI?**

A: Same models, better copies. Qwen3.8 27B goes from Q5_K_M with under 40K tokens to Q6_K with about 108K. Qwen3.6 35B-A3B goes from IQ4_XS to Q5_K_M at 128K tokens.

**Q: Why does Qwen3 32B fit so poorly on a 32GB card?**

A: Its cache is large. All 64 layers keep one, so 32K tokens costs about 8 GB. Newer hybrid models like Qwen3.8 27B spend about 2 GB on the same context.

**Q: Which quant should I use on 32GB?**

A: Q5_K_M or Q6_K for the 27B to 35B models, and Q8_0 for Gemma 4 26B-A4B. Keep the total under about 28.8 GB, 90 percent of the card, so other apps do not push it out of memory.

**Q: How much does it cost to rent an RTX 5090?**

A: On Nov 17, 2026 our tracker showed Vast.ai from $0.38 an hour on demand (median $0.71) and Runpod at $1.39 an hour on demand. Prices change hourly; see /cloud-gpu for today's figures.

## Sources

- [NVIDIA, GeForce RTX 5090 product page, spec table (32 GB GDDR7, 1792 GB/sec; primary, read Nov 3, 2026)](https://www.nvidia.com/en-us/geforce/graphics-cards/50-series/rtx-5090/)
- [Hugging Face, Qwen/Qwen3.6-35B-A3B model card and config.json (primary, read Oct 4 and Nov 3, 2026)](https://huggingface.co/Qwen/Qwen3.6-35B-A3B)
- [Hugging Face, Qwen/Qwen3.8-27B model card and config.json (primary, read Oct 4 and Nov 3, 2026)](https://huggingface.co/Qwen/Qwen3.8-27B)
- [Hugging Face, google/gemma-4-31B model card and config.json (primary, read Oct 4 and Nov 3, 2026)](https://huggingface.co/google/gemma-4-31B)
- [Hugging Face, google/gemma-4-26B-A4B model card (primary, read Oct 4 and Nov 3, 2026)](https://huggingface.co/google/gemma-4-26B-A4B)
- [Hugging Face, openai/gpt-oss-20b model card (primary, read Nov 3, 2026)](https://huggingface.co/openai/gpt-oss-20b)
- [llama.cpp, gpt-oss guide on GitHub (memory table and RTX 5090 benchmark, read Nov 3, 2026)](https://github.com/ggml-org/llama.cpp/discussions/15396)
- [Hugging Face, Qwen/Qwen3-32B model card and config.json (primary, read Oct 4, 2026)](https://huggingface.co/Qwen/Qwen3-32B)
- [Hugging Face, Unsloth GGUF file sizes for Qwen3.6 35B-A3B, Qwen3.8 27B and Gemma 4 (third-party quants, read Nov 3, 2026)](https://huggingface.co/unsloth/Qwen3.6-35B-A3B-GGUF)
- [Ollama library, gemma4, qwen3.6, qwen3.8 and gpt-oss tags (read Nov 3, 2026)](https://ollama.com/library/gemma4/tags)
- [Hugging Face docs, using any GGUF from the Hub with Ollama (read Nov 3, 2026)](https://huggingface.co/docs/hub/en/ollama)
- [aliteq VRAM engine and GPU price tracker (own data, Vast and Runpod RTX 5090 prices read Nov 3, 2026)](https://aliteq.com/cloud-gpu)

---

Canonical: https://aliteq.com/best-local-llm-32gb-vram

This page has referral links: we earn a commission if you buy, at no cost to you.
