Code Llama 13B Instruct

Meta
Code

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.

Try Code Llama 13B 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 13B 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 13B Instruct is a smaller Code Llama variant suited to interactive coding where latency matters more than peak quality. It supports both chat-style code requests and infilling, which is useful for editor integrations.
Try Code Llama 13B Instruct
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€1.00

API Integration

Use our OpenAI-compatible API to integrate Code Llama 13B 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-13b-instruct", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("codellama-13b-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-13b-instruct", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Price
€1.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
infilling
replicate

Frequently asked questions

Start using Code Llama 13B Instruct today

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