DeepSeek Coder 1.3B Instruct

huggingface
Code

1.3B instruction-tuned code model from DeepSeek, trained on 2 trillion tokens of code and natural language across 87 languages with a 16k context window. One of the strongest tiny coders for its size, handling generation, completion and short coding instructions.

Try DeepSeek Coder 1.3B 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

DeepSeek Coder 1.3B Instruct is code AI model from huggingface, priced at €0.400 per 1M input tokens with a 16.4K tokens context window.

About this model

deepseek-coder-1.3b-instruct is the smallest instruction-tuned checkpoint in the DeepSeek Coder family. The base models were trained from scratch on 2 trillion tokens, 87 percent code and 13 percent natural language in English and Chinese, using a fill-in-the-middle objective and a 16k context window for repository-level understanding. The instruct version is fine-tuned on coding instruction data so it follows requests like writing a function or explaining a snippet. Despite its size it scores well on HumanEval and MBPP relative to other sub-2B code models.
Try DeepSeek Coder 1.3B Instruct
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 DeepSeek Coder 1.3B 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("deepseek-coder-1-3b-instruct", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("deepseek-coder-1-3b-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("deepseek-coder-1-3b-instruct", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Context window
16,384 tokens
Developer
huggingface
Category
Code
Supported Formats
text
Tags
code
huggingface
deepseek
deepseek-coder
instruct
fill-in-the-middle
open-source
small

Frequently asked questions

Start using DeepSeek Coder 1.3B Instruct today

Get started with free credits. No credit card required. Access DeepSeek Coder 1.3B Instruct and 100+ other models through a single API.