Yes — with 15.6 GB to spare
Granite 4.1 8B at Q4_K_M fits your Tesla M40 24 GB entirely on the GPU at 8K context, at an estimated 35 tokens per second. Past 107K the KV cache pushes it over — quantise the cache to q8_0, or step down a quantisation, to go longer.
Matches the old Granite 4.0 32B MoE at a quarter of the size. Fast, Apache 2.0, no reasoning traces.
Hardware requirements What hardware do I need to run Granite 4.1 8B? →At Q4_K_M with an 8K context: a 10 GB GPU (Arc B570) or a 16 GB Mac (M4). Minimum, recommended, high-quality and long-context tiers, with all 114 devices checked at every quantisation.
The VRAM budget
Quantisation ladder
| Quant | Weights | Total @ 8K | Max context | Tok/s | Quality | Fit |
|---|---|---|---|---|---|---|
| F16 | 16.4 GB | 18.2 GB | 34K | 11 | Reference | Long context |
| Q8_0 | 8.7 GB | 10.5 GB | 83K | 20 | −0.1% ppl | Long context |
| Q6_K | 6.7 GB | 8.6 GB | 96K | 26 | −0.4% ppl | Long context |
| Q5_K_M | 5.8 GB | 7.7 GB | 102K | 30 | −0.8% ppl | Long context |
| Q4_K_M | 4.9 GB | 6.8 GB | 107K | 35 | −1.9% ppl | Recommended |
| Q3_K_M | 4.0 GB | 5.9 GB | 113K | 44 | −5.4% ppl | Long context |
| Q2_K | 3.4 GB | 5.3 GB | 117K | 51 | −15% ppl | Long context |
Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it.
How to run it
$ ollama pull granite4.1:8b $ OLLAMA_CONTEXT_LENGTH=8192 \ ollama run granite4.1:8b
The default. One binary, a model registry, an OpenAI-compatible port. More on Ollama.
Related models on a Tesla M40 24 GB
| Model | Total | Tok/s est. | |
|---|---|---|---|
| Granite 4.1 3B 3.4B · same family |
Q4_K_M · 3.1 GB | 91 | Runs great |
| Granite 4.1 30B 28.9B · same family |
Q4_K_M · 18.9 GB | 11 | Runs great |
| Ministral 3 8B 8.92B · similar size |
Q4_K_M · 6.7 GB | 35 | Runs great |
| LFM2.5 8B-A1B 8.47B MoE · similar size |
Q4_K_M · 5.5 GB | 80 | Runs great |
| Fara 7B 8.29B · similar size |
Q4_K_M · 5.7 GB | 37 | Runs great |
| Ornith 1.5 9B 9.41B · similar size |
Q4_K_M · 6.1 GB | 33 | Runs great |
| Qwen3 8B 8.19B · similar size |
Q4_K_M · 6.3 GB | 38 | Runs great |
Granite 4.1 8B on other hardware
| Device | Total | Tok/s est. | |
|---|---|---|---|
| GeForce RTX 4060 Laptop 7.0 GB usable · 256 GB/s |
6.8 GB | 31 | Tight fit |
| Arc B570 8.8 GB usable · 380 GB/s |
6.8 GB | 47 | Runs great |
| GeForce RTX 3060 12 GB 10.6 GB usable · 360 GB/s |
6.8 GB | 44 | Runs great |
| M4 · 16 GB 10.7 GB usable · 120 GB/s |
6.8 GB | 14 | Runs great |
| GeForce RTX 4090 22.4 GB usable · 1008 GB/s |
6.8 GB | 123 | Runs great |
| Radeon RX 7900 XTX 22.4 GB usable · 960 GB/s |
6.8 GB | 118 | Runs great |
| M3 Max · 64 GB 48.0 GB usable · 400 GB/s |
6.8 GB | 45 | Runs great |