Granite 8B Code on IBM watsonx

Granite Code · IBM Research

ServerlessOpen Source

Last refreshed 2026-05-19. Next refresh: weekly.

Why use Granite 8B Code on IBM watsonx?

IBM watsonx offers Granite 8B Code with pay-as-you-go pricing at $0.60/1M input tokens. IBM offers a comprehensive AI platform that includes IBM watsonx, a next-generation enterprise AI and data platform.

Compare Granite 8B Code across 3 providers to find the best fit for your use case
Input / 1M
$0.60
Output / 1M
$0.60
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: granite-8b-code
Model ID
granite-8b-code

Request example

Curated snippets for this provider are not sourced yet. Use IBM watsonx documentation with model ID granite-8b-code.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare Granite 8B Code Across Providers

ProviderInput (per 1M)Output (per 1M)
NVIDIA NIM——
RHEL AI——
IBM watsonx$0.60$0.60

Pricing

TypePrice (per 1M)
Input tokens$0.60
Output tokens$0.60

Capabilities

No model capability flags are currently sourced.

About Granite 8B Code

Granite 8B Code is IBM Research's Granite Code model. It is deprecated (originally released 2024-05-06); use it only for reproducing earlier results or evaluating drift over time.

Get Started

Model Specs

Released2024-05-06
Parameters8B
Context8k
ArchitectureDecoder Only