Granite Code 34B

CodeUnavailable
by ReplicateModel ID: granite-code-34b

IBM Granite 34B Code Instruct. Largest Granite code-instruction model. Top-tier among Apache-2.0 code LLMs on HumanEval, MBPP and MultiPL-E.

Status
Unavailable
Context
128,000 tokens
Max. output
8,192 tokens
Input β†’ output
Text β†’ Text
Developer
Replicate
Updated
June 25, 2026

Granite Code 34B is currently unavailable

Currently unavailable: this model has been deactivated.

You can still read the details on this page. Pick one of the available alternatives below to run a comparable model right away.

Go to alternatives
01

Comparable models

All in this category
  • Meta's 13B Code Llama tuned for instruction following. A faster mid-size option for code generation and completion, supporting infilling for inserting code at a cursor position. Served on Replicate per call.

    β‰ˆ $0.0065/run

  • Meta's 34B Code Llama tuned for instruction following. A balance of size and quality for code generation, completion, and explanation, with strong coverage of Python, JavaScript, and other common languages. Runs on Replicate per call.

    β‰ˆ $0.0408/run

  • Meta's largest Code Llama, a 70B Llama-2 derivative specialized for programming and tuned to follow instructions in chat form. Handles code generation, completion, and explanation across common languages. Served on Replicate as a per-call endpoint.

    β‰ˆ $0.0504/run

02

Playground

Try Granite Code 34B

Input & output

Currently unavailable

Currently unavailable: this model has been deactivated.

The playground is disabled. You can find comparable models in the same category: Browse alternatives

Try Granite Code 34B

0 / 16,000

Code or instruction

Advanced settings (3)
Output
The answer appears here.

This run

No price – currently unavailable.

New here?

5 free credits ($0.05) when you sign up with Google

Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.

03

About Granite Code 34B

TL;DRAs of June 25, 2026

Granite Code 34B is a model by Replicate in the Code category. Granite Code 34B is currently not available on Railwail. The context window holds 128,000 tokens, and one response can be up to 8,192 tokens long.

04

Pricing

Currently unavailable: this model has been deactivated. There is no price for this model at the moment, so it cannot be run.

05

API

Call Granite Code 34B with your Railwail API key. Use this model ID in the request:

No verified API example

The public API passes a different input format than this model needs. Use the playground above.

06

Specifications

Model ID
granite-code-34b
Developer
Replicate
Category
Code
Input
Text
Output
Text
Context window
128,000 tokens
Max. output
8,192 tokens
Catalog entry updated
June 25, 2026

Input parameters

Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.

  • promptrequired

    Code or instruction

    Type: Text
    Default: –
    Allowed values: up to 16,000 characters
  • mode
    Type: Choice
    Default: complete
    Allowed values: complete, explain, or refactor
  • top_p
    Type: Number
    Default: 0.95
    Allowed values: 0 to 1
  • stream
    Type: Yes/no
    Default: false
    Allowed values: –
  • language
    Type: Choice
    Default: python
    Allowed values: python, typescript, javascript, rust, go, java, cpp, csharp, ruby, or php
  • max_tokens
    Type: Integer
    Default: 1024
    Allowed values: 1 to 8,192
  • temperature
    Type: Number
    Default: 0.2
    Allowed values: 0 to 2

Tags

  • replicate
  • code-generation
  • ibm
  • granite
  • open-weights
  • apache-2
  • flagship
07

Use cases

08

Frequently asked questions

What is Granite Code 34B?

Granite Code 34B is a model by Replicate in the Code category. It is listed on Railwail but cannot be run at the moment.

How much does Granite Code 34B cost on Railwail?

Granite Code 34B cannot be run on Railwail at the moment, so there is no current price. Available alternatives with prices are listed further down this page.

What is the context window of Granite Code 34B?

The context window of Granite Code 34B holds 128,000 tokens. One response can be up to 8,192 tokens long.

How fast is Granite Code 34B?

There are not enough measured runs of Granite Code 34B on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.

Is Granite Code 34B better than Code Llama 13B Instruct?

That depends on the task. Granite Code 34B (Replicate) and Code Llama 13B Instruct (Meta) are both models in the Code category. The comparison page shows their prices and specifications side by side.

Compare Granite Code 34B and Code Llama 13B Instruct

Can I use Granite Code 34B right now?

Currently unavailable: this model has been deactivated. The page stays online; available alternatives from the same category are listed further down.

All models through one API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = $0.01.