MEMORY PLANNING REPORT

GPT OSS 20B on RTX 4070 Super: VRAM & Speed

Memory estimates at Q4_K_M, 8k context, FP16 cache, one GPU and Windows runtime overhead.

Generic quantization planning, not the native mixed-precision MXFP4 checkpoint size. Cache assumes 12 full layers and 12 rolling 128-token sliding layers; runtimes retaining full sliding-layer caches use more memory. Requires a compatible backend and Harmony formatting.

Estimated Verdict
VRAM Shortfall / Offload Unverified

Executive Hardware Compatibility Summary: GPT-OSS 20B on NVIDIA GeForce RTX 4070 Super

Estimated verdict, memory allocation and token generation performance:

Direct Answer: VRAM Shortfall / Offload UnverifiedGPT-OSS 20B exceeds dedicated physical VRAM and triggers PCIe layer offloading on NVIDIA GeForce RTX 4070 Super (12GB). At Q4_K_M quantization and an 8,192-token context window, estimated decoding memory demand is 14.64 GB (12.79 GB weights + 0.20 GB KV cache + 0.50 GB activation + 1.15 GB runtime buffers). Physical VRAM is exceeded by 2.64 GB, forcing 5 transformer layers to offload across the PCIe bus to host DDR RAM. Estimated generation throughput is ~58.5 tokens/sec (~17.1 ms per token) with prompt prefill processing reaching ~4800 tok/s.
Run Verdict
VRAM Shortfall / Offload Unverified
Total Required VRAM
14.64 GB / 12 GB
Estimated Decoding Speed
~58.5 tok/s (17.1ms)
Safe Context Window
0 tokens

Hybrid Attention Memory Budget

Generic quantization planning, not the native mixed-precision MXFP4 checkpoint size. Cache assumes 12 full layers and 12 rolling 128-token sliding layers; runtimes retaining full sliding-layer caches use more memory. Requires a compatible backend and Harmony formatting.

Full-Attention Layers
12 / 24
Rolling Window / Fixed States
12 × 128 tokens
Weight Budget
12.79 GB
Cache and State Budget
0.2 GB

VRAM Shortfall / Offload Unverified

oom

5/24 layers will spill to CPU RAM, causing severe PCIe bandwidth throttling (est. 58.5 tok/s).

Throughput
~58.5 tok/s
17.1 ms / token
Headroom
-2.64 GB
122% of capacity
Layers Fit
19 / 24
5 on DDR5
Max Safe Ctx
0
Tokens before OOM
Host DDR RAM Status:Fits in DDR RAM (+3.1 GB used of 32 GB)
Static Permalink:/can-i-run/gpt-oss-20b-on-rtx-4070-super
Open Static Report

Insufficient memory headroom: validate CPU offloading, host RAM and prefill, or reduce the workload before running. Reference templates require pinned images, matching checkpoints, sufficient memory and backend validation. This planner has not executed these GPU deployments.

Ready-to-Run CLI Commands

# Supply a compatible GPT-OSS 20B Q4_K_M GGUF checkpoint; no filename or download URL is assumed.
: "${MODEL_GGUF:?Set the absolute path to the matching GGUF file}"
llama-cli -m "$MODEL_GGUF" -c 8192 -ngl 19 -t 8

# GPT-OSS 20B | Q4_K_M | per-request context=8192 | concurrency=1
# Pin the image, supply matching checkpoints and validate backend/device support.
# KV cache: f16; CUDA image required.
# Capacity warning: validate memory, workload peaks and offloading before starting.
# POSIX shell (Linux, macOS or WSL). Install a device-compatible llama.cpp build first.
: "${MODEL_GGUF:?Set the absolute path to the matching Q4_K_M GGUF}"
: "${LLAMA_API_KEY:?Set a strong API key}"
export LLAMA_API_KEY
llama-server -m "$MODEL_GGUF" --ctx-size 8192 --parallel 1 --n-gpu-layers 19 --cache-type-k f16 --cache-type-v f16 --host 127.0.0.1 --port 8000

Reference commands require a matching checkpoint, compatible runtime and workload-specific validation.

Hardware Specification Summary

GPU ArchitectureAda Lovelace
Memory Bandwidth504 GB/s
Model Parameters21B (MoE)
Attention ArchitectureHybrid
Prompt Prefill Speed~4800 tok/s (TTFT ~1707ms)
Planning Context8,192 tokens
Customize in Full Matcher Simulator →
Data Sources & Verification
Engine / Catalog
2.5.0 / catalog-2026-11-17
Hardware specs and price
NVIDIA GeForce RTX 4070 Super · Catalog reference; per-field sources and verification dates incomplete, not a live quote
Model reference
openai/gpt-oss-20b
Architecture source check
Reference only; gated source or architecture/pipeline not checked
About these results
Planning estimates and reference data only. Results vary with model, backend and input length.

Global Compatibility Matrix for NVIDIA GeForce RTX 4070 Super

Q4_K_M planning reference; token workloads use 8,192 context. Non-token pipeline peaks remain uncalibrated.

Compatibility Index
48% (31/64)
30 Pass1 Tight33 OOM
Model & ArchitectureCategoryParametersRequired VRAMFit StatusEst. SpeedSimulate
Qwen
LLM27B
19.08 GB
VRAM Shortfall / Offload Unverified~5.8 tok/sSimulate
GPT-OSS
MoE21B(3.6B active)
14.64 GB
VRAM Shortfall / Offload Unverified~58.5 tok/sSimulate
GLM
MoE30B(3B active)
20.36 GB
VRAM Shortfall / Offload Unverified~47.5 tok/sSimulate
Qwen
LLM4B
5.19 GB
Estimated Memory Fit~144.8 tok/sSimulate
Qwen
LLM8.19B
7.98 GB
Estimated Memory Fit~70.7 tok/sSimulate
Qwen
LLM14.77B
12.28 GB
Prefill OOM Risk~39.2 tok/sSimulate
Qwen
LLM32.76B
24.03 GB
VRAM Shortfall / Offload Unverified~3.4 tok/sSimulate
Qwen
LLM4B
5.19 GB
Estimated Memory Fit~144.8 tok/sSimulate
DeepSeek
MoE671B(37B active)
411.5 GB
VRAM / Host RAM Shortfall~0.4 tok/sSimulate
DeepSeek
MoE671B(37B active)
411.5 GB
VRAM / Host RAM Shortfall~0.4 tok/sSimulate
DeepSeek
LLM70.6B
48.1 GB
VRAM / Host RAM Shortfall~0.7 tok/sSimulate
DeepSeek
LLM32.8B
24.06 GB
VRAM Shortfall / Offload Unverified~3.4 tok/sSimulate
DeepSeek
LLM14.7B
12.5 GB
Prefill OOM Risk~39.4 tok/sSimulate
DeepSeek
LLM8B
7.73 GB
Estimated Memory Fit~72.4 tok/sSimulate
DeepSeek
LLM8.19B
7.98 GB
Estimated Memory Fit~70.7 tok/sSimulate
DeepSeek
LLM7.6B
6.81 GB
Estimated Memory Fit~76.2 tok/sSimulate
DeepSeek
LLM1.8B
2.73 GB
Estimated Memory Fit~180 tok/sSimulate
DeepSeek
MoE15.7B(2.4B active)
11.29 GB
Tight Memory Estimate~180 tok/sSimulate
DeepSeek
MoE236B(21B active)
146.24 GB
VRAM / Host RAM Shortfall~0.8 tok/sSimulate
Qwen
LLM72.7B
49.37 GB
VRAM / Host RAM Shortfall~0.7 tok/sSimulate
Qwen
LLM72.7B
49.37 GB
VRAM / Host RAM Shortfall~0.7 tok/sSimulate
Qwen
LLM7.61B
6.82 GB
Estimated Memory Fit~76.1 tok/sSimulate
Qwen
LLM32.8B
24.06 GB
VRAM Shortfall / Offload Unverified~3.4 tok/sSimulate
Qwen
LLM14.7B
12.5 GB
Prefill OOM Risk~39.4 tok/sSimulate
Qwen
LLM7.6B
6.81 GB
Estimated Memory Fit~76.2 tok/sSimulate
Qwen
LLM1.54B
2.57 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM32.8B
24.06 GB
VRAM Shortfall / Offload Unverified~3.4 tok/sSimulate
Qwen
LLM14.7B
12.5 GB
Prefill OOM Risk~39.4 tok/sSimulate
Qwen
LLM7.6B
6.81 GB
Estimated Memory Fit~76.2 tok/sSimulate
Qwen
LLM3.1B
3.67 GB
Estimated Memory Fit~180 tok/sSimulate
Qwen
LLM0.49B
1.8 GB
Estimated Memory Fit~180 tok/sSimulate
Llama
LLM70.6B
48.1 GB
VRAM / Host RAM Shortfall~0.7 tok/sSimulate
Llama
LLM70.6B
48.1 GB
VRAM / Host RAM Shortfall~0.7 tok/sSimulate
Llama
LLM405B
254.57 GB
VRAM / Host RAM Shortfall~0.4 tok/sSimulate
Llama
LLM8B
7.73 GB
Estimated Memory Fit~72.4 tok/sSimulate
Llama
LLM3.2B
4.52 GB
Estimated Memory Fit~180 tok/sSimulate
Llama
LLM1.23B
2.49 GB
Estimated Memory Fit~180 tok/sSimulate
Llama
LLM10.6B
9.32 GB
Estimated Memory Fit~54.7 tok/sSimulate
Llama
LLM89B
59.96 GB
VRAM / Host RAM Shortfall~0.4 tok/sSimulate
Phi
LLM14.7B
12.57 GB
VRAM Shortfall / Offload Unverified~17.6 tok/sSimulate
Phi
LLM3.82B
7.15 GB
Estimated Memory Fit~151.7 tok/sSimulate
Gemma
LLM9.2B
10.11 GB
Estimated Memory Fit~63 tok/sSimulate
Mistral
LLM24B
17.9 GB
VRAM Shortfall / Offload Unverified~6.7 tok/sSimulate
Mistral
LLM12.2B
10.71 GB
Estimated Memory Fit~47.5 tok/sSimulate
Mistral
LLM7.25B
7.28 GB
Estimated Memory Fit~79.9 tok/sSimulate
Mistral
LLM22.2B
17.5 GB
VRAM Shortfall / Offload Unverified~7.6 tok/sSimulate
Mistral
LLM123B
80.92 GB
VRAM / Host RAM Shortfall~0.4 tok/sSimulate
Mistral
MoE46.7B(12.9B active)
31.3 GB
VRAM Shortfall / Offload Unverified~6.6 tok/sSimulate
Mistral
MoE141B(39B active)
89.85 GB
VRAM / Host RAM Shortfall~0.7 tok/sSimulate
Mistral
LLM12.4B
10.84 GB
Estimated Memory Fit~46.7 tok/sSimulate
Gemma
LLM27.2B
21.49 GB
VRAM Shortfall / Offload Unverified~4.4 tok/sSimulate
Gemma
LLM2.6B
3.92 GB
Estimated Memory Fit~180 tok/sSimulate
GLM
LLM9.4B
8.19 GB
Estimated Memory Fit~61.6 tok/sSimulate
FLUX
ImageGen12B
15.68 GB
VRAM Shortfall / Offload UnverifiedNot validatedSimulate
FLUX
ImageGen12B
15.68 GB
VRAM Shortfall / Offload UnverifiedNot validatedSimulate
SDXL
ImageGen3.5B
7.51 GB
Estimated Memory FitNot validatedSimulate
SD
ImageGen1B
5.78 GB
Estimated Memory FitNot validatedSimulate
Whisper
Audio1.5B
2.31 GB
Estimated Memory FitNot validatedSimulate
Kokoro
Audio0.082B
1.46 GB
Estimated Memory FitNot validatedSimulate
Wan
VideoGen14.2B
18.72 GB
VRAM Shortfall / Offload UnverifiedNot validatedSimulate
Wan
VideoGen1.3B
7.28 GB
Estimated Memory FitNot validatedSimulate
Hunyuan
VideoGen13B
19.69 GB
VRAM Shortfall / Offload UnverifiedNot validatedSimulate
SD
ImageGen8.1B
13.3 GB
VRAM Shortfall / Offload UnverifiedNot validatedSimulate
BAAI
Embedding0.56B
1.74 GB
Estimated Memory FitNot validatedSimulate

GPT-OSS 20B Context Scaling Matrix on NVIDIA GeForce RTX 4070 Super

Estimated KV cache and generation throughput across sequence lengths (Q4_K_M weights):

Context WindowKV Cache MemoryTotal VRAM DemandCompatibility StatusOffloaded LayersEst. Generation Speed
2,048 tokens (2k)0.05 GB14.49 GB / 12 GBMemory Shortfall5 layers on RAM~58.5 tok/s
4,096 tokens (4k)0.10 GB14.54 GB / 12 GBMemory Shortfall5 layers on RAM~58.5 tok/s
8,192 tokens (8k)Standard Baseline0.20 GB14.64 GB / 12 GBMemory Shortfall5 layers on RAM~58.5 tok/s
16,384 tokens (16k)0.40 GB14.84 GB / 12 GBMemory Shortfall6 layers on RAM~55.4 tok/s
32,768 tokens (32k)0.80 GB15.24 GB / 12 GBMemory Shortfall7 layers on RAM~52.4 tok/s

Hardware Compatibility Q&A: GPT-OSS 20B on NVIDIA GeForce RTX 4070 Super

Memory budgets, runtime conditions and deployment considerations.

Can NVIDIA GeForce RTX 4070 Super run GPT-OSS 20B?
VRAM Shortfall / Offload Unverified. 5/24 layers will spill to CPU RAM, causing severe PCIe bandwidth throttling (est. 58.5 tok/s).
How much memory does GPT-OSS 20B require?
Q4_K_M planning reference: 14.64 GB runtime, 14.64 GB peak, 12 GB available. Baseline: 8,192 context, FP16 KV, Windows, one GPU.
Is the performance measured?
No. Generation of ~58.5 tok/s is an analytical estimate. Prefill and actual backend behaviour need separate validation.
What if memory is insufficient?
Distinguish weights, cache, activation peaks and host RAM shortfalls. Compare a smaller workload, quantization, offloading or multiple GPUs. Offload support and performance depend on the runtime; automatic success is not guaranteed.
How do I deploy?
No verified generic Ollama tag is supplied. Use a workload-specific backend and matching checkpoint. Backend references remain in the command and deployment sections. Check formats, secrets, pinned images, runtime settings and memory before startup validation.

Related Hardware Benchmarks & Model Alternatives

Compare GPT-OSS 20B and NVIDIA GeForce RTX 4070 Super against alternative configurations:

Recommended Alternative GPUs for GPT-OSS 20B

Explore how GPT-OSS 20B performs across other budget, midrange, and flagship architectures:

Other Popular Models You Can Run on NVIDIA GeForce RTX 4070 Super

Other MoE models with an estimated memory fit on NVIDIA GeForce RTX 4070 Super (12GB):

Dual GPU Showdown: NVIDIA GeForce RTX 4070 Super vs NVIDIA GeForce RTX 4070

Compare memory bandwidth (504 GB/s vs 504 GB/s), VRAM headroom (12GB vs 12GB), and inference speed head-to-head.

Launch Showdown Arena

Frequently Asked Questions (FAQ)

Weights are only part of memory use. KV cache, activations, runtime buffers and desktop applications also consume memory. Prompt prefill can exceed the decoding footprint. Exact requirements depend on model architecture, context, concurrency and backend.