FitMyLLM
IBM/Dense

IBMGranite 3.1 2B

Granite 3.1 2B — improved reasoning and safety over 3.0.

chatcoding
2.53B
Parameters
128K
Context length
4
Benchmarks
6
Quantizations
30K
HF downloads
Architecture
Dense
Released
2024-12-16
Layers
40
KV Heads
8
Head Dim
64
Family
granite

Quantization Options

Context length:
QuantBitsVRAM @ 16KQuality
Q4_K_M4.89
3.0 GB
2.0 + 0.9 KV
good
Q5_K_S5.57
3.2 GB
2.3 + 0.9 KV
good
Q5_K_M5.7
3.2 GB
2.3 + 0.9 KV
good
Q6_K6.56
3.5 GB
2.6 + 0.9 KV
excellent
Q8_08.5
4.1 GB
3.2 + 0.9 KV
lossless
FP1616
6.5 GB
5.5 + 0.9 KV
lossless

Select your GPU above to see speed estimates and compatibility for each quantization.

Deploying for a team or in production? Size GPUs, cost & scaling in Enterprise →
READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN GRANITE 3.1 2B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (4)

Arena Elo1135
IFEval58.0
HumanEval35.0
BigCodeBench20.5

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run granite3.1-dense:2b-instruct-q4_K_M

Downloads and runs automatically. Add --verbose for speed stats.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla C2050
3 GB VRAM • 144 GB/s
NVIDIA
NVIDIA Tesla M2050
3 GB VRAM • 148 GB/s
NVIDIA
NVIDIA Tesla S2050
3 GB VRAM • 148 GB/s
NVIDIA

Find the best GPU for Granite 3.1 2B

Build Hardware for Granite 3.1 2B

Granite 3.1 2B — improved reasoning and safety over 3.0.

▸ SPEC SHEET

Granite 3.1 2B2.53B Dense.

▸ SPECIFICATIONS
PARAMETERS
2.53B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
128K tokens
CAPABILITIES
chat, coding
RELEASE DATE
2024-12-16
PROVIDER
IBM
FAMILY
granite
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.892.0 GB94%
Q5_K_S5.572.3 GB96%
Q5_K_M5.72.3 GB96%
Q6_K6.562.6 GB97%
Q8_08.53.2 GB100%
FP16165.5 GB100%
§ 01BENCHMARK SCORES
HumanEval35.0
IFEval58.0
BigCodeBench20.5
Arena Elo1135.0
§ 02RUN COMMAND

Run Granite 3.1 2B locally with Ollama — needs 2.0 GB VRAM at Q4_K_M:

$ollama run granite3.1-dense:2b
§ 03COMPATIBLE GPUs
30 @ Q4_K_M