Granite Code 34B
granite-code-34bIBM 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 alternativesComparable models
All in this categoryMeta'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
Playground
Try Granite Code 34B
Input & output
Currently unavailable: this model has been deactivated.
The playground is disabled. You can find comparable models in the same category: Browse alternatives
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.
About Granite Code 34B
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.
Pricing
Currently unavailable: this model has been deactivated. There is no price for this model at the moment, so it cannot be run.
API
No verified API example
The public API passes a different input format than this model needs. Use the playground above.
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.
promptrequiredCode or instruction
Type: TextDefault: βAllowed values: up to 16,000 charactersmodeType: ChoiceDefault:completeAllowed values: complete, explain, or refactortop_pType: NumberDefault:0.95Allowed values: 0 to 1streamType: Yes/noDefault:falseAllowed values: βlanguageType: ChoiceDefault:pythonAllowed values: python, typescript, javascript, rust, go, java, cpp, csharp, ruby, or phpmax_tokensType: IntegerDefault:1024Allowed values: 1 to 8,192temperatureType: NumberDefault:0.2Allowed values: 0 to 2
Tags
- replicate
- code-generation
- ibm
- granite
- open-weights
- apache-2
- flagship
Use cases
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 InstructCan 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.