Best local AI models for NVIDIA RTX 4070
12 GB GDDR6X. At a 4k context, 147 of the 233 models in our catalog with verified parameter counts fit fully, up to DeepSeek-Coder-V2 16B / 236B at 16B parameters.
Check your own machine against every model →The largest models that fit fully
The 30 largest of the 147 models that fit; every smaller model in the catalog fits too. Best quant means the highest quality compression whose weights and 4k context both sit inside the memory.
| Model | Parameters | Best quant that fits | Memory used at 4k |
|---|---|---|---|
| DeepSeek-Coder-V2 16B / 236B | 16B | Q4_K_M | 11.7 GB |
| Kimi-VL A3B | 16B | Q4_K_M | 11.7 GB |
| Apriel-1.5-15B-Thinker | 15B | Q4_K_M | 11 GB |
| StarCoder2 3B / 7B / 15B | 15B | Q4_K_M | 11 GB |
| Qwen2.5 14B | 14.7B | Q4_K_M | 11.6 GB |
| Phi-3 Medium | 14B | Q5_K_M | 11.9 GB |
| Phi-4 | 14B | Q5_K_M | 11.9 GB |
| Phi-4-reasoning / -plus | 14B | Q5_K_M | 11.9 GB |
| Wan 2.2 T2I | 14B | Q5_K_M | 11.9 GB |
| Wan 2.1 (1.3B / 14B) | 14B | Q5_K_M | 11.9 GB |
| SkyReels V2 | 14B | Q5_K_M | 11.9 GB |
| Vicuna 13B | 13B | Q5_K_M | 11.1 GB |
| HunyuanVideo | 13B | Q5_K_M | 11.1 GB |
| HunyuanVideo-Avatar | 13B | Q5_K_M | 11.1 GB |
| LTX-Video / LTX-2 | 13B | Q5_K_M | 11.1 GB |
| FramePack | 13B | Q5_K_M | 11.1 GB |
| Gemma 3 12B | 12B | Q6_K | 11.8 GB |
| Gemma 4 12B | 12B | Q6_K | 11.8 GB |
| Mistral NeMo 12B | 12B | Q6_K | 11.8 GB |
| Pixtral 12B | 12B | Q6_K | 11.8 GB |
| FLUX.1 schnell | 12B | Q6_K | 11.8 GB |
| FLUX.1 Kontext dev | 12B | Q6_K | 11.8 GB |
| FLUX.1 Krea dev | 12B | Q6_K | 11.8 GB |
| Open-Sora 2.0 | 11B | Q6_K | 10.8 GB |
| Mochi 1 | 10B | Q6_K | 9.8 GB |
| Gemma 2 9B | 9B | Q6_K | 10.3 GB |
| Nemotron Nano 4B / 9B | 9B | Q8_0 | 11.4 GB |
| GLM-4 9B / GLM-4.5-Air | 9B | Q8_0 | 11.4 GB |
| Yi-Coder 1.5B / 9B | 9B | Q8_0 | 11.4 GB |
| GLM-4-9B-Chat / CodeGeeX4 | 9B | Q8_0 | 11.4 GB |
Close, but only with CPU offload
These need more than the card holds at their smallest practical quant, so part of the model runs from system memory (figures assume 32 GB of it). They work, several times slower.
| Model | Parameters | Memory at FP8 / optimized | System RAM at 4k |
|---|---|---|---|
| FLUX.1 dev | 12B | 14.4 GB needed | 16.4 GB |
| Ling-Coder-Lite | 16.8B | 12.3 GB needed | 14.3 GB |
| HunyuanImage 2.1 / 3.0 | 17B | 12.4 GB needed | 14.4 GB |
| CogVLM2 | 19B | 13.9 GB needed | 15.9 GB |
| Qwen-Image | 20B | 14.6 GB needed | 16.6 GB |
| Qwen-Image-Edit | 20B | 14.6 GB needed | 16.6 GB |
| gpt-oss-20b | 21B | 15.4 GB needed | 17.4 GB |
| Reka Flash 3 | 21B | 15.4 GB needed | 17.4 GB |
| Solar Pro | 22B | 16.1 GB needed | 18.1 GB |
| Codestral 22B | 22B | 16.1 GB needed | 18.1 GB |
How to read this
The NVIDIA RTX 4070 is equipped with 12 GB of GDDR6X memory. This video memory determines the maximum size of the artificial intelligence models you can run locally. To fit a model entirely on your graphics card, the total memory used by the model must remain under this 12 GB limit. Running models fully inside your video memory ensures the fastest possible processing speeds.
The quantization column shows the compression level applied to each model. Raw models are often too large for consumer hardware, so they are compressed into smaller formats like Q4_K_M, Q5_K_M, Q6_K, or Q8_0. A lower quantization level like Q4_K_M reduces the memory footprint significantly. This compression allows you to run larger architectures like the DeepSeek-Coder-V2 16B or Kimi-VL A3B within 11.7 GB of video memory.
When a model exceeds your 12 GB limit, you must use CPU offload. This technique splits the workload between your graphics card and your system RAM. For example, running the FLUX.1 dev model at FP8 requires 14.4 GB of memory, which uses 16.4 GB of system RAM alongside your GPU. Other models like Codestral 22B require 16.1 GB of memory and use 18.1 GB of system RAM. CPU offload makes these larger models runnable, but it reduces generation speed because system RAM is much slower than GDDR6X.
Your available memory must also accommodate the context window. The memory figures listed, such as 11.9 GB for Phi-4 or 11.8 GB for Gemma 3 12B, represent the model at a base 4k context window. If you increase the context length to process longer documents, the memory usage will rise. This extra memory demand can push a model that fits at 4k context over the 12 GB limit, forcing performance-degrading CPU offload.
For optimal local performance without offloading, you can target models that leave a comfortable safety margin. The Gemma 2 9B model at Q6_K uses 10.3 GB of memory, leaving room for context. If you require maximum precision, smaller models like GLM-4 9B or Yi-Coder 9B can run at a high Q8_0 quantization while using 11.4 GB of memory.