Advisor / Hardware / RTX 4070 12GB

Best local LLMs for RTX 4070 12GB

GeForce RTX 4070 12GB. Memory-fit math with KV cache, speeds labelled by how they were obtained, and commands you can paste.

11.0 GBusable for model + KV cache
504 GB/smemory bandwidth
24 GBRAM available for offload
11measured data points on file
Sponsor slot. No sponsor yet and no link.

Best for Coding · 16k context

ModelQuantFitMemorySpeed (generation)
Qwen3.5 9BQ8_0fits fully10.1 GB~51 tok/s measured src
Qwen3-Coder 30B-A3BQ4_K_MMoE offload20.2 GB~47 tok/s estimated
Qwen3.6 35B-A3BUD-Q4_K_MMoE offload22.5 GB~49 tok/s estimated
Gemma 4 26B-A4BUD-Q4_K_MMoE offload17.5 GB~46 tok/s estimated
gpt-oss 20BQ4_K_MMoE offload12.0 GB~121 tok/s estimated
llama.cpp · top pick
llama-server -hf unsloth/Qwen3.5-9B-GGUF:Q8_0 -c 16384 -fa on --jinja -ngl 99
ollama · top pick
OLLAMA_CONTEXT_LENGTH=16384 ollama run hf.co/unsloth/Qwen3.5-9B-GGUF:Q8_0

Best for Chat / general · 16k context

ModelQuantFitMemorySpeed (generation)
Gemma 4 12BQ6_Kfits fully10.4 GB~43 tok/s scaled from measured src
Qwen3.5 9BQ8_0fits fully10.1 GB~51 tok/s measured src
Qwen3.5 4BQ8_0fits fully5.1 GB~89 tok/s measured src
Qwen3.6 35B-A3BUD-Q4_K_MMoE offload22.5 GB~49 tok/s estimated
Qwen3-Coder 30B-A3BQ4_K_MMoE offload20.2 GB~47 tok/s estimated
llama.cpp · top pick
llama-server -hf unsloth/gemma-4-12b-it-GGUF:Q6_K -c 16384 -fa on --jinja -ngl 99
ollama · top pick
OLLAMA_CONTEXT_LENGTH=16384 ollama run hf.co/unsloth/gemma-4-12b-it-GGUF:Q6_K

Best for Vision · 16k context

ModelQuantFitMemorySpeed (generation)
Gemma 4 12BQ6_Kfits fully10.4 GB~43 tok/s scaled from measured src
Qwen3.5 9BQ8_0fits fully10.1 GB~51 tok/s measured src
Qwen3-VL 8BQ6_Kfits fully9.1 GB~62 tok/s scaled from measured src
Qwen3.5 4BQ8_0fits fully5.1 GB~89 tok/s measured src
Qwen3.6 35B-A3BUD-Q4_K_MMoE offload22.5 GB~49 tok/s estimated
llama.cpp · top pick
llama-server -hf unsloth/gemma-4-12b-it-GGUF:Q6_K -c 16384 -fa on --jinja -ngl 99
ollama · top pick
OLLAMA_CONTEXT_LENGTH=16384 ollama run hf.co/unsloth/gemma-4-12b-it-GGUF:Q6_K

All 11 models that fit, fastest first · 16k context

Click a column header to sort. 4 of 11 speeds here are measured or scaled from measured; the rest are bandwidth estimates. Filter by use case, speed source, fit, license and more in the interactive advisor →

ModelParamsQuantFitMemoryTok/sSource
gpt-oss 20B20.91B MoEQ4_K_MMoE offload12.0 GB~121estimated
Qwen3.5 4B4.66BQ8_0fits fully5.1 GB~89measured
Qwen3-VL 8B8.77BQ6_Kfits fully9.1 GB~62scaled from measured
Qwen3.5 9B9.65BQ8_0fits fully10.1 GB~51measured
Qwen3.6 35B-A3B35.95B MoEUD-Q4_K_MMoE offload22.5 GB~49estimated
Qwen3-Coder 30B-A3B30.53B MoEQ4_K_MMoE offload20.2 GB~47estimated
Gemma 4 26B-A4B25.81B MoEUD-Q4_K_MMoE offload17.5 GB~46estimated
Gemma 4 12B11.96BQ6_Kfits fully10.4 GB~43scaled from measured
Mistral Small 3.2 24B24.01BQ4_K_Mpartial offload17.0 GB~8estimated
Qwen3.6 27B27.78BQ4_K_Mpartial offload18.1 GB~7estimated
Gemma 4 31B31.27BQ4_K_Mpartial offload20.5 GB~6estimated

Long context on this hardware · up to 1M tokens

Largest context whose KV cache still fits next to the weights (same placement as the 16k result, KV types f16 / q8_0 / q4_0). Models are capped at their verified maximum; extended means beyond the native maximum using YaRN, only listed where the model card documents it. Long context needs flash attention (-fa on, already in the commands) and a lot of memory; a quantized KV cache saves memory but can cost accuracy. Speed at depth is an estimate (penalty fitted to measured depth runs up to 128k).

Try it in the advisor: 128k · 256k · 512k · 1M

ModelNative maxMax ctx f16Max ctx q8_0Max ctx q4_0Est. tok/s at max f16 ctx
Qwen3.6 35B-A3B UD-Q4_K_M256k512k extended1M extended1M extended~9 estimated
Gemma 4 26B-A4B UD-Q4_K_M256k256k256k256k~18 estimated
Qwen3.6 27B Q4_K_M256k256k256k512k extended~4 estimated
gpt-oss 20B Q4_K_M128k128k128k128k~56 estimated
Qwen3.5 4B Q8_0256k128k256k512k extended~53 estimated
Qwen3-Coder 30B-A3B Q4_K_M256k128k256k512k extended~8 estimated
Gemma 4 31B Q4_K_M256k128k256k256k~4 estimated
Mistral Small 3.2 24B Q4_K_M128k64k128k128k~5 estimated
Qwen3.5 9B Q8_0256k32k64k128k~47 estimated
Gemma 4 12B Q6_K256k32k64k128k~40 estimated
Qwen3-VL 8B Q6_K256k16k32k64k~49 estimated
Affiliate box: “cheapest upgrade” for RTX 4070 12GB. No affiliate links yet.

Open the interactive advisor with this hardware →

Speeds marked measured are medians of real runs (short-context generation) from these sources; scaled from measured means a measurement of a same-size or same-model-different-quant run, scaled by bytes read; estimated comes from memory bandwidth (spec source: https://www.techpowerup.com/gpu-specs/geforce-rtx-4070.c3924) × an efficiency factor of 0.86 calibrated to measured runs on this hardware. 11 measured data points on file for this hardware · submit your benchmark. System RAM here is an example (32 GB, ddr5-5600). Model data last verified 2026-10-14. Ranking = fits and fast enough first, then larger; not a quality benchmark.

Page generated 2026-10-16 by tools/generate_pages.js