Replit Code v1.5 3B

huggingface
Code

3B code completion model from Replit trained on roughly 1 trillion tokens of permissively licensed code across 30 programming languages, with a 4k context window. Designed for autocomplete-style code generation and fill-in-the-middle.

Try Replit Code v1.5 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.5 3B is code AI model from huggingface, priced at €0.500 per 1M input tokens with a 4.1K tokens context window.

About this model

replit-code-v1_5-3b is Replit's second-generation code model, a 3.3B-parameter causal language model trained on about 1 trillion tokens of code spanning 30 languages drawn from permissively licensed sources. It uses a 4096-token context window and was built for low-latency code completion inside an IDE, so it works best as a completion or fill-in-the-middle engine rather than a chat assistant. It is released under a permissive license that allows commercial use.
Try Replit Code v1.5 3B
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generationFree

API Integration

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

// With message history
const reply2 = await rw.run("replit-code-v1-5-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-5-3b", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Context window
4,096 tokens
Developer
huggingface
Category
Code
Supported Formats
text
Tags
code
huggingface
replit
code-completion
multilingual-code
open-source
small

Frequently asked questions

Start using Replit Code v1.5 3B today

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