Model reference · open weights

deepseek-moe

LLMs deepseek-ai Text gen · MoE 1 build Its own licence terms 32k dl/mo

deepseek-moe is an open-weight language model from DeepSeek. deepseek-moe-16b-chat (BF16) weighs 32.8 GB; the smallest configuration that runs it is L40S 48 GB.

  • DeepSeekMoE is a 16.4 billion parameter text-generation model developed by DeepSeek.
  • It supports a context length of 4096 tokens and is designed for chat completion tasks.
  • The model is released under a custom licence that permits commercial use.

Summary of the deepseek-ai/deepseek-moe-16b-chat model card, 2026-10-01

What it is

Released byDeepSeek
Released2024-01-09
Parameters16.4B
VRAM32.8 GB for the weights

What it runs on

Memory and cards for deepseek-moe-16b-chat (BF16)

32.8 GBweights, file size
229 MBcache per 1K tokens
1.2 GBruntime overhead, at least
4,096 tokenscontext max
CardRequests at onceContext maxMemory
4K each
RTX 3060 12 GB … RTX 5090 32 GB
5 smaller cards
——
L40S 48 GB10all 4K44.0 GB
A100 80 GB47all 4K78.2 GB
H100 80 GB41all 4K78.1 GB
RTX PRO 6000 Blackwell 96 GB58all 4K93.8 GB
DGX Spark (GB10) 128 GB unified72all 4K107 GB
H200 141 GB105all 4K138 GB
B200 180 GB143all 4K176 GB
2× RTX 4090 24 GB
tensor parallel
12all 4K23.4 GB a card
2× RTX 3090 24 GB
tensor parallel
12all 4K23.4 GB a card
2× RTX 5090 32 GB
tensor parallel
28all 4K31.0 GB a card
Memory needed at each load
Requests at once4K tokens each
134.8 GB
538.6 GB
841.4 GB
1648.9 GB
3264.0 GB
6494.0 GB

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

From the model card

What DeepSeek says about deepseek-moe

Read the model card

1. Introduction to DeepSeekMoE

See the Introduction for more details.

2. How to Use

Here give some examples of how to use our model.

Chat Completion

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig

model_name = "deepseek-ai/deepseek-moe-16b-chat"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.bfloat16, device_map="auto")
model.generation_config = GenerationConfig.from_pretrained(model_name)
model.generation_config.pad_token_id = model.generation_config.eos_token_id

messages = [
    {"role": "user", "content": "Who are you?"}
]
input_tensor = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
outputs = model.generate(input_tensor.to(model.device), max_new_tokens=100)

result = tokenizer.decode(outputs[0][input_tensor.shape[1]:], skip_special_tokens=True)
print(result)

Avoiding the use of the provided function apply_chat_template, you can also interact with our model following the sample template. Note that messages should be replaced by your input.

User: {messages[0]['content']}

Assistant: {messages[1]['content']}User: {messages[2]['content']}

Assistant:

Note: By default (add_special_tokens=True), our tokenizer automatically adds a bos_token (``) before the input text. Additionally, since the system prompt is not compatible with this version of our models, we DO NOT RECOMMEND including the system prompt in your input.

3. License

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

See the LICENSE-MODEL for more details.

4. 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