Model reference · open weights

deepseek-coder

LLMs deepseek-ai Text gen 6 builds Its own licence terms 822k dl/mo

deepseek-coder is an open-weight language model from DeepSeek. DeepSeek-Coder-V2-Instruct (BF16) weighs 471 GB; the smallest configuration that runs it is 4× H200 141 GB.

  • Deepseek-Coder-7B-Instruct-v1.5 is a 6.9B parameter text-generation model developed by DeepSeek.
  • It is designed for coding tasks and supports a context length of 4096 tokens.
  • The model is available under a custom licence that permits commercial use.

Summary of the deepseek-ai/deepseek-coder-7b-instruct-v1.5 model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released byDeepSeek
Released2024-01-25
Parameters6.9B
VRAM471 GB for the weights

What it runs on

Memory and cards for DeepSeek-Coder-V2-Instruct (BF16)

471 GBweights, file size
69 MBcache per 1K tokens
1.5 GBruntime overhead, at least
163,840 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … B200 180 GB
12 smaller cards
———
4× H200 141 GB
tensor parallel
215all 160K138 GB a card
8× H100 80 GB
tensor parallel
205all 160K78.1 GB a card
8× A100 80 GB
tensor parallel
317all 160K78.2 GB a card
4× B200 180 GB
tensor parallel
8220all 160K176 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
1474 GB475 GB
5476 GB484 GB
8478 GB491 GB
16482 GB509 GB
32491 GB545 GB
64509 GB618 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
deepseek-coder-7b-instruct-v1.5 ↗ 6.9BBF16 13.8 GB2× RTX 3060 12 GB
deepseek-coder-6.7b-instruct ↗ 6.7BBF16 13.5 GB2× RTX 3060 12 GB
deepseek-coder-1.3b-instruct ↗ 1.3BBF16 2.7 GBRTX 3060 12 GB
deepseek-coder-1.3b-base ↗ —BF16 2.7 GBRTX 3060 12 GB
DeepSeek-Coder-V2-Instruct (above) ↗ 235.7BBF16 471 GB4× H200 141 GB
deepseek-coder-33b-instruct ↗ 33.3BBF16 66.7 GBH100 80 GB

From the model card

What DeepSeek says about deepseek-coder

Read the model card

1. Introduction of Deepseek-Coder-7B-Instruct v1.5

Deepseek-Coder-7B-Instruct-v1.5 is continue pre-trained from Deepseek-LLM 7B on 2T tokens by employing a window size of 4K and next token prediction objective, and then fine-tuned on 2B tokens of instruction data.

2. Evaluation Results

3. How to Use

Here give some examples of how to use our model.

Chat Model Inference
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/deepseek-coder-7b-instruct-v1.5", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("deepseek-ai/deepseek-coder-7b-instruct-v1.5", trust_remote_code=True).cuda()
messages=[
    { 'role': 'user', 'content': "write a quick sort algorithm in python."}
]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)

outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, top_k=50, top_p=0.95, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id)
print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))

4. License

This code repository is licensed under the MIT License. The use of DeepSeek Coder models is subject to the Model License. DeepSeek Coder supports commercial use.

See the LICENSE-MODEL for more details.

5. Contact

If you have any questions, please raise an issue or contact us at service@deepseek.com.

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms