Illustration of small, medium, and oversized LLMs compared with a GPU’s 12 GB VRAM capacity.

What LLMs Can You Run With 12 GB of VRAM?

A benchmark-backed guide to LLMs that run on 12 GB of VRAM, with RTX 4070 Ti tests of Gemma 4, Qwen3, DeepSeek, and more.

 Published 

 8 min read

Quick Answer

A 12 GB GPU can comfortably run many current small and mid-sized quantized LLMs entirely in VRAM, including Gemma 4 E4B, Qwen3 8B, DeepSeek R1 Distill Qwen 7B, Ministral 8B, and Qwen2.5-Coder 7B in my testing.

On an RTX 4070 Ti with 12 GB of VRAM and 32 GB of system RAM, Gemma 4 E4B is the strongest all-around starting point from my tests: it stayed fully GPU-resident at 32K context while using 6.2 GB of VRAM and generated 88.5 tokens per second.

Check what fits your GPU

Current Calculator Picks for an RTX 4070 Ti 12 GB

This Ollama RTX 4070 Ti benchmark snapshot was captured on August 15, 2026. As a starting point, I used my LLM VRAM calculator, set to an RTX 4070 Ti and 32 GB of RAM, to get some initial estimates. The VRAM and speed columns are calculator estimates for that profile, not vendor requirements or measured benchmarks. Re-run the LLM VRAM Calculator & Local AI GPU Planner before choosing a model because its current model data and your settings can change the order.

ModelBest usePlanner ratingPlanner VRAM estimateEstimated output speedMaximum context12GB verdict
google/gemma-4-E4B-itGeneral chat and local assistants 70.215.9 GB73.5 tok/s131072 tokensRuns well
Qwen3 8BChat RAG and agent experiments 65.7310.3 GB71.8 tok/s40960 tokensRuns well
Qwen3-VL-8B-InstructImage-aware workflows 64.9710.7 GB67.1 tok/s262144 tokensPoor
Ministral 8B InstructChat and RAG alternative 64.6910.2 GB73.3 tok/s32768 tokensRuns well
DeepSeek R1 Distill Qwen 7BReasoning 63.457.0 GB77.2 tok/s131072 tokensRuns great
google/gemma-4-E2B-itSmaller faster local tasks 62.284.8 GB114.8 tok/s131072 tokensRuns great
Qwen2.5-Coder 7B InstructGood for faster responses to simple coding tasks 62.007.0 GB196.0 tok/s32768 tokensRuns great

Gemma 4 E4B is the strongest general-purpose recommendation in this snapshot. Qwen3 8B is the main alternative for chat, RAG, and agent experiments. DeepSeek R1 Distill Qwen 7B leaves more memory headroom for reasoning workloads, while Gemma 4 E2B is the smaller, faster option. Qwen3-VL-8B-Instruct is for image-aware workflows, but it may not achieve full GPU fit under some workloads.

To evaluate how well those calculator estimates held up in practice, I benchmarked the models on my RTX 4070 Ti system.

Real World Comparison

To help gather data for this article, I ran benchmark tests on my PC with the following specs:

  • GPU: RTX 4070 Ti
  • CPU: AMD Ryzen 5 5600
  • RAM: 32 GB DDR4
  • OS: Windows 11
  • Ollama: 0.32.13

The tested Ollama tags were gemma4:e4b, qwen3:8b, deepseek-r1:7b, qwen2.5-coder:7b, nchapman/ministral-8b-instruct-2410:latest, qwen3-vl:8b, and gemma4:e2b.

Each model was tested three times with num_ctx configured to 8K and 32K. The prompts did not fill those windows equally: the 8K runs used roughly half of the available context, while the 32K runs began around 92% full. Each test used Q4_K_M quantization and a cold start, and I report the median of the three runs.

ModelContextPeak VRAMOutput tok/sGPU UtilizationCPU Utilization
qwen3:8b8K7.5 GB 67.7100%0%
qwen3:8b32K10.8 GB 52.0100%0%
gemma4:e4b8K5.8 GB 95.4100%0%
gemma4:e4b32K6.2 GB 88.5100%0%
deepseek-r1:7b8K6.4 GB 80.8100%0%
deepseek-r1:7b32K7.8 GB 72.2100%0%
qwen2.5-coder:7b8K6.4 GB 82.2100%0%
qwen2.5-coder:7b32K7.8 GB 71.6100%0%
nchapman/ministral-8b-instruct-2410:latest8K7.2 GB 72.5100%0%
nchapman/ministral-8b-instruct-2410:latest32K10.5 GB 55.3100%0%
qwen3-vl:8b8K9.1 GB 70.3100%0%
qwen3-vl:8b32K11.3 GB 16.182%18%
gemma4:e2b8K3.9 GB 155.9100%0%
gemma4:e2b32K4.1 GB 146.9100%0%

The table above is the cold-start Ollama measurements. The comparison below shows where the calculator matched those measurements and where it was optimistic at 32K context.

ModelPlanner ratingPlanner VRAMMeasured VRAMVRAM differencePlanner output tok/sMeasured output tok/sSpeed differenceFull GPU Offload?
google/gemma-4-E4B-it70.215.9 GB6.2 GB+0.3 GB73.588.5+15.0Yes
Qwen3 8B65.7310.3 GB10.8 GB+0.5 GB71.852.0-19.8Yes
Qwen/Qwen3-VL-8B-Instruct64.9710.7 GB11.3 GB+0.6 GB67.116.1-51.0No
Ministral 8B Instruct64.6910.2 GB10.5 GB+0.3 GB73.355.3-18.0Yes
DeepSeek R1 Distill Qwen 7B63.457.0 GB7.8 GB+0.8 GB77.272.2-5.0Yes
google/gemma-4-E2B-it62.284.8 GB4.1 GB-0.7 GB114.8146.9+32.1Yes
Qwen2.5-Coder 7B Instruct62.007.0 GB7.8 GB+0.8 GB77.271.6-5.6Yes

In summary, Gemma 4 E4B had the best tested balance of speed, VRAM use, and full GPU residency. At 32K context, it generated 88.5 tokens per second while using 6.2 GB of VRAM and remaining fully GPU-resident. That leaves substantial headroom on a 12 GB card rather than simply proving that the model can load. Qwen3 and Ministral are also viable, but use more of the available VRAM, while Qwen3-VL partially offloaded at 32K and dropped to 16.1 tokens per second.

That remaining headroom matters because model weights are only one part of VRAM usage. Increasing the context window also increases the K/V cache, which can change whether a model fits comfortably.

How Context Size Changes VRAM Usage

The model file is only one part of the memory budget. The calculator separates the estimate into three pieces:

  • Model weights: The quantized parameters loaded for inference.
  • K/V cache: Memory that grows with the active context window.
  • Runtime overhead: Memory used by the runner beyond the model weights and cache.

VRAM usage comparison for Gemma 4 E4B at 8K and 32K context on a 12 GB GPU.

For the same model and cache precision, K/V-cache memory scales approximately linearly with active context length, so moving from 8K to 32K requires roughly four times the cache memory before rounding. That is why a setup that appears to fit based on model-file size alone can offload or become impractical as context grows.

For example, the planner estimates Gemma 4 E4B at 5.6 GB total VRAM with an 8K context window and 5.9 GB at 32K. Model weights remain 4.8 GB and runtime overhead remains 0.6 GB. The displayed K/V-cache estimate rises from 0.2 GB to 0.5 GB.

Context is four times larger at 32K, and K/V-cache memory scales linearly with it. The rounded values do not visibly show an exact fourfold increase because the underlying 8K estimate is below 0.2 GB; when that underlying value is multiplied by roughly four, the 32K estimate displays as 0.5 GB.

Gemma 4 E4B still retains substantial headroom on a 12 GB card at 32K. The difference between 8K and 32K is relatively small for this model, but models with larger K/V-cache requirements can lose substantially more headroom as context grows.

What “Fits” Actually Means

The verdicts in this guide describe practical memory fit, not whether a runner can technically start a process.

  • Comfortable: Fully GPU-resident with useful room for context and ordinary desktop use.
  • Fits with tradeoffs: Requires lower quantization, reduced context, or less multitasking.
  • CPU offload likely: May run by placing part of the model in system RAM, usually with a substantial speed cost.
  • Not practical: Does not have enough GPU-resident memory for the listed model and context to be a sensible default.

System RAM remains useful for loading models, document indexes, and offloading layers. It does not make an oversized model perform as if it were entirely in VRAM. Treat offloading as an experiment to measure, not as a replacement for capacity.

How Current 12 GB Models Compare

Gemma 4 E4B IT is the current top-rated model in this calculator snapshot. Qwen3 8B is another current general-purpose choice with a smaller advertised maximum context window. Neither number guarantees that a particular Ollama tag, GGUF build, or desktop workload will use the same memory.

DeepSeek R1 Distill Qwen 7B is the reasoning-focused entry in the current list. Qwen3-VL-8B-Instruct is the image-aware option, and Gemma 4 E2B IT is the smaller fast alternative. The calculator also lists Qwen3.5 35B A3B as a 26 GB, “Barely runs” option for this profile; that is an offload experiment, not a 12 GB recommendation.

With Ollama, start by choosing an explicitly quantized tag that matches the memory budget, then check actual placement after loading it. Do not infer the expected memory use from a model family name or parameter count alone.

Start conservatively, verify that the model remains GPU-resident, then raise the context window only if the workload needs it. These are starting points rather than quality rankings or universal settings.

WorkloadModel classRecommended quantizationContext targetK/V cacheWhat to expect
General chatGemma 4 E4B or Qwen3 8BRuntime-supported 4 to 5-bit build8K to 16KF16"Start with a compact current model and increase context only after checking real VRAM use."
Coding assistantQwen3 8BRuntime-supported 4 to 5-bit build8K to 16KF16"Repository context and tool output can consume the headroom that makes a short chat look comfortable."
ReasoningDeepSeek R1 Distill Qwen 7BRuntime-supported 4 to 5-bit build8K to 16KF16"Reasoning traces can consume more context; check the full workflow rather than only a short prompt."
VisionQwen3-VL-8B-InstructRuntime-compatible quantized build8K to 16KF16"Image input and long context make this a tighter 12 GB fit; verify actual placement and speed."
Fast smaller tasksGemma 4 E2BRuntime-supported quantized build8K to 16KF16"The smaller model leaves more capacity for context and ordinary desktop use."

The K/V-cache choice matters most as context rises. Q8_0 halves cache memory relative to F16 in the planner; Q4_0 saves more but may have an output-quality tradeoff. Keep the model quantization and K/V-cache setting distinct: one affects model weights and the other affects context memory.

Check Your Exact GPU and Workload

This page fixes the capacity at 12 GB. Your actual result also depends on GPU bandwidth, system RAM, model file, runner, cache settings, and workload. Use the planner to compare estimated weights, K/V cache, runtime overhead, fit, and speed for your setup.

Plan your local AI GPU setup

Frequently Asked Questions

Is 12 GB VRAM enough for local LLMs?

Yes. A 12 GB discrete GPU is a practical capacity for many current compact models. On the RTX 4070 Ti 12 GB and 32 GB RAM calculator profile used in this guide, Gemma 4 E4B, Qwen3 8B, and DeepSeek R1 Distill Qwen 7B are recommended. Exact fit still depends on the model artifact, quantization, context length, K/V-cache type, runtime overhead, and VRAM reserved for the desktop.

What is the best coding model for a 12 GB GPU?

The current calculator profile makes Gemma 4 E4B the starting point for coding and agent experiments. Test it with the repository context and tool output you actually use; a model that is comfortable in a short chat can become constrained in an agent workflow.

Can I run a 32B model with 12 GB of VRAM?

Not as a comfortable fully GPU-resident setup in the calculator's normal Q4 assumptions. An aggressively quantized 32B model can sometimes use system-RAM offloading, but that is usually much slower and leaves limited context headroom.

Does 32K context fit on a 12 GB GPU?

It can for some smaller quantized models, but it changes the memory budget because K/V cache grows with context length. Check the exact model architecture, cache precision, and runtime rather than assuming that a model that fits at 8K also fits at 32K.

Does system RAM replace VRAM for local LLMs?

No. System RAM can help load models, hold indexes, and offload layers that do not fit in VRAM, but it is much slower than GPU memory for inference. It can make an oversized model run without making it a fast fully GPU-resident model.

Is 12 GB GPU VRAM the same as Apple unified memory?

No. Apple Silicon uses unified memory shared by macOS, applications, and GPU workloads, while a discrete GPU has dedicated VRAM. Treat the numbers as different planning environments and use the calculator's Apple Silicon mode for a specific system.

Which Ollama models should I try on a 12 GB GPU?

Start with an explicitly quantized Gemma 4 E4B, Qwen3 8B, or DeepSeek R1 Distill Qwen 7B artifact for the intended workload. Use Qwen3-VL-8B-Instruct only when you need image understanding. Confirm GPU placement with ollama ps and test the context length you actually plan to use.


Similar Posts

A stylized local AI VRAM calculator and GPU planner dashboard showing GPU, model, VRAM, and storage estimate cards.

Local LLM VRAM Calculator & GPU Planner for Apple Silicon, NVIDIA, and Coding Agents

I added a Local AI VRAM Calculator & GPU Planner (Beta) to help compare GPUs, estimate model VRAM usage, and check local model fit.


profile

I am a software engineer based in Southern California. I share hands-on experiments, benchmarks, and lessons from building software, running local AI, and maintaining home infrastructure.

More about the site and its author