Free local AI calculator

Can I Run AI Locally? LLM VRAM Calculator

Pick your graphics card, Mac or mini PC and see which open AI models it can run, graded S to F, with real speeds, the exact file to download and the command to start it. Covers text and coding models, plus image and video models.

Data verified October 13, 2026 Runs in your browser, nothing uploaded 75 text models · 20 image and video models

Loading the calculator. If nothing appears, JavaScript is turned off; the tables below still list the best models for common setups.

Best local AI models by hardware (October 2026)

Worked out with the calculator above at 16K tokens of context. A grade rates how well a model runs on that hardware, not how smart it is. Select a setup to load it into the calculator.

HardwareBest overallSmartest that still worksBest for codingLargest image modelLargest video model
8 GB GPU (RTX 4060) + 32 GB RAM
33 text models at grade B or better
Grade A: Qwen3.6-35B-A3B
44 tokens/sec, UD-Q4_K_M file (22.1 GB)
Same as best overallGrade A: Qwen3.6-35B-A3B
44 tokens/sec, UD-Q4_K_M file (22.1 GB)
Grade B: Krea 2 Turbo
about 26 s each
Grade B: LTX-2.5
about 2 min each
12 GB GPU (RTX 3060) + 32 GB RAM
38 text models at grade B or better
Grade A: Qwen3.6-35B-A3B
40 tokens/sec, UD-Q4_K_M file (22.1 GB)
Same as best overallGrade A: Qwen3.6-35B-A3B
40 tokens/sec, UD-Q4_K_M file (22.1 GB)
Grade B: Krea 2 Turbo
about 30 s each
Grade B: MiniMax-H3
about 7 min each
16 GB GPU (RTX 5060 Ti) + 64 GB RAM
48 text models at grade B or better
Grade A: Qwen3.6-35B-A3B
41 tokens/sec, Q8_0 file (36.9 GB)
Grade B: Qwen3.8-27B
25 tokens/sec, Q3_K_M file (13.3 GB)
Grade A: Qwen3.6-35B-A3B
41 tokens/sec, Q8_0 file (36.9 GB)
Grade A: Krea 2 Turbo
about 12 s each
Grade B: MiniMax-H3
about 2 min each
24 GB GPU (RTX 3090) + 64 GB RAM
53 text models at grade B or better
Grade S: Qwen3.8-27B
40 tokens/sec, UD-Q4_K_M file (16.5 GB)
Same as best overallGrade S: Qwen3.8-27B
40 tokens/sec, UD-Q4_K_M file (16.5 GB)
Grade A: Krea 2 Turbo
about 11 s each
Grade B: MiniMax-H3
about 2 min each
24 GB GPU (RTX 3090) + 128 GB RAM
54 text models at grade B or better
Grade A: Qwen3.8-Flash-Next
30 tokens/sec, UD-Q4_K_XL file (111.3 GB)
Same as best overallGrade A: Qwen3.8-Flash-Next
30 tokens/sec, UD-Q4_K_XL file (111.3 GB)
Grade A: Krea 2 Turbo
about 11 s each
Grade B: MiniMax-H3
about 2 min each
32 GB GPU (RTX 5090) + 64 GB RAM
55 text models at grade B or better
Grade S: Qwen3.8-27B
43 tokens/sec, Q8_0 file (29.1 GB)
Same as best overallGrade S: Qwen3.8-27B
43 tokens/sec, Q8_0 file (29.1 GB)
Grade B: FLUX.2 [dev]
about 30 s each
Grade S: MiniMax-H3
about 32 s each
Mac with 16 GB (M6)
24 text models at grade B or better
Grade S: Qwen3.5 4B
38 tokens/sec, Q4_K_M file (2.7 GB)
Same as best overallGrade S: Qwen3.5 4B
38 tokens/sec, Q4_K_M file (2.7 GB)
Nothing at grade BNothing at grade B
Mac with 24 GB (M5)
29 text models at grade B or better
Grade S: Gemma 4 26B A4B
36 tokens/sec, QAT Q4_0 file (14.4 GB)
Same as best overallGrade S: Gemma 4 26B A4B
36 tokens/sec, QAT Q4_0 file (14.4 GB)
Nothing at grade BNothing at grade B
Mac with 32 GB (M5)
37 text models at grade B or better
Grade A: Qwen3.6-35B-A3B
44 tokens/sec, UD-Q4_K_M file (22.1 GB)
Same as best overallGrade A: Qwen3.6-35B-A3B
44 tokens/sec, UD-Q4_K_M file (22.1 GB)
Nothing at grade BNothing at grade B
Mac with 48 GB (M5 Pro)
48 text models at grade B or better
Grade S: Qwen3.6-35B-A3B
57 tokens/sec, Q8_0 file (36.9 GB)
Grade B: Qwen3.8-27B
13 tokens/sec, UD-Q4_K_M file (16.5 GB)
Grade S: Qwen3.6-35B-A3B
57 tokens/sec, Q8_0 file (36.9 GB)
Grade B: FLUX.2 [klein] 4B
about 31 s each
Grade B: LTX-2.5
about 6 min each
Mac with 64 GB (M5 Max)
51 text models at grade B or better
Grade A: Qwen3.8-27B
25 tokens/sec, UD-Q4_K_M file (16.5 GB)
Same as best overallGrade A: Qwen3.8-27B
25 tokens/sec, UD-Q4_K_M file (16.5 GB)
Grade B: FLUX.1 [schnell]
about 25 s each
Grade B: MiniMax-H3
about 9 min each
64 GB mini PC (Ryzen AI Max+ 395, Linux)
50 text models at grade B or better
Grade S: Qwen3.6-35B-A3B
53 tokens/sec, Q8_0 file (36.9 GB)
Grade B: Qwen3.8-27B
11 tokens/sec, UD-Q4_K_M file (16.5 GB)
Grade S: Qwen3.6-35B-A3B
53 tokens/sec, Q8_0 file (36.9 GB)
Grade B: Krea 2 Turbo
about 42 s each
Grade B: MiniMax-H3
about 6 min each
128 GB mini PC (Ryzen AI Max+ 395, Linux)
55 text models at grade B or better
Grade A: Step 3.7 Flash
21 tokens/sec, UD-Q4_K_XL file (122.2 GB)
Grade B: GLM-5.3-Flash
17 tokens/sec, UD-IQ3_XXS file (120.4 GB)
Grade S: Qwen3.6-35B-A3B
53 tokens/sec, Q8_0 file (36.9 GB)
Grade B: Krea 2 Turbo
about 42 s each
Grade B: MiniMax-H3
about 6 min each
Mac with 128 GB (M5 Max)
56 text models at grade B or better
Grade A: Qwen3.8-Flash-Next
71 tokens/sec, UD-Q4_K_XL file (111.3 GB)
Same as best overallGrade A: Qwen3.8-Flash-Next
71 tokens/sec, UD-Q4_K_XL file (111.3 GB)
Grade B: FLUX.1 [schnell]
about 25 s each
Grade B: MiniMax-H3
about 9 min each
Mac Studio with 256 GB (M5 Ultra)
61 text models at grade B or better
Grade S: GLM-5.3-Flash
54 tokens/sec, UD-Q4_K_XL file (199.7 GB)
Same as best overallGrade S: GLM-5.3-Flash
54 tokens/sec, UD-Q4_K_XL file (199.7 GB)
Grade B: Krea 2 Turbo
about 33 s each
Grade B: MiniMax-H3
about 5 min each
Mac Studio with 512 GB (M5 Ultra)
63 text models at grade B or better
Grade A: GLM-5.3
29 tokens/sec, UD-IQ4_XS file (365.3 GB)
Same as best overallGrade A: GLM-5.3
29 tokens/sec, UD-IQ4_XS file (365.3 GB)
Grade B: Krea 2 Turbo
about 33 s each
Grade B: MiniMax-H3
about 5 min each

Minimum and recommended hardware for popular models

For each model: the most common setup in our list that runs it at all (grade C or better) and the first that runs it well (grade A), at 16K tokens of context, plus the memory its 4-bit file needs. Select a model for its full requirements and upgrade options.

ModelMinimum setupRecommended setupMemory for the 4-bit file
gpt-oss-20bGrade B: No GPU, 32 GB DDR5
20 tokens/sec with the MXFP4 file
Grade A: 8 GB GPU (RTX 4060) + 32 GB RAM
42 tokens/sec with the MXFP4 file
13.1 GB with the MXFP4 file (12.1 GB)
One 16 GB card, or a 24 GB Mac
gpt-oss-120bGrade A: 16 GB GPU (RTX 5060 Ti) + 64 GB RAM
26 tokens/sec with the MXFP4 file
Grade A: 16 GB GPU (RTX 5060 Ti) + 64 GB RAM
26 tokens/sec with the MXFP4 file
65.2 GB with the MXFP4 file (63.4 GB)
One 96 GB card or three 24 GB cards, or a 96 GB Mac
Qwen3.8-27B
Our guide
Grade B: 16 GB GPU (RTX 5060 Ti)
25 tokens/sec with the Q3_K_M file (3-bit, some quality loss)
Grade S: 24 GB GPU (RTX 3090)
40 tokens/sec with the UD-Q4_K_M file
18.3 GB with the UD-Q4_K_M file (16.5 GB)
One 24 GB card, or a 32 GB Mac
Qwen3.6-35B-A3BGrade B: No GPU, 32 GB DDR5
23 tokens/sec with the UD-Q4_K_M file
Grade A: 8 GB GPU (RTX 4060) + 32 GB RAM
44 tokens/sec with the UD-Q4_K_M file
23.2 GB with the UD-Q4_K_M file (22.1 GB)
One 24 GB card, or a 36 GB Mac
Gemma 4 31B
Our guide
Grade C: 16 GB GPU (RTX 5060 Ti) + 64 GB RAM
17 tokens/sec with the Q3_K_M file (3-bit, some quality loss)
Grade S: 24 GB GPU (RTX 3090)
37 tokens/sec with the QAT Q4_0 file
20.5 GB with the QAT Q4_0 file (17.7 GB)
One 24 GB card, or a 32 GB Mac
Gemma 4 26B A4B
Our guide
Grade B: No GPU, 32 GB DDR5
19 tokens/sec with the QAT Q4_0 file
Grade A: 8 GB GPU (RTX 4060) + 32 GB RAM
42 tokens/sec with the QAT Q4_0 file
15.6 GB with the QAT Q4_0 file (14.4 GB)
One 16 GB card, or a 24 GB Mac
Llama 3.3 70B
Our guide
Grade C: 24 GB GPU (RTX 3090)
34 tokens/sec with the IQ2_XXS file (2-bit, large quality loss)
Grade A: Two 24 GB GPUs (2x RTX 3090)
16 tokens/sec with the Q4_K_M file
48.8 GB with the Q4_K_M file (42.5 GB)
One 48 GB card or two 24 GB cards, or a 64 GB Mac
Llama 3.1 8BGrade C: No GPU, 32 GB DDR5
11 tokens/sec with the Q4_K_M file
Grade A: 8 GB GPU (RTX 4060)
40 tokens/sec with the Q4_K_M file
7.6 GB with the Q4_K_M file (4.9 GB)
One 8 GB card, or a 16 GB Mac
Qwen3-Coder-Next 80B-A3BGrade C: No GPU, 32 GB DDR5
22 tokens/sec with the UD-Q2_K_XL file (2-bit, large quality loss)
Grade A: 16 GB GPU (RTX 5060 Ti) + 64 GB RAM
41 tokens/sec with the Q4_K_M file
50 GB with the Q4_K_M file (48.5 GB)
One 48 GB card or two 24 GB cards, or a 64 GB Mac
Qwen3.5 122B-A10BGrade B: 16 GB GPU (RTX 5060 Ti) + 64 GB RAM
27 tokens/sec with the UD-IQ3_XXS file (3-bit, some quality loss)
Grade A: 24 GB GPU (RTX 3090) + 64 GB RAM
22 tokens/sec with the Q4_K_M file
78.4 GB with the Q4_K_M file (76.5 GB)
One 96 GB card or four 24 GB cards, or a 128 GB Mac
DeepSeek V4-Flash 0731
Our guide
Grade C: 24 GB GPU (RTX 3090) + 128 GB RAM
6.9 tokens/sec with the UD-IQ3_XXS file (3-bit, some quality loss)
Grade A: Mac Studio with 256 GB (M5 Ultra)
25 tokens/sec with the UD-Q8_K_XL file
156.8 GB with the UD-Q4_K_XL file (155.1 GB)
Two 96 GB cards, or a 256 GB Mac
GLM-5.3-Flash
Our guide
Grade C: 24 GB GPU (RTX 3090) + 128 GB RAM
15 tokens/sec with the UD-IQ3_XXS file (3-bit, some quality loss)
Grade S: Mac Studio with 256 GB (M5 Ultra)
54 tokens/sec with the UD-Q4_K_XL file
201.7 GB with the UD-Q4_K_XL file (199.7 GB)
Two 96 GB cards, or a 256 GB Mac
Kimi K3
Our guide
Grade D: Mac Studio with 512 GB (M5 Ultra)
15 tokens/sec with the UD-Q1_0 file (1-bit, experimental quality)
None of our reference setups1511.2 GB with the UD-Q4_K_XL file (1508.7 GB)
More than eight 96 GB cards
Mistral Small 3.2 24BGrade B: 16 GB GPU (RTX 5060 Ti)
29 tokens/sec with the Q3_K_M file (3-bit, some quality loss)
Grade S: 24 GB GPU (RTX 3090)
47 tokens/sec with the Q4_K_M file
17.6 GB with the Q4_K_M file (14.3 GB)
One 24 GB card, or a 32 GB Mac
Qwen3 32BGrade C: 16 GB GPU (RTX 5060 Ti) + 64 GB RAM
8.4 tokens/sec with the Q3_K_M file (3-bit, some quality loss)
Grade A: 24 GB GPU (RTX 3090)
34 tokens/sec with the Q4_K_M file
24.7 GB with the Q4_K_M file (19.8 GB)
One 24 GB card, or a 36 GB Mac
Phi-4 14BGrade C: No GPU, 32 GB DDR5
6 tokens/sec with the Q4_K_M file
Grade A: 16 GB GPU (RTX 5060 Ti)
36 tokens/sec with the Q4_K_M file
12.8 GB with the Q4_K_M file (8.9 GB)
One 16 GB card, or an 18 GB Mac
Qwen3.8-Flash-Next
Our guide
Grade B: 24 GB GPU (RTX 3090) + 64 GB RAM
39 tokens/sec with the UD-IQ3_XXS file (3-bit, some quality loss)
Grade A: 24 GB GPU (RTX 3090) + 128 GB RAM
30 tokens/sec with the UD-Q4_K_XL file
113.5 GB with the UD-Q4_K_XL file (111.3 GB)
Two 96 GB cards, or a 192 GB Mac
GLM-5.3
Our guide
Grade C: Mac Studio with 256 GB (M5 Ultra)
32 tokens/sec with the UD-Q2_K_XL file (2-bit, large quality loss)
Grade A: Mac Studio with 512 GB (M5 Ultra)
29 tokens/sec with the UD-IQ4_XS file
368.4 GB with the UD-IQ4_XS file (365.3 GB)
Four 96 GB cards, or a 512 GB Mac
MiMo-V2.6-Flash
Our guide
Grade C: 24 GB GPU (RTX 3090) + 64 GB RAM
21 tokens/sec with the BPW2.0 file (2-bit, large quality loss)
Grade S: Mac Studio with 256 GB (M5 Ultra)
67 tokens/sec with the MXFP4 file
169.4 GB with the MXFP4 file (167.4 GB)
Two 96 GB cards, or a 256 GB Mac
MiMo-V2.6-Pro
Our guide
Grade C: 96 GB workstation GPU (RTX PRO 6000) + 256 GB RAM
28 tokens/sec with the BPW2.0 file (2-bit, large quality loss)
None of our reference setups556.7 GB with the MXFP4 file (554.2 GB)
Six 96 GB cards
Qwen3.8-2.4T-A95B
Our guide
Grade D: Mac Studio with 512 GB (M5 Ultra)
17 tokens/sec with the UD-Q1_0 file (1-bit, experimental quality)
None of our reference setups1314.6 GB with the UD-IQ4_XS file (1310.9 GB)
More than eight 96 GB cards
Kimi K2.7-Code
Our guide
Grade C: 96 GB workstation GPU (RTX PRO 6000) + 256 GB RAM
27 tokens/sec with the UD-Q2_K_XL file (2-bit, large quality loss)
None of our reference setups586.5 GB with the UD-Q4_K_XL file (583.7 GB)
Six 96 GB cards
Gemma 4 12B
Our guide
Grade C: No GPU, 32 GB DDR5
7.5 tokens/sec with the QAT Q4_0 file
Grade S: 12 GB GPU (RTX 3060)
36 tokens/sec with the QAT Q4_0 file
8.1 GB with the QAT Q4_0 file (7 GB)
One 12 GB card, or a 16 GB Mac
Gemma 4 E4B
Our guide
Grade B: No GPU, 32 GB DDR5
18 tokens/sec with the Q4_K_M file
Grade S: 8 GB GPU (RTX 4060)
67 tokens/sec with the Q4_K_M file
6 GB with the Q4_K_M file (5 GB)
One 8 GB card, or a 16 GB Mac
Nemotron 3.5 Lightning
Our guide
Grade B: No GPU, 32 GB DDR5
21 tokens/sec with the Q4_0 file
Grade A: 8 GB GPU (RTX 4060) + 32 GB RAM
39 tokens/sec with the Q4_0 file
19.7 GB with the Q4_0 file (18.9 GB)
One 24 GB card, or a 32 GB Mac
Devstral Small 2 24BGrade B: 16 GB GPU (RTX 5060 Ti)
29 tokens/sec with the Q3_K_M file (3-bit, some quality loss)
Grade S: 24 GB GPU (RTX 3090)
47 tokens/sec with the Q4_K_M file
17.6 GB with the Q4_K_M file (14.3 GB)
One 24 GB card, or a 32 GB Mac

How the calculator works

Pick your hardware and the calculator tries every downloadable file of every model we track, checks what fits in GPU memory, system RAM or both, and grades how well the best option runs. It covers graphics cards from the GTX 10 series to the RTX 50 series, AMD and Intel cards, every Apple silicon Mac, Strix Halo and DGX Spark mini PCs, and laptop chips with built-in graphics. Everything runs in your browser.

What the grades mean

A grade rates how well a model runs on your hardware, never how smart it is. The score column (from the Artificial Analysis Intelligence Index) covers intelligence.

  • S, runs great: a 4-bit or better file fully in GPU memory at 30 or more tokens per second.
  • A, runs well: 15 or more tokens per second with a 4-bit or better file and the context you asked for.
  • B, usable: readable speed, or a 3-bit file, or a long prompt that takes over a minute to read.
  • C, slow or compromised: a 2-bit file, a model split layer by layer between GPU and RAM, or prompt reading over three minutes.
  • D, barely runs: under 4 tokens per second, or a 1-bit file.
  • F: does not fit.

For image and video models the grade comes from the time per image (S under 5 seconds, A under 15, B under 45, C under 150) or per clip of about five seconds (S under a minute, A under 3 minutes, B under 10, C under 30). Streaming weights from RAM, or 3-bit and 2-bit files, cap the grade.

How we estimate memory

Memory use is the model file plus the context cache plus a runtime buffer. File sizes come from the actual downloads on Hugging Face. The cache size comes from each model's attention layout: models that mix sliding-window, linear or recurrent layers with full attention need far less cache per token than older designs. Graphics cards lose about 0.6 GB to the driver; Macs give the GPU two thirds of memory (up to 32 GB) or three quarters (above that) unless you raise the limit; Strix Halo mini PCs give the GPU what Linux or Windows allows.

When a model does not fit on the GPU, the calculator tries keeping a mixture-of-experts model's experts in system RAM (llama.cpp's --n-cpu-moe, counted in whole layers) and then splitting a dense model's layers between GPU and RAM.

How we estimate speed

Writing a reply is limited by memory bandwidth: every token reads the active weights once. We divide the bytes read per token by each device's real-world bandwidth and add a small fixed cost per layer, calibrated against published llama.cpp results. Across 39 measured runs on NVIDIA, AMD, Intel, Apple, Strix Halo and DGX Spark hardware, the median error is 9%, and none is off by more than 30%.

Reading a prompt (the wait before the first word) is limited by compute. We start from each device's measured llama.cpp prompt speed and scale it by the model's active parameters and attention cost. When weights sit in system RAM, llama.cpp copies them to the GPU for each batch of prompt tokens, which is why our commands set -ub 2048. The median error across 56 measured runs is 9%.

Images and video are limited by compute. We take measured ComfyUI timings (for example FLUX.1 [dev] at 20 steps: 26 seconds on an RTX 3090, 11 on a 4090, 9 on a 5090) and scale them by each device's tensor throughput and platform efficiency. These are rougher, about plus or minus 50%, and models without a published timing are marked.

Where the data comes from

Model sizes, layer counts and licenses come from each model's Hugging Face repository and files. Intelligence scores come from the Artificial Analysis Intelligence Index (scores marked "est." are Artificial Analysis estimates). Speeds are calibrated on llama.cpp's public benchmark threads, the ComfyUI GPU benchmark thread, AMD and NVIDIA technical blogs and independent reviews. Every figure was checked in October 2026; the date at the top shows the last full refresh.

Privacy: what the Detect button reads

Nothing runs until you press it. It reads the graphics name your browser already exposes to every web page through WebGL, your processor's thread count and, in Chrome and Edge, a rounded memory figure. It shows you exactly what it read, stores nothing, sends nothing anywhere and sets no cookies. Privacy-focused browsers such as Brave, Firefox with resist-fingerprinting and Tor Browser hide these details on purpose; the calculator then asks you to pick your hardware instead. Your choices are kept only in the page address, so a copied link reproduces your view.

Frequently asked questions

What AI models can I run on 8 GB of VRAM?

Small models such as Gemma 4 E4B, Qwen3.5 9B and Llama 3.1 8B fit entirely on an 8 GB card at 4-bit. With 32 GB of system RAM you can also run mixture-of-experts models such as Qwen3.6-35B-A3B and gpt-oss-20b by keeping their experts in RAM: about 40 to 50 tokens per second on an RTX 4060 by our estimate. For images, FLUX.2 [klein] 4B and Z-Image-Turbo take about 10 seconds an image by our estimate; video is possible but slow.

How much VRAM do I need for a 70B model?

Llama 3.3 70B's 4-bit file is 42.5 GB, so it needs about 48 GB of GPU memory with a 16K context: two 24 GB cards, a 48 GB workstation card, or a Mac or mini PC with 64 GB or more. A 32 GB RTX 5090 can run its 3-bit file (27.5 GB). Newer models such as Qwen3.8-27B score higher than Llama 3.3 70B with about a third of the memory.

Is a Mac or a graphics card better for local AI?

A graphics card is faster for anything that fits on it: an RTX 5090 moves 1,792 GB/s versus 614 GB/s on an M5 Max, and NVIDIA cards read prompts and generate images several times faster. A Mac (or a Strix Halo or DGX Spark mini PC) holds far bigger models, up to 512 GB of unified memory on a Mac Studio, so it runs models no single graphics card can. M5-generation Macs read prompts about three times faster than M4 Macs.

What is a mixture-of-experts model, and why does it need less VRAM?

A mixture-of-experts (MoE) model has many expert blocks but uses only a few for each token. Qwen3.6-35B-A3B has 35 billion parameters but reads only about 3 billion per token. That means its experts can sit in slower system RAM while the shared parts stay on the GPU, and it still runs fast. Dense models read every parameter for every token, so they slow down sharply when they spill out of GPU memory.

What do Q4_K_M, Q8_0 and the other file names mean?

They describe how the model's numbers are compressed (quantized). Q8_0 keeps about 8 bits per weight and is nearly identical to the original. Q4_K_M keeps about 4.8 bits, roughly halving the size with a small quality loss; it is the usual sweet spot. Q3 and Q2 files are smaller still but lose noticeable quality, and 1-bit files are experimental. MXFP4 and NVFP4 are newer 4-bit formats; some models, like gpt-oss, are trained in them, so they lose nothing.

Why is prompt reading slow on Macs and mini PCs?

Writing a reply depends on memory bandwidth, where Macs and mini PCs do well. Reading a prompt depends on raw compute, where a big graphics card is many times faster. A long document or a coding agent's context can take a minute or more before the first word on a large dense model, which is why the calculator shows a "slow prompt reading" tag and lowers the grade when an 8K-token prompt takes over a minute.

Is my data private when I run models locally?

Yes. Once the model file is downloaded, Ollama, llama.cpp, LM Studio and ComfyUI run entirely on your machine, and your prompts, documents and images never leave it. If you expose a local AI server to your network, our local AI network security guide covers how to lock it down.

Related guides