DeepSeek logo

DeepSeek Coder 2 Base


DeepSeek Coder 2 Base is DeepSeek's language model with a 8K context window and up to 8K output tokens. The base (pre-trained, non-instruction-tuned) variant of DeepSeek Coder V2, a Mixture-of-Experts code LLM for code completion tasks.
Specifications
Canonical IDdeepseek-coder-2-base
TypeLanguage
StatusActive
CreatorDeepSeekDeepSeek
Context Window8K tokens
Max Output8K tokens
Input ModalitiesText
Output ModalitiesText

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities1/13
Reasoning·
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
DeepSeek Coder 2 Base8KCurrent
DeepSeek Coder 2 Instruct66K$1.20$1.20Available
DeepSeek Coder128K$0.140$0.280Available
DeepSeek Coder 6.7B16K$0.060$0.120Available
DeepSeek Coder V2Available
DeepSeek Coder V2 Lite InstructAvailable

Model IDs