whatmodel.sh / Granite 3.1 2B Instruct

Granite 3.1 2B Instruct is an open-weights language model from IBM, released December 2024. Its published size is 2.53B parameters and a 128k-token context window. Licence: apache-2.0.

Catalogue identity notes

Arena entry 'granite-3.1-2b-instruct' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'granite-3.1-2b-instruct' as 'Granite-3.1-2B-Instruct' (IBM, Apache 2.0), linking https://huggingface.co/ibm-granite/granite-3.1-2b-instruct. Maker repo ibm-granite/granite-3.1-2b-instruct @bbc2aed: licence tag apache-2.0. 2,533,531,648 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-12: month the maker's Hugging Face repo was created (createdAt 2024-12-06).

38.5±0.9#594 of 743 LLMsfrom 18 benchmark results across 5 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Granite 3.1 2B Instruct, out of 897 with a score, then more from IBM.

#modelscorewhereRAMreleased
704Gemma 1.1 7B IT Google39±1local~7.1GB2024-04
705Granite 20B Code Base (8K) IBM39±1local~15GB2024-04
706Granite 3.1 2B Instruct IBM39±1local~3.1GB2024-12
707Phi-3.5-vision-instruct Microsoft39±2local~10GB2024-08
708Code Llama 7B Python Meta39±1local~5.8GB2023-08
more from IBM
213Granite 4.2 30B IBM62±1api $0.28/M +local~19GB2026-08
264Granite 4.2 8B IBM59±1api $0.11/M +local~6.8GB2026-08
302Granite 4.2 3B IBM57±1api $0.052/M +local~3.3GB2026-08

see all LLMs · find the ones that fit your machine

$ what it's good at

chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #335 of 405 · 17% of its score · 3 tests

Beats OpenThinker3 7B, Code Llama 70B Instruct, Gemma 4 E2B here, though they rank higher overall. Trails LFM2 350M, Gemma 3 1B, Qwen3 0.6B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1179.0 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 55/388avg 1262▇▇▇ 8.3%blunt
IFEval (aggregation unspecified) lab +163.6% ✎▄▄·▄······▄█ beats 1/5easy · avg 78%▇▇ 6.0%at its level · several runs
Arena-Hard (version/judge unspecified) lab23.3% ✎█·▄··▄·····█ beats 0/5medium · avg 55%▇ 3.1%at its level
math▁▁▃▅█▆▅█▄▁▁▁ #367 of 440 · 35% of its score · 3 tests

Beats GPT-3.5 Turbo (0125), DBRX Instruct, Command R Plus (04-2024) here, though they rank higher overall. Trails OPT-2.7B, Gemma 2B (base), Stable Code 3B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K lab +167.5% ✎█··▄·····▄·█ beats 1/5very easy · avg 89%▇▇▇▇▇▇▇▇▇▇▇ 27%sharp · at its level · several runs
MATH-500 lab35.1% ✎█···▄·▄▄···▄ beats 0/5easy · avg 70%▇▇ 4.0%at its level
AIME 2024 lab0.9% ✎█···▄▄▄····▄ beats 1/5very hard · avg 9.1%▇ 3.6%sharp · too hard for it
other tests9 not in a task · 47% of its score
testresultvs the others in its rundifficultycountswhy
MMLU lab +157.1% ✎▄█········▄█ beats 1/5easy · avg 77%▇▇▇▇▇ 11%at its level · several runs
BIG-Bench Hard lab61.8% ✎█·▄·····▄▄·▄ beats 1/5easy · avg 82%▇▇▇▇ 10%sharp · at its level
ARC Challenge lab54.6% ✎▄▁▁▂▁▄█▇▃▂▃▂ beats 97/140easy · avg 77%▇▇▇ 7.9%sharp · at its level
CPTUB average (SpeakLeash, 0-5 judge scale)38.9% ✎▁▃▂▂▃█▃▆▅▄▂▃ beats 7/95easy · avg 65%▇▇▇ 7.2%at its level
WinoGrande lab67.5% ✎▁▁▁▁▂▁▁▅▇█▃▁ beats 75/131medium · avg 80%▇▇ 3.9%at its level
HellaSwag lab75.1% ✎▁▁▁▂▂▂▄▆█▇▄▂ beats 91/135easy · avg 87%▇ 3.0%at its level
PopQA lab20.5% ✎▄·█······▄·█ beats 1/5hard · avg 33%▇ 2.9%typical
Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate)84.3% ✎▁▁▃▃▄▄█▆▃▂▂▁ beats 13/140very easy · avg 94%▇ 0.9%blunt · noisy
1 more test
testresultvs the others in its rundifficultycountswhy
DROP lab21.0% ✎▃▃·····▃···█ beats 0/5medium · avg 54%▇ 0.4%blunt · at its level

$ where to run it

Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.

llama.cpp · recommended

version

  1. Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.
    macOS / Linux
    curl -LsSf https://llama.app/install.sh | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Granite 3.1 2B Instruct · needs 3.1 GB memory, 1.55 GB download · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/granite-3.1-2b-instruct-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf lmstudio-community/granite-3.1-2b-instruct-GGUF:Q4_K_M

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Granite 3.1 2B Instruct · needs 3.1 GB memory, 1.55 GB download · from huggingface.co/lmstudio-community

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lmstudio-community/granite-3.1-2b-instruct-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Granite 3.1 2B Instruct · needs 3.1 GB memory, 1.57 GB download · from ollama.com
    chat in the terminal
    ollama run granite3.1-dense:2b-instruct-q4_K_M

Model repository and documentation: huggingface.co/ibm-granite ↗

$ how the score was worked out · ibm-granite/granite-3.3-8b-in… 52%, ibm-granite/granite-3.1-3b-a8… 32%, LMArena leaderboard dataset 8% and 2 more

Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works

sourceresultsshare of the scorelicence
ibm-granite/granite-3.3-8b-instruct model card · maker-reported9Apache-2.0
ibm-granite/granite-3.1-3b-a800m-instruct model card · maker-reported6Apache-2.0
LMArena leaderboard dataset1CC BY 4.0
SpeakLeash CPTUB (Complex Polish Text Understanding Benchmark)1MIT
Vectara hallucination leaderboard (vectara/hallucination-leaderboard repository)1Apache-2.0
prior · pull toward the middle
weighted average= 38.5

$ improve this page

Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.

data updated · sources and licences · json