24GB VRAM: Every AI Task You Can Run Locally

Local AI on a 24GB GPU: chat, coding, vision, speech and agents for RTX 3090 or RTX 4090. Current picks, per-quant weight sizes and free-memory maths.

Powerful GPU with triple fan cooling system
Photo via Unsplash

24GB is where local AI stops being a compromise. A 27B dense model fits with context to spare, a document-grade vision model fits at a quantisation that is worth running, and a full voice pipeline plus a chat model can share the card. This is the enthusiast tier, and this year it finally has models built for it rather than models squeezed into it.

Quick Reference

Use CaseBest PickStatic weightsQuantisationNote
ChatQwen3.8-27B18 GB Ollama tagQ4_K_MApache 2.0; about 7.24 GiB left on the Ollama tag
Chat (MoE)Gemma 4 26B-A4B18 GB Ollama tagQ4_K_MApache 2.0, 3.8B active per token
Coding (autocomplete)Qwen2.5-Coder 32B19.85 GBQ4_K_MFIM, about 5.5 GiB left
Coding (agentic)Qwen3.8-27B16.56 GBUD-Q4_K_M61.7% SWE-bench Pro (Qwen-reported); about 8.57 GiB left
Coding (MoE alt)KAT-Coder-V2.5-Dev21.39 GBQ4_K_M (community)Apache-2.0, 35B total / 3B active; about 4.08 GiB left
TranslationTranslateGemma 27B17 GBOllama buildCustom Gemma terms, 2K-token input context; about 8.2 GiB left
Vision (quality)Qwen3.8-27B + mmproj22.91 GBUD-Q6_K + mmproj-F16About 2.7 GiB left for context
Vision (speed)Gemma 4 26B-A4B + mmproj18.14 GBUD-Q4_K_M + mmproj-F16MoE, about 7.1 GiB left
SpeechParakeet + Ming-3.0-tts-0.5B + chat model5.47 GB speech weightsmixedMIT TTS, nothing in the speech stack blocks commercial use
AgentsGLM-4.7-Flash19 GBQ4_K_MMIT licence

Updated November 2026.

Local AI by VRAM Tier - 8GB | 12GB | 16GB | 24GB | 32GB

Deep dives: Chat | Coding | Translation | Vision | Speech | Agents | Reasoning | Image generation | Video generation | Embeddings and rerankers | RAG

November 2026 refresh: Qwen3.8-27B (Apache 2.0, published on Hugging Face in August) replaces Qwen3.6-27B as the chat and agentic coding pick and becomes the vision quality pick, with Gemma 4 26B-A4B as the vision speed pick. Translation now reflects TranslateGemma’s 2K-token input context. The text-to-speech pick moves to Ming-3.0-tts-0.5B (MIT), because Step-Audio-EditX’s Apache 2.0 grant covers its code, not its weights.

Your Hardware

24GB VRAM cards: RTX 3090 (used market) and RTX 4090. The 4090 is the faster card for inference; the 3090 is the cheaper route to the same capacity. Prices on both move constantly, so check current listings.

How to read the VRAM numbers on this page. Every figure is the static size of the model weights at the named quantisation, taken from published GGUF file sizes, with two exceptions that are labelled where they appear: the Whisper figures are OpenAI’s own required-VRAM numbers rather than weight sizes, and the Step-Audio-EditX figures are StepFun’s stated GPU memory rather than weight sizes. The KV cache is allocated on top and grows with context length, so each number is a floor, not a total. Anything within 1-2GB of the 24GB ceiling fits with minimal context room, and those are flagged. Card memory is binary: a 24GB card holds 24 GiB, which is 25.77 GB in the decimal units file sizes use, so free-memory figures here are worked out in GiB, and the KV cache and runtime overhead come out of that remainder.

The rough math: at Q4_K_M, 24GB holds the 27-35B class, from about 8.6 GiB of context room for a 27B dense model down to about 3.4 GiB for a 35B mixture-of-experts model. At Q6_K a 27B still fits, but the margin gets thin. Mixture-of-experts models do not help with capacity, only speed: all experts stay resident even though only a few activate per token.

No card at this tier? Two routes: rent a cloud GPU by the hour to try these models before buying hardware, or use a hosted service; the tool directory compares hosted options by task. For smaller cards, see Local AI by VRAM. To check a specific card against a specific build, the VRAM calculator shows which model builds fit a given card from their file sizes.

Chat & General Assistant

The dense pick is Qwen3.8-27B, the current-generation Qwen dense model, Apache-2.0 and ungated, with image and video input. Its card compares it directly with Qwen3.6-27B (vendor-reported): IFBench 79.5 vs 69.1, GPQA Diamond 89.2 vs 87.8, HLE 30.8 vs 24.0, LiveCodeBench v6 90.3 vs 83.9. The qwen3.8:27b-q4_K_M tag on Ollama is 18GB (about 16.76 GiB), which leaves about 7.24 GiB on a 24GB card. The KV cache costs 64 KiB per token (16 full-attention layers, 4 KV heads of 256 dimensions, 16-bit), so 64K tokens of context take 4 GiB and fit with room for runtime buffers. Thinking mode is on by default and, per the card, “can be disabled per request”.

Previous default: Qwen3.6-27B (qwen3.6:27b-q4_K_M, 17GB) uses the same layout and remains a solid choice if it is already installed, but on Qwen’s own text-benchmark table the 3.8 model is ahead on every row.

MoE efficiency: Gemma 4 26B-A4B activates 3.8B of its 25.2B parameters per token, which makes it fast for its size. The gemma4:26b-a4b-it-q4_K_M tag is 18GB with 256K context, Apache 2.0. Gemma 4 31B, the dense alternative, is 20GB at Q4_K_M and leaves about 5.37 GiB, so it fits with limited context.

Full comparison: local chat model guide.

Coding

Agentic: Qwen3.8-27B again. Unsloth’s UD-Q4_K_M GGUF is 16,564,259,744 bytes (15.43 GiB), which leaves 8.57 GiB of a 24GB card for context. Qwen does not publish a SWE-bench Verified figure for it; on its own model card it reports 61.7% on SWE-bench Pro against 53.5% for Qwen3.6-27B, and 73.0% against 63.4% on Terminal Bench 2.1, all run by Qwen on the same harness. The previous pick, Qwen3.6-27B, is the same size (Q4_K_M 15.66 GiB, 8.34 GiB free) and carries a Qwen-reported 77.2% SWE-bench Verified, which cannot be set against Qwen3.8’s SWE-bench Pro figure. Run either through Aider (its Ollama setup docs) or a similar agent to work through real issues across files.

Autocomplete: Qwen2.5-Coder 32B, with fill-in-the-middle and 92.7% HumanEval in the Qwen team’s own technical report. Its Q4_K_M file is 19,851,335,872 bytes (18.49 GiB), leaving 5.51 GiB. It is an older generation than everything else here and still the strongest dedicated FIM model in this lineup. It does not share the card with a 27B agentic model, so most setups run one or the other at a time.

Apache-licensed MoE alternative: Kwaipilot KAT-Coder-V2.5-Dev, a 35B-total / 3B-active mixture-of-experts model under Apache-2.0 with a native 262,144-token context; its Hugging Face repository was created 2026-07-23 and last updated 2026-07-28. bartowski’s community Q4_K_M build is 21,391,448,480 bytes (19.92 GiB), leaving 4.08 GiB. Kwaipilot’s self-reported scores are SWE-bench Verified 69.40%, SWE-bench Multilingual 63.00%, SWE-bench Pro 45.96% and Terminal-Bench 2.1 41.02%. SWE-bench Verified and SWE-bench Pro are different benchmarks over different task sets, so reading 69.40 against 45.96 as a decline is a mistake. Kwaipilot also re-ran Qwen3.6-35B-A3B on its own harness and got 64.40% against Qwen’s 73.4% for the same model and benchmark, so no ordering between the two labs’ models is claimed here.

Other options: Devstral Small 2, a 24B dense Apache-2.0 model (68.0% SWE-bench Verified per Mistral), is 13.35 GiB at Q4_K_M and leaves 10.65 GiB here for a much longer context; Mistral’s docs mark it deprecated as of 2026-02-27. Qwen3-Coder-30B-A3B (Q4_K_M 17.28 GiB) and the MIT-licensed GLM-4.7-Flash (Q4_K_M 17.05 GiB, 59.2% SWE-bench Verified per Z.ai) also fit.

Full comparison: local coding model guide.

Translation

TranslateGemma 27B is listed on Ollama at 17GB, about 15.83 GiB, leaving about 8.2 GiB of a 24GB card. Its technical report puts it at MetricX 3.09 and COMET22 84.4, the best figures in Google’s own table. Its model card gives a “Total input context of 2K tokens”, so long documents have to be split into segments; the spare room is better spent on a second, smaller model than on longer inputs. The licence is Google’s custom Gemma terms with a prohibited-use policy attached, not a blanket open licence.

Commercially usable pick: Qwen3.5-27B at Q4_K_M, 16.74GB (15.59 GiB, about 8.4 GiB free), Apache 2.0, with a vendor-reported 77.6 on WMT24++ (XCOMET-XXL). Qwen3.8-27B is the newer Apache 2.0 27B, but its card publishes no translation benchmark or language count, so it is not a proven translation upgrade.

Multilingual specialist: Aya Expanse 32B covers 23 languages; Ollama’s default tag is 20GB (about 18.63 GiB), leaving about 5.4 GiB. It is CC-BY-NC-4.0, so non-commercial use only, and the Hugging Face weights are access-gated.

Full comparison: local translation model guide.

Vision

Two candidates fit, and they answer different questions. Every figure is static weights plus the F16 vision projector, excluding the KV cache, which on a vision model grows with image resolution as well as context length.

Quality pick: Qwen3.8-27B at Q6_K. The Unsloth repository has no plain Q6_K file; its UD-Q6_K build is 21,980,441,504 bytes, and with the 927,607,488-byte projector the total is 22.91GB (21.33 GiB), leaving about 2.7 GiB for context and runtime overhead. On a dense model with high-resolution image input that is tight, so it suits short-prompt document work. The UD-Q4_K_M build plus projector, 17.49GB (16.29 GiB), is the fallback that buys back about 5 GiB.

MoE speed pick: Gemma 4 26B-A4B at Q4_K_M. Google’s card lists 25.2B total and 3.8B active parameters. At UD-Q4_K_M plus projector it is 18.14GB (16.89 GiB), leaving about 7.1 GiB: the most context and image headroom of any option here, which suits throughput-heavy work such as batch OCR. The trade is quality: in Google’s own table it sits below the 31B on all three vision benchmarks (MMMU Pro 73.8% against 76.9%). Gemma 4 is Apache-2.0 and ungated.

The supporting benchmarks are vendor self-reported. From the VL table on the Qwen3.8-27B card, where the card gives both a “Without CI” and a “With CI” score the “Without CI” figure is shown:

BenchmarkQwen3.8-27BQwen3.6-27B
MathVision90.085.1
BabyVision65.728.9
CharXiv (RQ)83.778.4
OmniDocBench 1.591.189.4
RealWorldQA85.984.1
ERQA65.562.5

The card notes that Qwen3.8-27B was scored on MathVision with a fixed prompt while the other models got the higher of two prompt variants. Alibaba and Google use different benchmark sets and harnesses, so a Qwen number and a Gemma number on similarly named tests are not a like-for-like comparison.

Qwen3.6 and Qwen3.5 at this tier. With Qwen3.8-27B ahead of Qwen3.6-27B in Alibaba’s own table, the dense Qwen3.6 has no slot here. Ollama’s default qwen3.6:27b tag is 17.77GB in total, a 16.84GB Q4_K_M model layer plus a 0.93GB F16 projector; the separate qwen3.6:27b-q4_K_M tag is 17.42GB with no projector layer. For a Qwen mixture-of-experts model, Qwen3.5-35B-A3B at Q4_K_M plus projector is 22.92GB (21.34 GiB) and Qwen3.6-35B-A3B at UD-Q4_K_M plus projector is 23.03GB (21.45 GiB), each leaving about 2.5 to 2.7 GiB. Read llama.cpp issue #25717 first: the reported Qwen3.5-35B-A3B vision crash with mmproj and flash attention was closed on 2026-08-30 by the repository’s automation bot as not_planned, with no fix referenced, so test the flash-attention configuration in use before building a pipeline on it.

First-party GGUF. Alibaba publishes official GGUF conversions for Qwen3-VL but not for Qwen3.5, Qwen3.6 or Qwen3.8, so those are third-party builds such as Unsloth’s. If a first-party GGUF matters more than the newer generation, Qwen3-VL-32B is 19.76GB at Q4_K_M plus a 1.20GB projector, 20.96GB together. Google publishes its own quantisation-aware-trained Q4_0 GGUFs for Gemma 4.

Full comparison: local vision model guide.

Speech

24GB runs a complete voice assistant with room left over. Transcription: Canary-Qwen-2.5B for English (5.12 GB of bf16 weights; NVIDIA publishes no VRAM figure), Parakeet TDT 0.6B v3 for the smallest footprint (a 2.51 GB fp32 file; its card says “At least 2GB RAM for model to load”), or Whisper large-v3, at OpenAI’s ~10 GB required-VRAM figure, for its 99 languages. No ranking between them is restated: the live Open ASR leaderboard order could not be reconfirmed. If you run whisper.cpp, it is at v1.9.5 (2026-10-06); v1.9.0 added NVIDIA Parakeet support, so one runtime covers both families.

Text-to-speech, with a correction. On the Artificial Analysis open-weights TTS board read 2026-11-16, Fish Audio Drama 3 is first at 1277 Elo, while Fish Audio S2 Pro is sixth at 1104 and Step-Audio-EditX seventh at 1100. This page previously recommended Step-Audio-EditX as Apache-2.0, but StepFun’s README grants Apache 2.0 for “the code in this open-source repository”; the weights repository states no licence.

The pick is now Ming-3.0-tts-0.5B (MIT), fourth on the board at 1183 and the highest-placed model there that Artificial Analysis flags as commercially usable. It publishes no VRAM figure; its weights file is 2.96 GB.

Best combination here: Parakeet plus Ming-3.0-tts is 5.47 GB of speech weights, which leaves most of the card for a chat model and its context: speak a question, get an answer read back in a cloned voice, with nothing in the speech stack that blocks commercial use. Step-Audio-EditX still runs here for its editing workflow; StepFun calls 12 GB “just a critical value” and says 16 GB is safer, and its weights licence is unresolved. Fish Audio S2 Pro (10.99 GB of weight files) is non-commercial. Fish Audio Drama 3 does not fit this tier: its int4 files alone are 22.3 GiB.

Full comparison: local speech model guide.

Agents

GLM-4.7-Flash is the 24GB agent pick: a 30B-total / 3B-active mixture-of-experts model under an MIT licence, the most permissive terms on this page. The MoE design matters for agents specifically, because every tool call is a round trip and an eight-step workflow means eight or more inference passes.

When the priority is clean, parseable function calls rather than long autonomous planning, the Qwen dense line is the reliable choice: Qwen3.8-27B is the current generation, and the function-calling figures the agent deep dive carries are for the previous-generation Qwen3.5-27B and Qwen3.5-35B-A3B, with the warning that they come from different benchmarks and are not directly comparable.

Full comparison: local agent model guide.

Getting Started

# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh

# The essentials for 24GB
ollama pull qwen3.8:27b-q4_K_M     # Chat + agentic coding (18GB)
ollama pull qwen2.5-coder:32b      # Autocomplete
ollama pull translategemma:27b     # Translation (17GB)

# These do not all fit at once; Ollama loads and unloads as needed
ollama run qwen3.8:27b-q4_K_M

Model tags shift as libraries update, so check the Ollama library for current ones. Ollama’s qwen3.8 tags take text and image input. For GGUF files outside Ollama, there is no official Alibaba GGUF for Qwen3.8, so you are pulling a community conversion.

The 24GB Advantage: Real Quantisation Choices

At the lower tiers the question is whether a model fits. At 24GB it is which quantisation you run it at:

  • Qwen3.8-27B at UD-Q4_K_M (16.56GB, 15.43 GiB) leaves about 8.6 GiB for the KV cache and runtime overhead, which at 64 KiB per token holds well over 64K tokens of context
  • The same model at UD-Q6_K plus vision (22.91GB) trades most of that room, down to about 2.7 GiB, for output quality
  • A small vision model plus a speech pipeline can share the card instead of taking turns: Qwen3.5-9B at Q4_K_M plus projector (6.60GB) and Parakeet plus Ming-3.0-tts (5.47GB) come to 12.07GB
  • Autocomplete and an agentic coder still take turns: Qwen2.5-Coder 32B (18.49 GiB) and Qwen3.8-27B (15.43 GiB) together need about 34 GiB

Every total above is static weights. Leave headroom on whichever model does the long-context work.

When to Upgrade

24GB covers nearly everything a single consumer card can do. Moving to 32GB buys higher quantisation on the same 27-35B models, comfortable context on a vision model at Q6, and more room for multi-model pipelines.

What it does not buy is the frontier. The open-weight models topping the mid-2026 leaderboards run to hundreds of billions of parameters, and even the smallest of the current crop lands around 82.5GB as a 1-bit community quantisation, still beyond any single consumer GPU. Those models are for servers.

See the 32GB guide for the frontier consumer tier.

All eleven local-AI guides, by hardware tier and by task, are indexed at Local AI by VRAM: Which Models Fit Your GPU.

Other GPUs and tasks: Local AI by VRAM · RSS