Using Granite 3.3 8B Instruct on Replicate API

Implementation guide · Granite 3 · IBM Research

ServerlessOpen Source

Replicate API exposes Granite 3.3 8B Instruct through model ID ibm-granite/granite-3.3-8b-instruct. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-09-22. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Replicate API and generate an API key.
  2. 2
    Use the Replicate API SDK or REST API to call ibm-granite/granite-3.3-8b-instruct — see the documentation for request format.
  3. 3
    You'll be billed $0.03/1M input, $0.25/1M output tokens. See full pricing.

Code Examples

Install
pip install replicate
API key
REPLICATE_API_TOKEN
Model ID
ibm-granite/granite-3.3-8b-instruct

Replicate uses "owner/model-name" format (e.g. "meta/meta-llama-3-8b-instruct") for the latest version, or "owner/model-name:version-sha" to pin to a specific version. The REST endpoint splits owner and model-name into the path: /v1/models/{owner}/{model-name}/predictions.

import replicate

# reads REPLICATE_API_TOKEN from env
# ibm-granite/granite-3.3-8b-instruct format: "owner/model-name" (latest version) or "owner/model-name:version-hash"
output = replicate.run(
    "ibm-granite/granite-3.3-8b-instruct",
    input={"prompt": "Hello"}
)
# Output is a list or generator depending on the model
print("".join(output))

Pricing on Replicate API

TypePrice (per 1M)
Input tokens$0.03
Output tokens$0.25

Capabilities

JSON / Tool use

About Granite 3.3 8B Instruct

IBM Granite 3.3 8B with improved reasoning capabilities. Part of IBM's enterprise-focused Granite model family optimized for instruction following.

Model Specs

Released2025-03-01
Parameters8B
Context128k
ArchitectureDecoder Only
Knowledge cutoff2024-04

Provider

Replicate API

Replicate

San Francisco, California, United States