IBM Granite Code Models by IBM Research

IBM ResearchApache 2.0Open source
IBM Research releases · 20 in the last 12 monthsChangelog →
1 model2024

Last refreshed 2026-10-02. Next refresh: weekly.

Details

ResearcherIBM Research
LicenseApache 2.0OSI-approved
Commercial usePermitted
Models1
Released2024

About

Granite Code is IBM Research's family of open decoder-only models for code tasks such as generating, fixing, explaining, and documenting code. They were trained on code in 116 programming languages, using data IBM describes as license-permissible and collected under its AI ethics principles. The family comes in base and instruct versions at 3B, 8B, 20B, and 34B parameters; the instruct models are fine-tuned on Git commits paired with human instructions plus open code and math instruction data. IBM now marks these models as not recommended for new projects and points users to its mainline Granite language models, whose code abilities supersede them.

Decision facts

Best fit
codingmath-heavy prompts
Capability starting point
Granite Code
Lowest tracked input
Not tracked
Closest related family
Granite 4

Current Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

1 in view

Use when provider availability and model metadata match the workload.

2024-05

Release Timeline

1 release group
2024-05
1 current

Specifications(1 models)

IBM Granite Code model specifications comparison
ModelReleased
Granite Code2024-05