whatmodel.sh / Granite 4.2 30B
Granite 4.2 30B
↗ share
+ contribute
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.
$ how it compares
The LLMs ranked either side of Granite 4.2 30B, out of 828 with a score, then more from IBM.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 190 | 63±1 | comparison only | |||
| 191 | 63±1 | api $0.34/M +local | |||
| 192 | 63±1 | api $0.28/M +local | |||
| 193 | 63±1 | comparison only | |||
| 194 | 63±1 | comparison only | |||
| more from IBM | |||||
| 239 | 60±1 | api $0.11/M +local | |||
| 276 | 57±1 | api $0.052/M +local | |||
| 299 | 56±1 | local | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #131 of 300 · 31% of its score · 6 tests
Beats o3, Gemini 2.5 Pro, DeepSeek V3.2 Exp here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Large, GPT-4o (2024-05-13) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Pro (split unspecified) lab | 33.3% ✎ | ▃·▁▁▁▂▂▃█▇▃▁ beats 15/55 | 7.2% |
| SWE-bench Verified lab | 57.0% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 47/131 | 6.9% |
| Terminal-Bench 2.1 lab | 29.2% ✎ | ▁·▁·▁▁▄▃▄█▃▇ beats 8/56 | 6.5% |
| SWE-bench Multilingual lab | 41.9% ✎ | ▁··▁▃▃▅▇█▃▃▁ beats 8/60 | 4.5% |
| BFCL V4 (December 2025 archive) lab | 61.4% ✎ | ▁▁▁▂▇▆▆▆█▃▄▂ beats 94/111 | 3.0% |
| τ³-bench lab | 62.0% ✎ | ▁▁▂▁·▁▁·▁▁▃█ beats 12/25 | 2.5% |
coding▁▁▁▃▆██▇▆▄▃▁ #146 of 458 · 28% of its score · 5 tests
Beats Gemini 2.5 Pro, Gemini 3.1 Flash-Lite, Qwen3-Coder-Next (80B-A3B) here, though they rank higher overall. Trails Phi-4-reasoning 14B, DeepSeek V3 0324, Devstral Small 2 24B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Pro (split unspecified) lab | 33.3% ✎ | ▃·▁▁▁▂▂▃█▇▃▁ beats 15/55 | 7.2% |
| SWE-bench Verified lab | 57.0% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 47/131 | 6.9% |
| LiveCodeBench v6 (window unspecified) lab | 75.8% ✎ | ▂▃▄▄▅██▅▄▇▃▆ beats 41/65 | 6.2% |
| SWE-bench Multilingual lab | 41.9% ✎ | ▁··▁▃▃▅▇█▃▃▁ beats 8/60 | 4.5% |
| SciCode (level unspecified) lab | 38.8% ✎ | ▁····▃▄▄▄█▆▂ beats 22/34 | 3.6% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #169 of 393 * · 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, Gemma 3 12B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1339.6 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 177/379 | 11% |
| Arena-Hard v2 aggregate lab | 67.9% ✎ | ▁▁··▄▃▁▃█▁▁▇ beats 15/22 | 6.5% |
math▁▂▃▅▆▅▄█▄▁▁▁ #71 of 398 * · 14% of its score · 2 tests
Beats Claude Sonnet 4.6, Claude Opus 4.5, Qwen3.7 Plus here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| AIME 2025 lab | 89.2% ✎ | ▁·▁▁▁▂▅▆█▇▅▁ beats 112/133 | 8.9% |
| HMMT February 2025 lab | 89.2% ✎ | ▁▁▁▃▁▅▅▃██▁▄ beats 17/31 | 5.0% |
other tests8 not in a task · 28% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA (subset unspecified) lab | 66.4% ✎ | ▂▁▂▂▄▃▆▃▅█▄▃ beats 70/104 | 10% |
| MMLU-Pro lab | 77.6% ✎ | ▁▁·▁▁▁▃▂▄▅█▁ beats 112/188 | 5.4% |
| ProfBench lab | 42.9% ✎ | █·········██ beats 2/2 | 3.0% |
| RULER 128k lab | 81.4% ✎ | ▃··▅▄▇▅█▇·▃▃ beats 25/32 | 2.6% |
| IFBench prompt-level lab | 77.2% ✎ | █▄▄··▄·▄···▄ beats 4/6 | 2.6% |
| MMLU-ProX-Lite lab | 66.6% ✎ | █·········██ beats 2/2 | 2.0% |
| RULER 64k lab | 90.0% ✎ | ▁▁·▂·▂▃▅█▂▃▁ beats 24/25 | 2.0% |
| BIRD (text-to-SQL) lab | 41.9% ✎ | █··········█ beats 1/1 | — |
$ 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.
llama.cpp · recommended
version
- 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 | shWindowsirm https://llama.app/install.ps1 | iex - Run Granite 4.2 30B · needs ~17.7 GB · from huggingface.co/ibm-granitechat in the terminal
llama cli -hf ibm-granite/granite-4.2-30b-GGUF:Q4_K_M - 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
- Install LM Studio · Open the app once before using the lms command.
- Run Granite 4.2 30B · needs ~17.7 GB · from huggingface.co/ibm-granite
- Or download it in the terminal
lms get https://huggingface.co/ibm-granite/granite-4.2-30b-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Granite 4.2 30B · needs ~18.08 GB · from ollama.comchat in the terminal
ollama run granite4.2:30b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Granite 4.2 30B · needs ~16.5 GB, Mac only · from huggingface.co/ibm-granitechat in the terminal
mlx_lm.chat --model ibm-granite/granite-4.2-30b-q4-mlx - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model ibm-granite/granite-4.2-30b-q4-mlx
Weights and documentation: huggingface.co/ibm-granite ↗
$ how the score was worked out · ibm-granite/granite-4.2-30b m… 88%, LMArena leaderboard dataset 11%
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
| source | results | share of the score |
|---|---|---|
| 18 | 88% | |
| 1 | 11% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 63.0 |
not counted (1)
| ibm-granite/granite-4.2-30b model card | BIRD (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