Skip to content
← Models
Open weightsIBM/10 trustVerified

Granite Code

IBM's 3B–34B Apache 2.0 code family for enterprise software workflows, 116 languages.

Retired

Granite Code appears to be discontinued or shut down — checkpoints deprecated by IBM; historical reference This page is kept as an archive record and is excluded from search engines.

Visit official page →

About

Granite Code (May 2024) is IBM Research's family of decoder-only code models from 3B to 34B, in base and instruction variants, trained on code from 116 programming languages and released under Apache 2.0 for enterprise software workflows — generation, explanation, fixing, test generation, and modernization. Note the honest caveat: IBM has since marked these checkpoints deprecated on Hugging Face in favor of its mainline Granite family, so treat them as a historical reference rather than a live recommendation. Still useful for studying enterprise-oriented open code models.

Specs

Context window

2K–8K tokens depending on size

Pricing

Self-host: free under Apache 2.0. Also served on watsonx.ai — platform pricing applies.

Free quota

No official free API; self-hosting is free.

API access

Weights on Hugging Face and GitHub; hosted on watsonx.ai and RHEL AI.

Weights

Open weights

Released

May 6, 2024

Benchmarks

IBM-reported: competitive with state-of-the-art open code LLMs on HumanEvalPack and related suites at release.

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

enterprise code generationcode explanationapplication modernizationtest generation

Trust score — 7/10

/10 trustVerified

Scored 7/10 (verified tier, metrics-v1). Evidence: IBM HF model cards + IBM Research blog read this session: May 6 2024, 3B-34B base+instruct, Apache 2.0, 116 languages.; Honest caveat: IBM marked these checkpoints deprecated on HF in favor of mainline Granite — documented in description..

Sources