IBM
Granite Code 3B (3B parameters) requires approximately 6.1 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 8 GB of VRAM.
Get started
— copy & paste to run locallyCopy-paste commands to run Granite Code 3B on your machine.
Run
ollama run granite-code:3bQuick specs
About this model
Related models
Quick picks
Best hardware
Run this model
Quantization options
No hardware detected — fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 1.2 GB | Low | — |
Q3_K_S | 3 | 1.5 GB | Low | — |
NVFP4 | 4 | 1.7 GB | Medium | — |
Q4_K_M | 4 | 1.8 GB | Medium | — |
Q5_K_M | 5 | 2.2 GB | High | — |
Q6_K | 6 | 2.5 GB | High | — |
Q8_0 | 8 | 3.2 GB | Very High | — |
F16 | 16 | 6.1 GB | Maximum | — |
Quality benchmarks
Coding
Source: official · 2024-05-07
Hardware compatibility
Computing compatibility...
Memory breakdown
Frequently asked questions
Granite Code 3B (3B parameters) requires approximately 6.1 GB of VRAM with Q4_K_M quantization. Lower quantizations like Q4_K_M use less memory but may reduce quality.
Yes, Intel Arc A580 8GB can run Granite Code 3B with a compatibility score of 70/100. It provides 8 GB of memory and achieves approximately 42.0 tokens per second.
The recommended quantization for Granite Code 3B is Q4_K_M, which offers the best balance between model quality and memory efficiency. Higher quantizations preserve more quality but require more VRAM.
The top recommended hardware for Granite Code 3B: RTX 5060 8GB (score: 71/100), RTX 5060 Ti 8GB (score: 71/100), RTX 5050 8GB (score: 71/100). These provide the best combination of memory, bandwidth, and compute for running this model locally.
Yes, Granite Code 3B is well-suited for coding. It was designed with these use cases in mind.
See also