Using Granite 3B Code on IBM watsonx
Implementation guide · Granite Code · IBM Research
ServerlessOpen Source
IBM watsonx exposes Granite 3B Code through model ID granite-3b-code. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-05-19. Next refresh: weekly.
Quick Start
- 1
- 2Use the IBM watsonx SDK or REST API to call
granite-3b-code— see the documentation for request format. - 3
Code Examples
Pricing on IBM watsonx
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.60 |
| Output tokens | $0.60 |
Capabilities
No model capability flags are currently sourced.
About Granite 3B Code
Granite 3B Code is IBM Research's Granite Code model. It offers an 8K-token context window.
Model Specs
Released2024-05-06
Parameters3B
Context8k
ArchitectureDecoder Only