Code Llama 34B Instruct

Meta
Code

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.

Try Code Llama 34B Instruct now
Send a single prompt and stream a response inline. Hit Cmd+Enter to submit.
Sign in to try this model with €5 free credits.
Sign in
Press Cmd+Enter to send
Response appears here.
TL;DR·Last updated June 24, 2026

Code Llama 34B Instruct is code AI model from Meta, priced at €0.000 per 1M input tokens with a 16.4K tokens context window.

About this model

Code Llama 34B Instruct sits in the middle-upper range of Meta's Code Llama family. It generates and edits code from natural-language instructions and was a popular open-weights choice for self-hosted coding assistants before newer families arrived.
Try Code Llama 34B Instruct
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€2.00

API Integration

Use our OpenAI-compatible API to integrate Code Llama 34B Instruct into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("codellama-34b-instruct", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("codellama-34b-instruct", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("codellama-34b-instruct", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Price
€2.00
Context window
16,384 tokens
Max output
4,096 tokens
Developer
Meta
Category
Code
Supported Formats
text
Tags
meta
code-llama
coding
instruct
open-weights
replicate

Frequently asked questions

Start using Code Llama 34B Instruct today

Get started with free credits. No credit card required. Access Code Llama 34B Instruct and 100+ other models through a single API.