Skip to content
llmmodels
Code modelOpen weights

Granite 3.0 2B

by IBM · Oct 21, 2024

Granite 3.0 2B is an open-weight code model from IBM, released Oct 21, 2024. It has 2.6B parameters.

Provider
IBM
Released
Oct 21, 2024
Type
Code model
Parameters
2.6B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
apache-2.0
Knowledge cutoff
—
Status
Open weights
Training compute
1.8e+23 FLOP
Training data
12000B tokens/words
HF downloads (30d)
3.3K

About Granite 3.0 2B

This report presents Granite 3.0, a new set of lightweight, state-of-the-art, open foundation models ranging in scale from 400 million to 8 billion active parameters. Equipped with native support of multilingual, coding, function calling, and strong safety performance, these models target enterprise use cases, including on-premise and on-device settings. Evaluations on a comprehensive set of tasks demonstrate that our models consistently reach state-of-the-art performance for their size (as shown in Figure 1 and 2).

How to run Granite 3.0 2B

Granite 3.0 2B is an open-weight model published on Hugging Face as ibm-granite/granite-3.0-2b-instruct. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 2.6B parameters it needs roughly 2 GB of memory at 4-bit quantization.

Granite 3.0 2B vs alternatives

Alternatives to Granite 3.0 2B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Qwen2.5-Coder (1.5B)openAlibaba (Qwen)Sep 20241.5B———89.1
Stable Code 3BopenStability AIJan 20242.8B————
OpenELM-3BopenAppleMay 20243B————
MiniCPM-3-4BopenZhipu AI (Z.ai)Jun 20244B————
Qwen2.5-Coder (7B)openAlibaba (Qwen)Sep 20247.6B———107.4
Phi-2openMicrosoftDec 20232.8B———96.2
OpenELM-1.1BopenAppleMay 20241.1B————
EXAONE Deep 2.4BopenLG AI ResearchMar 20252.4B————

More models from IBM

All IBM models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Granite 4.2 8BopenAug 20268.8B128K$0.06$0.15
granite-embedding-small-english-r2openJul 202548M———
granite-4.1-3bopenApr 20263.4B———
granite-embedding-97m-multilingual-r2openApr 202697M———
granite-speech-4.1-2b-naropenMar 20262.3B———
Granite-4.0-H-SmallopenOct 202532B128K$0.064$0.265
granite-embedding-311m-multilingual-r2openApr 2026312M———
granite-vision-4.1-4bopenApr 20264B———

Frequently asked questions

Who made Granite 3.0 2B?

Granite 3.0 2B was developed by IBM (United States of America). It was released on Oct 21, 2024.

Is Granite 3.0 2B open source?

Yes. Granite 3.0 2B's weights are publicly available under the apache-2.0 license on Hugging Face (ibm-granite/granite-3.0-2b-instruct), so you can download and run it yourself.

How many parameters does Granite 3.0 2B have?

Granite 3.0 2B has 2.6B parameters.

Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.