What can NVIDIA GeForce RTX 5090 run for long context?

Build: RTX 5090 + Ryzen 9 9950X + 64GB DDR5

Memory: 32 GB VRAM + 64 GB system RAM
Runner: llama.cpp / Ollama (CUDA)

Runs comfortably
100 models

Ranked by fit for long context use case + predicted speed. Click a row for VRAM breakdown.

#1Qwen 3 8B
8B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 14.4 GBHeadroom: 17.6 GBTTFT: fast
ollama run qwen3:8b
137
tok/s
Estimated
Weights
8.20 GB
KV cache
4.00 GB
Activations
0.42 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~164 ms (fast)
#2Qwen 2.5 7B Instruct
7B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 10.8 GBHeadroom: 21.2 GBTTFT: fast
ollama run qwen2.5:7b
157
tok/s
Estimated
Weights
8.10 GB
KV cache
0.47 GB
Activations
0.41 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~143 ms (fast)
#3Gemma 4 E4B (Effective 4B)
4B
gemma
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 8.4 GBHeadroom: 23.6 GBTTFT: instant
ollama run gemma4:e4b
274
tok/s
Estimated
Weights
4.40 GB
KV cache
2.00 GB
Activations
0.23 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~82 ms (instant)
#4Phi-3.5 Mini Instruct
3.8B
phi
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 8.0 GBHeadroom: 24.0 GBTTFT: instant
ollama run phi3.5:3.8b
288
tok/s
Estimated
Weights
4.10 GB
KV cache
1.90 GB
Activations
0.21 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~78 ms (instant)
Quant: Q4_K_MContext: 8,192VRAM: 10.4 GBHeadroom: 21.6 GBTTFT: fast
241
tok/s
Estimated
Weights
4.40 GB
KV cache
4.00 GB
Activations
0.23 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~164 ms (fast)
#6Codestral Mamba 7B
7B
mistral
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 9.7 GBHeadroom: 22.3 GBTTFT: fast
276
tok/s
Estimated
Weights
4.20 GB
KV cache
3.50 GB
Activations
0.22 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~143 ms (fast)
#7Falcon Mamba 7B
7B
falcon
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 9.7 GBHeadroom: 22.3 GBTTFT: fast
276
tok/s
Estimated
Weights
4.20 GB
KV cache
3.50 GB
Activations
0.22 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~143 ms (fast)
Quant: Q4_K_MContext: 8,192VRAM: 11.1 GBHeadroom: 20.9 GBTTFT: fast
241
tok/s
Estimated
Weights
5.00 GB
KV cache
4.00 GB
Activations
0.26 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~164 ms (fast)
#9Mistral Nemo 12B Instruct
12B
mistral
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 21.5 GBHeadroom: 10.5 GBTTFT: fast
ollama run mistral-nemo:12b
91
tok/s
Estimated
Weights
13.00 GB
KV cache
6.00 GB
Activations
0.66 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~246 ms (fast)
#10Qwen 3 14B
14B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 24.6 GBHeadroom: 7.4 GBTTFT: fast
ollama run qwen3:14b
78
tok/s
Estimated
Weights
15.00 GB
KV cache
7.00 GB
Activations
0.76 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~287 ms (fast)
#11Qwen 2.5 14B Instruct
14B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 25.3 GBHeadroom: 6.7 GBTTFT: fast
ollama run qwen2.5:14b
78
tok/s
Estimated
Weights
15.70 GB
KV cache
7.00 GB
Activations
0.79 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~287 ms (fast)
#12Llama 3.1 8B Instruct
8B
llama
Commercial OK
Quant: FP16Context: 8,192VRAM: 19.8 GBHeadroom: 12.2 GBTTFT: fast
ollama run llama3.1:8b
73
tok/s
Estimated
Weights
16.10 GB
KV cache
1.07 GB
Activations
0.81 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~164 ms (fast)

Runs with tradeoffs
22 models

Tight VRAM, partial CPU offload, or context-limited.

Gemma 4 Turkish 26B (4B active)
26B
gemma
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 29.8 GBHeadroom: 2.2 GBTTFT: noticeable
  • • Tight VRAM fit — only 2.2 GB headroom left for context growth
74
tok/s
Estimated
Weights
14.30 GB
KV cache
13.00 GB
Activations
0.72 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~532 ms (noticeable)
Command R 35B
35B
command-r
Quant: Q4_K_MContext: 2,048VRAM: 28.2 GBHeadroom: 3.8 GBTTFT: noticeable
  • • Tight VRAM fit — only 3.8 GB headroom left for context growth
ollama run command-r:35b
55
tok/s
Estimated
Weights
21.00 GB
KV cache
4.38 GB
Activations
1.05 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~717 ms (noticeable)
Jamba 1.5 Mini
52B
other
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 59.3 GBHeadroom: 11.1 GBTTFT: fast
  • • Partial CPU offload: ~46% of layers run on CPU
  • • CPU is the bottleneck — upgrading RAM bandwidth helps more than VRAM here
10
tok/s
Estimated
Weights
30.00 GB
KV cache
26.00 GB
Activations
1.51 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~246 ms (fast)
Mistral Small 3 24B
24B
mistral
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 28.5 GBHeadroom: 3.5 GBTTFT: fast
  • • Tight VRAM fit — only 3.5 GB headroom left for context growth
ollama run mistral-small:24b
80
tok/s
Estimated
Weights
14.00 GB
KV cache
12.00 GB
Activations
0.71 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~492 ms (fast)
Dolphin 3.0 Mistral 24B
24B
dolphin
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 28.5 GBHeadroom: 3.5 GBTTFT: fast
  • • Tight VRAM fit — only 3.5 GB headroom left for context growth
ollama run dolphin-mistral:24b
80
tok/s
Estimated
Weights
14.00 GB
KV cache
12.00 GB
Activations
0.71 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~492 ms (fast)
Llama 3.1 70B Instruct
70B
llama
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 52.6 GBHeadroom: 17.8 GBTTFT: noticeable
  • • Partial CPU offload: ~39% of layers run on CPU
  • • CPU is the bottleneck — upgrading RAM bandwidth helps more than VRAM here
ollama run llama3.1:70b
2
tok/s
Estimated
Weights
40.00 GB
KV cache
8.75 GB
Activations
2.00 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~1434 ms (noticeable)
Llama 3.1 Nemotron 70B Instruct
70B
llama
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 52.6 GBHeadroom: 17.8 GBTTFT: noticeable
  • • Partial CPU offload: ~39% of layers run on CPU
  • • CPU is the bottleneck — upgrading RAM bandwidth helps more than VRAM here
ollama run nemotron:70b
2
tok/s
Estimated
Weights
40.00 GB
KV cache
8.75 GB
Activations
2.00 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~1434 ms (noticeable)
InternVL 2.5 26B
26B
other
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 31.6 GBHeadroom: 0.4 GBTTFT: noticeable
  • • Tight VRAM fit — only 0.4 GB headroom left for context growth
74
tok/s
Estimated
Weights
16.00 GB
KV cache
13.00 GB
Activations
0.81 GB
Runtime
1.80 GB
Time to first token (prefill, 512-token prompt): ~532 ms (noticeable)

What if you upgraded?

Hypothetical scenarios. We re-ran the compatibility engine for each.

+32 GB system RAM

Check the current price

Adds 32 GB to your CPU-offload working set. Helps when models don't quite fit in VRAM.

Unlocks: 28 new comfortable, 25 new tradeoff

  • • Qwen 3 0.6B
  • • Qwen 3 1.7B
  • • Gemma 3 270M
  • • SmolLM2 135M Instruct

Upgrade to NVIDIA A100 40GB

Launch MSRP $11,000 (2020). Check the current price.

40 GB VRAM (vs your 32 GB) plus a bandwidth jump from ~1792 GB/s to ~? GB/s.

Unlocks: 34 new comfortable

  • • Qwen 3 0.6B
  • • Qwen 3 1.7B
  • • Gemma 3 270M
  • • Mistral Small 3 24B

Add a second NVIDIA GeForce RTX 5090

Launch MSRP $1,999 (2025). Check the current price.

Tensor parallelism splits the model across both cards, effectively doubling VRAM. Bandwidth doesn't double — runs ~1.5× the single-card speed in practice.

Unlocks: 46 new comfortable

  • • Qwen 3 0.6B
  • • Llama 3.3 70B Instruct
  • • DeepSeek R1 Distill Llama 70B
  • • Qwen 3 1.7B

Some links above are affiliate links. We may earn a commission at no extra cost to you. How we make money.

Won't run
top 5 popular models

Need more memory than you have. Shown for orientation.

DeepSeek V4 Pro (1.6T MoE)
1600B
deepseek
Commercial OK

Even with CPU offload, needs more memory than your VRAM (32 GB) + 60% of system RAM (38 GB) combined.

—
Qwen 3 235B-A22B
235B
qwen
Commercial OK

Even with CPU offload, needs more memory than your VRAM (32 GB) + 60% of system RAM (38 GB) combined.

—
DeepSeek R1 (671B reasoning)
671B
deepseek
Commercial OK

Even with CPU offload, needs more memory than your VRAM (32 GB) + 60% of system RAM (38 GB) combined.

—
Llama 4 Scout
109B
llama
Commercial OK

Even with CPU offload, needs more memory than your VRAM (32 GB) + 60% of system RAM (38 GB) combined.

—
DeepSeek V4 Flash (284B MoE)
284B
deepseek
Commercial OK

Even with CPU offload, needs more memory than your VRAM (32 GB) + 60% of system RAM (38 GB) combined.

—
Cloud GPU rental

Not enough VRAM for these models? Rent a GPU by the hour

The models above need more memory than 32 GB VRAM + 64 GB system RAM. You can rent a GPU with enough VRAM by the hour to run one of them, or to test it before you buy hardware. For daily use, owning a card usually costs less over time.

RunPod

billed per GPU-hour

Hourly GPU pods, in community-cloud and secure-cloud tiers.

The two tiers run on different hosts and terms. Check which tier a pod is on before a long job.

Rent on RunPod

Vast.ai

billed per GPU-hour

Marketplace of host-listed GPUs; price and reliability vary by host.

Host quality varies. Filter for verified hosts and check the host's reliability before a long run.

Rent on Vast.ai

Referral links: RunLocalAI may earn a commission or account credits if you sign up and rent, at no extra cost to you. Hourly rates and which GPUs are listed change all the time, so check the provider's page before you start. Editorial opinions are independent of the referral relationship; see how we make money.

How to read these numbers

Measured here
Measured here - RunLocalAI ran this exact combo on owner hardware with public evidence.

Source-backed
Source-backed / community - a reproduced public source supports the speed, but it is not labeled as owner-measured.

Extrapolated
Extrapolated - predicted from a measured benchmark on similar-bandwidth hardware.

Estimated
Estimated - formula based on VRAM bandwidth and model architecture; not a benchmark row.

RunLocalAI Will-It-Run Framework →

Want a specific benchmark we don't have? Email Contact support and we'll prioritize it.