Open weightsDeepSeekopentext
DeepSeek-Coder-V2
DeepSeek's code-specialized model, strong on a broad set of programming languages and FIM tasks.
Updated
Quick facts
- Released
- Jun 2024
- Context
- 128K tokens
- Output / 1M
- Pricing not published
- License
- MIT
About DeepSeek-Coder-V2
DeepSeek-Coder-V2 was an early entrant in the strong-open-weight-coder category and remains popular for self-hosted code completion and review pipelines. The 236B MoE variant is the headline release; smaller distilled versions ship for laptop deployment.
Benchmarks
Published scores from DeepSeek's model card or independent leaderboards. We do not publish numbers we cannot source, see methodology.
HumanEval
90.2
Python coding pass@1
MMLU
,
Broad academic knowledge
GPQA
,
Graduate-level reasoning
SWE-bench
,
Real software-engineering tasks
- HumanEval90.2
Capabilities
Strengths
- Code-specialist
- MIT license
- FIM support
Tracked weaknesses
- Older generation by 2026 standards
Pricing
Per-million-token rates as published by DeepSeek.
Per-token pricing not yet published for DeepSeek-Coder-V2. Check the official provider site for current tiers.
Call DeepSeek-Coder-V2 from your code
Drop-in snippet for the DeepSeek SDK. Set your API key in the environment and run.
typescript
import OpenAI from "openai";
const client = new OpenAI({
// Use OPENAI_API_KEY for OpenAI, or your provider's key + baseURL.
apiKey: process.env.OPENAI_API_KEY,
});
const completion = await client.chat.completions.create({
model: "deepseek-coder-v2",
messages: [
{ role: "user", content: "What's the time complexity of quicksort?" },
],
});
console.log(completion.choices[0].message.content);Compare DeepSeek-Coder-V2 with…
Frequently asked
How much does DeepSeek-Coder-V2 cost?
DeepSeek has not published per-token API pricing for DeepSeek-Coder-V2 at the time of writing. Check the official site for current pricing tiers, or compare against alternative models on LLMDex.What is DeepSeek-Coder-V2's context window?
DeepSeek-Coder-V2 supports a context window of 128K tokens.Is DeepSeek-Coder-V2 open source?
DeepSeek-Coder-V2 ships with open weights under the MIT license. You can self-host it, fine-tune it, and (subject to the license terms) deploy it commercially.When was DeepSeek-Coder-V2 released?
DeepSeek-Coder-V2 was released on Jun 17, 2024 by DeepSeek.
Friday digest
Intelligence, distilled weekly.
One short email every Friday, new model launches, leaderboard moves, and pricing drops. Curated by hand. Free, no spam.