DeepSeek Coder 2 Instruct is DeepSeek's language model with a 66K context window and up to 8K output tokens, starting at $1.20 / 1M input and $1.20 / 1M output. The instruction-tuned variant of DeepSeek Coder V2, a MoE code LLM achieving GPT-4-Turbo-level performance on code-specific benchmarks.
Specifications
Canonical IDdeepseek-coder-2-instruct
TypeLanguage
StatusActive
CreatorDeepSeekDeepSeek
Providers
Context Window66K tokens
Max Output8K tokens
Input ModalitiesText
Output ModalitiesText

Capabilities

Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities2/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
Fireworks AI logo
Fireworks AI
fireworks_ai/accounts/fireworks/models/deepseek-coder-v2-instruct
$1.20$1.20

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
DeepSeek Coder 2 Instruct—66K$1.20$1.20Current
DeepSeek Coder V2————Available
DeepSeek Coder V2 Lite Instruct————Available
DeepSeek Coder 2 Base—8K——Available
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-instruct
fireworks_ai/accounts/fireworks/models/deepseek-coder-v2-instruct
ollama/deepseek-coder-v2-instruct