Last refreshed 2026-04-15. 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 caseInput / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: granite-20b-codeModel ID
granite-20b-codeRequest example
Curated snippets for this provider are not sourced yet. Use RHEL AI documentation with model ID
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.
FAQ
What is the context window for Granite 20B Code on RHEL AI?
Granite 20B Code supports a 8,000 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's open source status is unknown in the seed data.
Model Specs
Released2024-05-06
Parameters20B
Context8K
ArchitectureDecoder Only