IBM

Granite 4.2 8B

Tool callingStructured outputReasoning
Granite 4.2 8B launch post cover
Context
131K
Listed
1mo ago
Parameters
8B
Input / 1M tokens
$0.06
Output / 1M tokens
$0.25
Cached input / 1M tokens
$0.02

Sources:OpenRouter

Benchmarks

DeepSWE is the primary coding benchmark where an exact model evaluation exists. Other sourced evaluations appear below; missing scores are not zero.

Not evaluated in DeepSWE 1.1 as of 2026-09-22. Results are only shown for exact model versions in the official dataset. Official leaderboard.

No benchmark results have been matched to this model yet.

Specifications

Developer
IBM
Model family
Granite
Type
Language model
Predecessor
—
Successor
—
Listed on OpenRouter
August 31, 2026
Model ID
ibm-granite/granite-4.2-8b
Openness
Open weights
License
—
Parameters
8B
Input modalities
text
Output modalities
text
Modality
text->text
Native context
128K
Tokenizer
Other
Max output tokens
118K
Source freshness
Endpoints synced Oct 15, 2026, 11:24 AM UTC

Open-weight builds

Ollama variants

Every published Ollama tag matched to this model, including parameter editions, instruction/base variants, and quantized builds.

45 builds
VariantParametersTypeQuantizationSizeContextInput
granite4.2:3b-bf163B—BF167.3 GB128Ktext
granite4.2:3b-q2_K3B—Q2_K1.5 GB128Ktext
granite4.2:3b-q3_K_L3B—Q3_K_L2 GB128Ktext
granite4.2:3b-q3_K_M3B—Q3_K_M1.8 GB128Ktext
granite4.2:3b-q3_K_S3B—Q3_K_S1.7 GB128Ktext
granite4.2:3b-q4_03B—Q4_02.1 GB128Ktext
granite4.2:3b-q4_13B—Q4_12.3 GB128Ktext
granite4.2:3b3B—Q4_K_M2.2 GB128Ktext
granite4.2:3b-q4_K_S3B—Q4_K_S2.1 GB128Ktext
granite4.2:3b-q5_03B—Q5_02.6 GB128Ktext
granite4.2:3b-q5_13B—Q5_12.8 GB128Ktext
granite4.2:3b-q5_K_M3B—Q5_K_M2.6 GB128Ktext
granite4.2:3b-q5_K_S3B—Q5_K_S2.6 GB128Ktext
granite4.2:3b-q6_K3B—Q6_K3 GB128Ktext
granite4.2:3b-q8_03B—Q8_03.9 GB128Ktext
granite4.2:8b-bf168B—BF1618 GB128Ktext
granite4.2:8b-q2_K8B—Q2_K3.4 GB128Ktext
granite4.2:8b-q3_K_L8B—Q3_K_L4.7 GB128Ktext
granite4.2:8b-q3_K_M8B—Q3_K_M4.3 GB128Ktext
granite4.2:8b-q3_K_S8B—Q3_K_S3.9 GB128Ktext
granite4.2:8b-q4_08B—Q4_05.1 GB128Ktext
granite4.2:8b-q4_18B—Q4_15.6 GB128Ktext
granite4.2:latest8B—Q4_K_M5.3 GB128Ktext
granite4.2:8b-q4_K_S8B—Q4_K_S5.1 GB128Ktext
granite4.2:8b-q5_08B—Q5_06.1 GB128Ktext
granite4.2:8b-q5_18B—Q5_16.6 GB128Ktext
granite4.2:8b-q5_K_M8B—Q5_K_M6.3 GB128Ktext
granite4.2:8b-q5_K_S8B—Q5_K_S6.1 GB128Ktext
granite4.2:8b-q6_K8B—Q6_K7.2 GB128Ktext
granite4.2:8b-q8_08B—Q8_09.3 GB128Ktext
granite4.2:30b-bf1630B—BF1645 GB128Ktext
granite4.2:30b-q2_K30B—Q2_K11 GB128Ktext
granite4.2:30b-q3_K_L30B—Q3_K_L15 GB128Ktext
granite4.2:30b-q3_K_M30B—Q3_K_M14 GB128Ktext
granite4.2:30b-q3_K_S30B—Q3_K_S13 GB128Ktext
granite4.2:30b-q4_030B—Q4_017 GB128Ktext
granite4.2:30b-q4_130B—Q4_118 GB128Ktext
granite4.2:30b30B—Q4_K_M18 GB128Ktext
granite4.2:30b-q4_K_S30B—Q4_K_S17 GB128Ktext
granite4.2:30b-q5_030B—Q5_020 GB128Ktext
granite4.2:30b-q5_130B—Q5_122 GB128Ktext
granite4.2:30b-q5_K_M30B—Q5_K_M21 GB128Ktext
granite4.2:30b-q5_K_S30B—Q5_K_S20 GB128Ktext
granite4.2:30b-q6_K30B—Q6_K24 GB128Ktext
granite4.2:30b-q8_030B—Q8_031 GB128Ktext

Infrastructure

Provider availability

All providers
ProviderEndpointContextInput /M tokensOutput /M tokensCached input /M tokensCache write /M tokensUptime 1dData handling
DeepInfradeepinfra/bf16131K$0.06$0.25$0.02—100.00%
ZDR: Yes

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

CoreWeavecoreweave/bf16131K$0.10$0.15$0.05—100.00%
ZDR: Yes

Training: Unknown

Prompt logging: Unknown

Retention: Unknown

Checked 2026-10-15

Provider data:OpenRouter

Deployment graph

Can I run this?

Vertical Tabs only shows compatibility when it has structured evidence tying this exact model to hardware, runtime, quantization, memory use, and observed performance.

Browse hardware