whatmodel.sh / Granite 4.2 30B

Granite 4.2 30B is an open-weights language model from IBM, released August 2026. Its published size is 29.3B parameters and a 131k-token context window. Licence: apache-2.0.

62.4±1.1#185 of 743 LLMsfrom 19 benchmark results across 2 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Granite 4.2 30B, out of 897 with a score, then more from IBM.

#modelscorewhereRAMreleased
211Qwen3-Next 80B-A3B Instruct Alibaba63±1api $0.34/M +local~32GB2025-09
212Gemini 2.5 Flash Preview (09-2025) Google63±1comparison only2025-09
213Granite 4.2 30B IBM62±1api $0.28/M +local~19GB2026-08
214Qwen3-Next 80B-A3B Thinking Alibaba62±1api $0.41/M +local~31GB2025-09
215GPT-4.5 Preview OpenAI62±1comparison only2025-02
more from IBM
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
309Granite 4.1 30B IBM57±1local~20GB2026-04

see all LLMs · find the ones that fit your machine

$ what it's good at

agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #150 of 319 · 31% of its score · 6 tests

Beats Gemini 2.5 Pro, DeepSeek V3.2 Exp, Qwen3 235B-A22B Thinking 2507 here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Large, GPT-4o (2024-05-13) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
SWE-bench Pro (split unspecified) lab33.3% ✎▁·▁▁▁▁▁▄█▁▁▁ beats 16/64very hard · avg 7.7%▇▇▇ 7.6%sharp · at its level · small run
SWE-bench Verified lab57.0% ✎▁▁▁▁▁▁▂▄█▆▁▁ beats 49/140hard · avg 23%▇▇▇ 6.9%sharp · at its level · small run
Terminal-Bench 2.1 lab29.2% ✎▁·▁·▁▁▄▃▅█▆█ beats 9/68very hard · avg 11%▇▇ 6.0%sharp · at its level · small run
SWE-bench Multilingual lab41.9% ✎▁··▂▃▃▆█▃▂▁▁ beats 9/69hard · avg 19%▇▇ 4.6%at its level · small run
BFCL V4 (December 2025 archive) lab61.4% ✎▁▁▁▂▆▆▅▆█▃▄▃ beats 95/114medium · avg 39%▇ 3.2%at its level · small run
τ³-bench lab62.0% ✎▁▁▂▁·▁▁·▂▁▃█ beats 13/26medium · avg 38%▇ 2.4%at its level · small run
coding▁▁▁▃▆▇█▆▆▃▃▁ #161 of 474 · 29% of its score · 5 tests

Beats Qwen3-Coder-Next (80B-A3B), Gemini 2.5 Pro, Gemini 3.1 Flash-Lite here, though they rank higher overall. Trails QwQ-32B-Preview, Ministral 3 8B Reasoning 2512, Phi-4-reasoning 14B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
SWE-bench Pro (split unspecified) lab33.3% ✎▁·▁▁▁▁▁▄█▁▁▁ beats 16/64very hard · avg 7.7%▇▇▇ 7.6%sharp · at its level · small run
SWE-bench Verified lab57.0% ✎▁▁▁▁▁▁▂▄█▆▁▁ beats 49/140hard · avg 23%▇▇▇ 6.9%sharp · at its level · small run
LiveCodeBench v6 (window unspecified) lab75.8% ✎▂▃▄▄▅██▆▄▇▄▆ beats 42/67medium · avg 49%▇▇▇ 6.3%small run
SWE-bench Multilingual lab41.9% ✎▁··▂▃▃▆█▃▂▁▁ beats 9/69hard · avg 19%▇▇ 4.6%at its level · small run
SciCode (level unspecified) lab38.8% ✎▁····▃▃▄▄█▆▃ beats 26/42hard · avg 19%▇▇ 3.8%at its level · small run
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #179 of 405 * · 18% of its score · 2 tests

Beats MiniCPM5 2B here, though they rank higher overall. Trails LFM2.5 1.2B Instruct, LFM2.5 1.2B Thinking, LFM2.5 8B-A1B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1340.1 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 177/388avg 1262▇▇▇▇▇ 12%blunt
Arena-Hard v2 aggregate lab67.9% ✎▁▁··▄▃▁▃█▁▁▇ beats 15/22hard · avg 28%▇▇ 6.1%sharp · at its level · small run
math▁▁▃▅█▆▅█▄▁▁▁ #80 of 440 * · 14% of its score · 2 tests

Beats Claude Sonnet 4.6, Qwen3.7 Plus, Claude Opus 4.5 here, though they rank higher overall.

testresultvs the others in its rundifficultycountswhy
AIME 2025 lab89.2% ✎▁·▁▁▁▃▅▇█▆▃▁ beats 112/134medium · avg 60%▇▇▇▇ 9.2%sharp · small run
HMMT February 2025 lab89.2% ✎▁▁▁▃▁▅▅▃██▁▄ beats 17/31medium · avg 59%▇▇ 4.4%small run
other tests8 not in a task · 27% of its score
testresultvs the others in its rundifficultycountswhy
GPQA (subset unspecified) lab66.4% ✎▂▁▂▂▄▃▆▃▅█▃▃ beats 71/106hard · avg 42%▇▇▇▇ 10%sharp · at its level · small run
MMLU-Pro lab77.6% ✎▁▁·▁▁▁▃▂▄▅█▁ beats 112/189medium · avg 55%▇▇ 5.6%small run
ProfBench lab42.9% ✎█·········██ beats 2/2hard · avg 25%▇ 2.8%at its level · small run
RULER 128k lab81.4% ✎▃··▅▄█▅█▇·▃▃ beats 26/33medium · avg 57%▇ 2.5%small run
IFBench prompt-level lab77.2% ✎▄······██▄▄▄ beats 5/7medium · avg 63%▇ 2.4%small run
RULER 64k lab90.0% ✎▁▁·▂·▂▃▄█▂▃▁ beats 25/26easy · avg 70%▇ 2.1%small run
MMLU-ProX-Lite lab66.6% ✎█·········██ beats 2/2hard · avg 34%▇ 1.8%at its level · small run
BIRD (text-to-SQL) lab41.9% ✎█··········█ beats 1/1—not counted yet: no other model in the same run to compare it with

$ where to run it

Through an API

api · DeepInfra · $0.28/M · $0.16 in / $0.65 out per 1M tokens · 131k context · deepinfra.com ↗ · price sourceUSD per 1M text tokens. DeepInfra standard synchronous API, model ibm-granite/granite-4.2-30b; uncached input, no batch. Tools, cache storage and other modalities excluded. Provider does not specify quantization. Bertrande, https://bertrande.com/en/ai/deepinfra/ibm-granite--granite-4.2-30b; observed 2026-09-22T10:15:02Z. CC BY 4.0; units normalized and model identifier mapped.

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 4.2 30B · needs 20.4 GB memory, 17.7 GB download · from huggingface.co/ibm-granite
    chat in the terminal
    llama cli -hf ibm-granite/granite-4.2-30b-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf ibm-granite/granite-4.2-30b-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 4.2 30B · needs 20.4 GB memory, 17.7 GB download · from huggingface.co/ibm-granite

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/ibm-granite/granite-4.2-30b-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 4.2 30B · needs 20.4 GB memory, 17.7 GB download · from ollama.com
    chat in the terminal
    ollama run granite4.2:30b

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Granite 4.2 30B · needs 19.2 GB memory, 16.5 GB download, Mac only · from huggingface.co/ibm-granite
    chat in the terminal
    mlx_lm.chat --model ibm-granite/granite-4.2-30b-q4-mlx
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model ibm-granite/granite-4.2-30b-q4-mlx

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

$ how the score was worked out · ibm-granite/granite-4.2-30b m… 88%, LMArena leaderboard dataset 12%

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-4.2-30b model card · maker-reported18Apache-2.0
LMArena leaderboard dataset1CC BY 4.0
prior · pull toward the middle
weighted average= 62.4

not counted (1)

ibm-granite/granite-4.2-30b model cardBIRD (text-to-SQL) [correct]41.9%fewer than three models have this test yet, or this source ran it for this model alone

$ 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