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 Base—8K——Current
DeepSeek Coder V2————Available
DeepSeek Coder V2 Lite Instruct————Available
DeepSeek Coder 2 Instruct—66K$1.20$1.20Available
DeepSeek Coder V2 Lite Base—164K$0.500$0.500Available
DeepSeek Coder V2 Lite Instruct—164K$0.500$0.500Available
DeepSeek Coder 7B Base v1.5—4K$0.200$0.200Available
DeepSeek Coder 7B Instruct v1.5—4K$0.200$0.200Available
DeepSeek Coder—128K$0.140$0.280Available
DeepSeek Coder 1.3B Base—16K$0.100$0.100Available
DeepSeek Coder 33B Instruct—16K$0.800$0.800Deprecated

Model IDs

deepseek-coder-2-base
ollama/deepseek-coder-v2-base