Last refreshed 2026-05-19. Next refresh: weekly.
Why use Granite 20B Code on RHEL AI?
RHEL AI offers Granite 20B Code with competitive pricing. Red Hat, a subsidiary of IBM since 2019, is a pioneering technology company that has been at the forefront of open-source software development since its founding in 1993.
Compare Granite 20B Code across 2 providers to find the best fit for your use caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: granite-20b-codegranite-20b-codeRequest example
granite-20b-code.Gotchas
No curated gotchas have been sourced for this exact provider/model route yet.
Compare Granite 20B Code Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| RHEL AI | — | — |
| IBM watsonx | $0.60 | $0.60 |
Capabilities
No model capability flags are currently sourced.
About Granite 20B Code
Granite 20B Code is IBM Research's Granite Code model. It offers an 8K-token context window.
FAQ
What is the context window for Granite 20B Code on RHEL AI?
Granite 20B Code supports a 8k token context window on RHEL AI.
How does RHEL AI compare to other Granite 20B Code providers?
Granite 20B Code is available from 2 providers. The cheapest input pricing is $0.6/1M tokens from IBM watsonx.
Who created Granite 20B Code?
Granite 20B Code was created by IBM Research as part of the Granite Code model family.
Is Granite 20B Code open source?
Granite 20B Code is open source under Apache 2.0 according to the seed data.