DeepSeek Coder is DeepSeek's language model with a 128K context window and up to 4K output tokens, starting at $0.14 / 1M input and $0.28 / 1M output. DeepSeek's code-focused LLM series trained on a high-proportion code corpus for code generation, completion, and debugging.
Specifications
Canonical IDdeepseek-coder
TypeLanguage
StatusActive
CreatorDeepSeekDeepSeek
Providers
Context Window128K tokens
Max Output4K tokens
Input ModalitiesText
Output ModalitiesText

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities3/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

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
DeepSeek logo
DeepSeek
deepseek/deepseek-coder
$0.14$0.28

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
DeepSeek Coder 2 Base8KAvailable
DeepSeek Coder 2 Instruct66K$1.20$1.20Available
DeepSeek Coder V2 Lite Base164K$0.500$0.500Available
DeepSeek Coder V2 Lite Instruct164K$0.500$0.500Available
DeepSeek Coder 7B Base v1.54K$0.200$0.200Available
DeepSeek Coder 7B Instruct v1.54K$0.200$0.200Available
DeepSeek Coder128K$0.140$0.280Current
DeepSeek Coder 1.3B Base16K$0.100$0.100Available
DeepSeek Coder 33B Instruct16K$0.900$0.900Available
DeepSeek Coder 6.7B16K$0.060$0.120Available
DeepSeek Coder 7B Base4K$0.200$0.200Available

Model IDs

deepseek-coder
deepseek-coder-v2
deepseek-coder-v2-lite
deepseek/deepseek-coder