The best model to run on a 24GB GPU like an RTX 3090 or 4090 is Qwen3.8 27B. On our VRAM engine it fits at Q5_K_M with 32K tokens of context in about 21.2 GB, and Ollama's default qwen3.8:27b download is 18 GB (Ollama's tag page, read Nov 6, 2026). Pick something else only for a reason: Gemma 4 26B-A4B or Qwen3.6 35B-A3B when you want faster replies, gpt-oss-20b when you want the most free memory, Gemma 4 31B for a bigger dense vision model. NVIDIA's Nemotron 3.5 Bolt 74B-A9B 24GB was built for this card size, but its documented runtime is a nightly vLLM build, so test it before you rely on it.
What's the best model for a 24GB RTX 3090 or 4090? Usually Qwen3.8 27B
Short answer: Qwen3.8 27B. On our VRAM numbers it fits a 24GB card at Q5_K_M with 32K of context, and Ollama's default download is 18 GB. Gemma 4 and Qwen3.6 MoE models are faster, gpt-oss-20b leaves the most room, and NVIDIA's 24GB Nemotron comes with a runtime catch.

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).
Our Runpod referral code: nuninlts (link: https://console.runpod.io/signup?ref=nuninlts). A new account that signs up with Google through it and loads $10 gets a one-time bonus credit, a fixed $5 for European customers and a random $5 to $500 elsewhere (Runpod says most get $5), valid 90 days; we earn 3% of Pod and 5% of Serverless spend for the first 6 months (Runpod's referral docs).
best overall
Qwen3.8 27B
Q5_K_M with 32K context, ~21.2 GB
3.8B active
Gemma 4 26B-A4B
Q6_K at 8K, ~20.6 GB
most headroom
gpt-oss-20b
14 GB Ollama download
vision
Gemma 4 31B
Q4_K_M at 8K, ~19.1 GB
What fits a 24GB GPU, model by model?
Six models fit fully on one 24GB card. The first two columns are our VRAM engine's estimates (weights plus KV cache plus runtime overhead); the last is the size of Ollama's own download, which is the weights alone.
Qwen3.8 27B
- Fits at 8K context
- Q6_K, ~22.5 GB (tight)
- Fits at 32K context
- Q5_K_M, ~21.2 GB
- Ollama download (read Nov 6, 2026)
qwen3.8:27b, 18 GB
Gemma 4 26B-A4B (MoE)
- Fits at 8K context
- Q6_K, ~20.6 GB
- Fits at 32K context
- Q6_K, ~21.1 GB
- Ollama download (read Nov 6, 2026)
gemma4:26b-a4b-it-q4_K_M, 18 GB
Qwen3.6 35B-A3B (MoE)
- Fits at 8K context
- Q4_K_M, ~21.2 GB
- Fits at 32K context
- Q4_K_M, ~21.7 GB (tight)
- Ollama download (read Nov 6, 2026)
qwen3.6:35b-a3b-q4_K_M, 24 GB
Gemma 4 31B
- Fits at 8K context
- Q4_K_M, ~19.1 GB
- Fits at 32K context
- Q4_K_M, ~20.9 GB
- Ollama download (read Nov 6, 2026)
gemma4:31b-it-q4_K_M, 20 GB
gpt-oss-20b
- Fits at 8K context
- MXFP4 (native)
- Fits at 32K context
- MXFP4 (native)
- Ollama download (read Nov 6, 2026)
gpt-oss:20b, 14 GB
Nemotron 3 Nano 30B-A3B (MoE)
- Fits at 8K context
- Q5_K_M, ~21.7 GB (tight)
- Fits at 32K context
- Q5_K_M, ~21.8 GB (tight)
- Ollama download (read Nov 6, 2026)
- not checked
"Tight" means more than 90% of the card is used, so a browser or desktop sharing the GPU can push it over. At 32K, Qwen3.8 27B technically fits at Q6_K too, but at about 24.0 GB there is no margin, so we list Q5_K_M. Qwen3.6 27B has the same layer layout and parameter count, so it fits exactly the same way. Check any other quant and context in our VRAM calculator. For smaller cards, see the 16GB guide or the full VRAM ladder.

Which model should I run for coding, fast chat, long documents or images?
Coding, agents and hard questions: Qwen3.8 27B. Per Qwen's model card it is a 27B model with 64 layers, a native vision encoder, a 262,144-token native context (extensible to 1,000,000) and an Apache-2.0 licence. It is dense, so every token reads all 27B weights: accurate rather than instant.
Fast everyday chat: Gemma 4 26B-A4B or Qwen3.6 35B-A3B. Both are mixture-of-experts models. Google's card lists 25.2B total and 3.8B active; Qwen's lists 35B total and 3B activated. Reading only 3B to 4B weights per token, they reply far faster than a dense 27B. On 24GB that's Q6_K for the Gemma and Q4_K_M for the Qwen.
Most free memory and long documents: gpt-oss-20b. OpenAI's card lists 21B parameters with 3.6B active, MXFP4 weights and says it runs within 16GB of memory. On a 24GB card that leaves the most room for context.
A bigger dense model for images: Gemma 4 31B (30.7B parameters, text and image input per Google's card). It fits at Q4_K_M with 8K context (about 19.1 GB) and 32K (about 20.9 GB) and goes tight past about 40K on our numbers.
Memory on a 24GB card, Q4_K_M with 32K context (our VRAM engine; gpt-oss = Ollama download)
14 GB Ollama download, most headroom
comfortable on 24GB
fits; tight past ~40K
tight; fast MoE
Why Qwen3.8 27B holds up at long context
Only 16 of its 64 layers keep a growing KV cache. Qwen's card gives the layout as 16 repeats of three Gated DeltaNet (linear attention) layers and one Gated Attention layer, and linear-attention layers hold a small fixed state instead of a cache that grows with every token. That's why 32K of context costs it so little memory.

Per-model detail: cost to run Qwen3.8 27B, Qwen3.6 35B-A3B, Gemma 4 26B-A4B, Gemma 4 31B, gpt-oss-20b.
What do I type in Ollama on a 24GB card?
Ollama's download sizes, read on November 6, 2026, tell you which tags to pull and which to skip. A download is the weights only; the context you set adds more on top.
ollama run qwen3.8:27b: the default tag is the q4_K_M build, 18 GB. Our first pick.ollama run gemma4:26b-a4b-it-q4_K_M: 18 GB. Note that a baregemma4pulls the small e4b model (6.6 to 9.5 GB), not this one.ollama run gemma4:31b-it-q4_K_M: 20 GB. Keep context modest.ollama run gpt-oss:20b: 14 GB, the lightest of the four.- Careful with
qwen3.6:35b-a3b: Ollama's q4_K_M build is a 24 GB download, the whole card before any context, so Ollama will put part of it in system RAM. It still runs, because it is a mixture-of-experts model, but slower than our 21.7 GB estimate suggests. A smaller GGUF quant in llama.cpp or LM Studio keeps it on the card. - Skip the q8_0 builds of these models on 24GB: Ollama lists
qwen3.8:27b-q8_0at 30 GB,gemma4:26b-a4b-it-q8_0at 28 GB,gemma4:31b-it-q8_0at 34 GB andqwen3.6:35b-a3b-q8_0at 39 GB.
Can a 3090 or 4090 run NVIDIA's Nemotron 3.5 Bolt 24GB model?
Maybe, but NVIDIA doesn't say so. Per its model card (read Nov 6, 2026), Nemotron 3.5 Bolt 74B-A9B 24GB is a vision-language model with 74B parameters and 9B active per token, compressed from Nemotron 3.5 Super VL 120B-A12B. It gets small with IQ2 weights ("2-bit quantization with quantization-aware training"), and the card says "The router’s architecture search targets a deployment footprint below 24 GB at batch size 1 and 128K context." It supports up to 256K tokens, was released on October 15, 2026 under the OpenMDW-1.1 licence, and the card says it is "ready for commercial or non‑commercial use."

The catch is the runtime. The card's deployment row reads "24GB packed model; vLLM on NVIDIA Ampere (A100), Hopper (H100-80GB), or Blackwell", while its software section lists only "NVIDIA Blackwell SM120 & SM121", so the card contradicts itself. The quick start uses a nightly vLLM image plus extra kernel packages. Its test hardware includes the GeForce RTX 5090 but not the 3090 or 4090. NVIDIA also publishes a GGUF build, and the card doesn't say whether it works on older GeForce cards. Our VRAM engine doesn't model 2-bit IQ2 quants, so we have no number of our own. On a 3090 (Ampere, like the A100) or a 4090 (Ada, not named at all), treat it as an experiment, not your default.
The H100 SXM and A100 80GB pages list the specs of both documented cards, and our cheapest H100 rental guide compares where to rent one.
Should I rent a 24GB GPU before I buy one?
If you don't own the card yet, an hour on a rented one answers "is this model good enough for me?" for very little. On November 6, 2026 at 21:20 UTC our price tracker read an RTX 3090 on Vast.ai from $0.10/hr on-demand (from $0.09/hr spot, which can be interrupted) and an RTX 4090 from $0.27/hr on-demand; Runpod listed the 3090 at $0.50/hr and the 4090 at $0.89/hr on-demand. Re-checked on November 17, 2026: Vast.ai from $0.12/hr for a 3090 (median $0.20) and $0.27/hr for a 4090 (median $0.49) on-demand; Runpod $0.50/hr and $0.89/hr. Prices move hourly; today's, cheapest first, are on our cloud GPU page, and our cheapest RTX 4090 rental guide compares the 4090 offers. Whether renting beats owning for you is in our rent vs buy guide.
Does system RAM let a 24GB card run bigger models?
Yes, with mixture-of-experts models whose experts mostly sit in system RAM. Several Reddit threads we read on Nov 1, 2026 were about exactly this setup, and it is slower and less predictable than a model that fits on the card.
- Qwen3.8 Flash Next. Its model card lists "125B with 6B activated, plus 51B n-gram embedding and 4B MTP" under the qwen-community-1.0 licence (read Nov 6, 2026). At Q4_K_M the whole model is about 102 GB on our numbers, far beyond any single GPU. When we read a r/ollama thread on Nov 1, a user with 24GB of VRAM and 64GB of RAM reported 80 to 100 tokens per second with Flash Next in the Strata engine, and another reply reported about 100 tokens per second on a 3090 with 64GB of DDR4. Single user reports, not benchmarks.
- What Strata's docs say. Strata's model notes (read Nov 6, 2026) say "The model fits when RAM is at least the experts plus about 10 GB for the OS and other programs." The smallest original packs are listed at 37.6 GB (Q2_0) to 54.8 GB (IQ3_S) of RAM plus VRAM, so 64GB of RAM covers those; Unsloth's Q4-class downloads start at 94 GB and need more.
- DeepSeek V4.1 Flash. Its model card lists 552B backbone parameters (763B in total on the Hub, MIT licence) with 8B active per token during prefill and 16B during decode. A r/LocalLLaMA user reported (read Nov 1) a Q2 build at 41 tokens per second on one 3090, and replies stressed that the machine had 192GB of RAM. On a normal 64GB desktop it doesn't fit. The full-quality release needs server memory, as whether DeepSeek V4.1 Flash runs locally works out.
Both sides, honestly:
- The case for it. A popular r/LocalLLM thread argues 24GB to 32GB cards will age well because offloading engines let them run very large MoE models from RAM and NVMe. For a 3090 owner with 64GB of RAM, Flash Next is the biggest upgrade available without buying hardware.
- The case against. The packs that fit 64GB are 2-bit to 3-bit, and whether they beat Qwen3.8 27B on the card is argued both ways. Strata is a young 0.x project; users reported greedy sampling by default (Qwen's Qwen3.8-27B card recommends temperature 1.0 in thinking mode and 0.7 otherwise) and breaking changes between versions. Anything read from RAM or SSD slows the model down. And the very largest open models stay far out of reach, as Kimi K3's 1.56 TB of open weights shows.
Our take: keep Qwen3.8 27B fully on the card as the predictable default. If you have 64GB of RAM, try Flash Next with llama.cpp's MoE offloading first (how `--n-cpu-moe` works), then Strata if it is clearly faster on your machine. Pin the version and check the sampling settings. More on RAM sizing: how much RAM you need for local AI.
Is a 3090 or a 4090 better for local LLMs?
For what fits, neither: both have 24GB, so they load exactly the same models. The 4090 is the newer, faster card, so it generates more tokens per second; the 3090 is the cheaper way into 24GB, usually bought used (our used RTX 3090 buying guide). Our RTX 4090 vs RTX 3090 comparison puts the speed and price gap side by side. The one model this month where the generation might matter is Nemotron 3.5 Bolt, whose documented runtime targets data-centre and Blackwell GPUs.
Two things that quietly change your results
First, the context trap: a model advertising a 256K window will let you set context far beyond what your VRAM holds, which pushes the KV cache into system RAM and collapses the speed. Keep context to what your card holds; the VRAM calculator shows the limit. Second, your inference engine matters as much as your model. Ollama and LM Studio update often, and new architectures like Qwen3.8 need a current build, so update before blaming your card.
This guide is part of our Which Qwen model can you run locally? Every size matched to your GPU guide. Related guides: Run Qwen3.8 27B locally without the Ollama defaults that make it look bad, Qwen3.5 9B is what 'ollama run qwen3.5' actually gives you, Qwen3.6 27B is the all-dense Qwen that runs on a 24GB card.
A new option for 24 GB cards: Inkling 2 Mini runs its 4-bit file fully on an RTX 3090 or 4090, at 48 to 70 tokens a second in llama.cpp and faster in custom engines.
Quick answers
What is the best model to run on a 24GB GPU like a 3090 or 4090?
What is the fastest good model on a 24GB card?
Can a 24GB card run Qwen3.8 27B at Q8?
Does Qwen3.8 27B need more VRAM than Qwen3.6 27B?
Can an RTX 3090 run NVIDIA's Nemotron 3.5 Bolt 24GB model?
Is a 3090 or a 4090 better for local AI?
Can a 24GB card run Qwen3.8 Flash Next?
The bottom line: on a 24GB 3090 or 4090, keep Qwen3.8 27B on the card for the hardest work, a Gemma 4 or Qwen3.6 MoE for fast chat, gpt-oss-20b when you need headroom and Gemma 4 31B for images. If you have 32GB to work with, our best local LLM for 32GB VRAM guide shows how an RTX 5090 runs these same models at higher quants with longer context.
Found this useful? Share it
Sources
What this guide was researched from. How we check facts and compute numbers: methodology.
- Hugging Face (Qwen), Qwen3.8-27B model card (vendor page, read Nov 1 and Nov 6, 2026)
- Ollama, qwen3.8 tag list with download sizes (read Nov 6, 2026)
- Ollama, gemma4 tag list with download sizes (read Nov 6, 2026)
- Ollama, qwen3.6 tag list with download sizes (read Nov 6, 2026)
- Ollama, gpt-oss tag list with download sizes (read Nov 6, 2026)
- Hugging Face (NVIDIA), Nemotron 3.5 Bolt 74B-A9B 24GB model card (vendor page, read Nov 1 and Nov 6, 2026)
- Hugging Face (Qwen), Qwen3.6-35B-A3B model card (vendor page, read Nov 6, 2026)
- Hugging Face (Google), Gemma 4 26B-A4B model card (vendor page, read Nov 6, 2026)
- Hugging Face (Google), Gemma 4 31B model card (vendor page, read Nov 6, 2026)
- Hugging Face (OpenAI), gpt-oss-20b model card (vendor page, read Nov 6, 2026)
- Hugging Face (Qwen), Qwen3.8-Flash-Next model card (vendor page, read Nov 1 and Nov 6, 2026)
- Strata, docs/MODELS.md (project docs, read Nov 1 and Nov 6, 2026)
- Hugging Face (DeepSeek), DeepSeek-V4.1-Flash model card (vendor page, read Nov 1 and Nov 6, 2026)
Founder & chief editor
Ari Vale
Founder and chief editor of Aliteq (a PC hardware shop from 2019, now a US-based publication). Ari Vale is my pen name: I stay anonymous, the work doesn't. I research the questions people actually ask, check every price and limit against the vendor's own pages, and write down what I'd choose and why. I use the cloud-GPU and AI-video services I write about.
Work out the hardware
RTX 5080 vs RTX 4090
Why 16GB loses to 24GB for local AI, newer card or not.
Best local LLM for 16GB
Exactly which models fit a 16GB card — and the tier to skip.
RTX 5090 vs two RTX 3090s
One fast card or two big ones: what each runs, what the benchmarks show, and the power bill.
VRAM calculator
See exactly which models fit your card, at any context length.
GPUs in this article
Specs, the AI models each one runs, and where to buy or rent it.
Email list
Local AI, only the changes that matter
A new model your GPU can actually run, a GPU price move worth acting on, or a fix that saves you an evening. Nothing in between.
Written and sent by hand. One-click unsubscribe in every email. Emails may contain referral links.
Keep reading

Which Gemma, Llama, Mistral or gpt-oss model can you run on an 8 to 24GB GPU?
Google, Meta, Mistral and OpenAI all ship open models that fit a gaming card, if you pick the right size and know each family's trap. Which one fits 8, 12, 16 and 24GB, the quant to use, the Ollama tag to type, and what changes on a Mac, from our VRAM engine and the model cards.
Ari Vale · · 8 min

What is the best coding model you can run on one GPU? On 24GB, Qwen3.8 27B
The short answer for a 3090, 4090 or any 24GB card, what changes on 16GB and 12GB, the fast MoE alternatives, and the honest limits of every benchmark number, re-checked on each vendor's own page Nov 6, 2026.
Ari Vale · · 9 min

Which Gemma 4 size fits your GPU? Match E4B up to 31B to your VRAM
8GB gets E4B, 12GB gets 12B, 16GB gets 12B at Q8 (or 26B-A4B with Google's own 4-bit file), and 24GB gets 26B-A4B or 31B. The VRAM for each size and quant, the exact Ollama tag (the bare one pulls a small model), the 4K-context default that catches Ollama users on cards under 24GB, and when Qwen3.8 27B is the better pick.
Ari Vale · · 13 min

Got a 16GB GPU? Here are the local AI models that fit, from gpt-oss-20b to Qwen3.8 27B
16GB used to stop at 14B models. Now gpt-oss-20b runs in about 14 GB in its own 4-bit format, and Qwen3.8 27B fits at a 3-bit quant. Here is what runs on an RTX 5060 Ti, 4060 Ti or 5070 Ti, on our numbers, and when system RAM takes you further.
Ari Vale · · 8 min