Replit Code v1 3B

Replicate
Code

Replit's 3B code-completion model, trained on a permissively licensed code subset of the Stack across 20 programming languages. Built for low-latency autocomplete rather than chat. Served on Replicate per call.

Try Replit Code v1 3B 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

Replit Code v1 3B is code AI model from Replicate, priced at €0.000 per 1M input tokens with a 2.0K tokens context window.

About this model

replit-code-v1-3b is a compact code model from Replit focused on raw code completion across about 20 languages. It is a base completion model, not an instruct chat model, so it works best for continuing partial code rather than answering natural-language questions.
Try Replit Code v1 3B
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 Replit Code v1 3B 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("replit-code-v1-3b", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("replit-code-v1-3b", [
  { 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("replit-code-v1-3b", [
  { 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
2,048 tokens
Max output
2,048 tokens
Developer
Replicate
Category
Code
Supported Formats
text
Tags
replit
coding
completion
open-weights
lightweight
replicate

Frequently asked questions

Start using Replit Code v1 3B today

Get started with free credits. No credit card required. Access Replit Code v1 3B and 100+ other models through a single API.