LLM Reference

Granite 20B Code

Released
2024-05-06
Last refreshed
2026-05-19
Status
Researched 60d ago
Open sourceCommercial use: permitted

Granite 20B Code is worth evaluating for general LLM work when its provider route and context window match the workload.

Use it for

  • Teams evaluating general LLM work
  • Workloads that can use a 8k context window
  • Buyers comparing 2 tracked provider routes

Do not use it for

  • Vision or document-understanding workloads
  • Strict JSON or tool-calling flows
Specifications
Released
2024-05-06
Context
8k
Parameters
20B
Architecture
Decoder Only
Specialization
general
Openness
Open source
License
Apache 2.0OSI-approvedCommercial use: permitted
Weights
Unknown
Code
Unknown
Training
Fine-tuned
Created by

Creating reliable and adaptable AI solutions

Armonk, New York, United States
Founded 1945
Website
Pricing
Output / 1M
$0.600
Input / 1M
$0.600

Cheapest of 2 routes · IBM watsonx

About

Granite 20B Code is IBM Research's Granite Code model. It offers an 8K-token context window.

Granite 20B Code is an open-source model in the Granite Code family. The structured metadata tracks a 8k-token context window. This page tracks provider routes through RHEL AI and IBM watsonx, with the cheapest tracked route listed at $0.6 input and $0.6 output per 1M tokens. No headline benchmark score is tracked for Granite 20B Code yet.

Top use-case fit

No primary decision-task fit is mapped for this model yet.

Provider price ladder

Compare all 2

Compare API pricing across 2 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
IBM watsonx$0.600$0.600
Serverless
RHEL AI--
ServerlessPartial

Capabilities

No model capability flags are currently sourced.

Benchmark peer barsfor Coding

No task-mapped benchmark peers are available for this model yet.

Migration checks

No linked migration route is available for this model yet.

Frequently asked questions

What is the context window of Granite 20B Code?

Granite 20B Code has a context window of 8k tokens.

How much does Granite 20B Code cost?

Granite 20B Code is available at $0.6/1M input tokens through IBM watsonx.

When was Granite 20B Code released?

Granite 20B Code was released on 2024-05-06.

Which providers offer Granite 20B Code?

Granite 20B Code is available from 2 providers: RHEL AI, IBM watsonx.