DeepSeek Coder V2

KodUtgÄttInte tillgÀnglig
av DeepSeekModell-ID: deepseek-coder-v2

DeepSeek's specialized coding model. Excellent at code generation, debugging, and explanation.

Status
Inte tillgÀnglig
Kontext
128 000 tokens
Max. utdata
8 192 tokens
Inmatning → utmatning
Text → Text
Utvecklare
DeepSeek
Uppdaterad
23 september 2026

DeepSeek Coder V2 Àr för nÀrvarande otillgÀnglig

Du kan fortfarande lÀsa detaljerna pÄ denna sida. VÀlj ett av de tillgÀngliga alternativen nedan för att köra en jÀmförbar modell direkt.

GĂ„ till alternativ

Leverantören har slutat erbjuda denna modell.

Nyare version tillgÀnglig: DeepSeek V4.1 Flash

01

JÀmförbara modeller

Alla i denna kategori
02

Playground

Prova DeepSeek Coder V2

Chatt

Inte tillgÀnglig för nÀrvarande

Inte tillgÀnglig för nÀrvarande.

Lekplatsen Àr inaktiverad. Du hittar jÀmförbara modeller i samma kategori: Visa alternativ

Prova DeepSeek Coder V2

Skicka ett meddelande. Svaret kommer i sin helhet nÀr modellen Àr klar (ingen streaming).

Systemprompt
Max. svarslÀngd (tokens)

Denna körning

Inget pris – för nĂ€rvarande otillgĂ€ngligt.

Ny hÀr?

10 gratis credits (0,10 US$) nÀr du registrerar dig med Google

AnvÀndbar 24 timmar efter registrering, upp till 5 körningar per dag och högst 2 credits per körning. Andra inloggningsmetoder startar utan credits.

03

Om DeepSeek Coder V2

Kort sagtFrÄn och med 23 september 2026

DeepSeek Coder V2 Àr en modell av DeepSeek i kategorin Kod. DeepSeek Coder V2 Àr för nÀrvarande inte tillgÀnglig pÄ Railwail. Kontextfönstret innehÄller 128 000 tokens, och ett svar kan vara upp till 8 192 tokens lÄngt. Nyare version: DeepSeek V4.1 Flash.

Bakgrund

Om DeepSeek

Grundat 2023 · Hangzhou, China

DeepSeek AI was founded in July 2023 in Hangzhou by Liang Wenfeng, who is also co-founder of the High-Flyer quantitative hedge fund. High-Flyer's GPU cluster (thousands of NVIDIA A100/H800 cards stockpiled before US export controls tightened) bootstrapped DeepSeek's training capacity. The lab is known globally for highly efficient training recipes documented in transparent technical reports. The DeepSeek-Coder line started with V1 (1.3B-33B dense models, November 2023). DeepSeek-Coder V2, released June 2024, brought MoE scaling — a 236B/21B-active model that matched or exceeded GPT-4 Turbo on code benchmarks at release. A 'Lite' 16B-active sibling was also released. DeepSeek's later DeepSeek-V3 (December 2024) and DeepSeek-R1 (January 2025) absorbed many DeepSeek-Coder design lessons. All releases use the permissive DeepSeek License with broad commercial-use rights.

Besök DeepSeek

Arkitektur

Sparse Mixture-of-Experts Transformer for code (DeepSeekMoE + Multi-head Latent Attention)

DeepSeek-Coder V2 is a Sparse Mixture-of-Experts Transformer using the DeepSeekMoE architecture: 160 fine-grained experts plus 2 shared 'always-on' experts per MoE layer, with top-6 routing among the 160. This fine-grained + shared design (introduced in the DeepSeek-MoE paper) gives better expert specialisation than coarse 8x or 16x MoEs at similar active-parameter budgets. The model has 60 layers and 5,120 hidden size, uses Multi-head Latent Attention (MLA) for memory-efficient KV cache, RoPE position embeddings with a 128K context extension, and SwiGLU activations. The 100,000-token DeepSeek BPE tokeniser is shared across the DeepSeek family. Training began from the DeepSeek-V2 base (8.1T tokens pretraining) and added 6T more tokens of code, code-related natural language and math reasoning data. Programming language coverage is 338 languages — broader than any contemporaneous open code model. The model supports fill-in-the-middle via `<|fim_begin|>`, `<|fim_hole|>` and `<|fim_end|>` tokens. Post-training uses supervised fine-tuning plus DeepSeek's Group Relative Policy Optimisation (GRPO) RL method. A 16B-active 'Lite' variant (DeepSeek-Coder-V2-Lite) is also released. Open weights are released under the permissive DeepSeek License Agreement, which allows commercial use.

Parameter
236B total, 21B active per token (160 fine-grained experts + 2 shared, top-6 routing)
Kontext
128 000 tokens

Funktioner

  • 236B total / 21B active — MoE cheaper to serve than 200B+ dense alternatives
  • Matched or exceeded GPT-4 Turbo on HumanEval, MBPP, LiveCodeBench at release
  • Supports 338 programming languages — broader than Codestral, CodeLlama or any peer at release
  • 128K context for whole-repo and large-file reasoning
  • Native fill-in-the-middle (FIM) tokens for IDE completion
  • Multi-head Latent Attention for memory-efficient inference
  • Strong general reasoning and math from the V2 base — not just code
  • Open weights under permissive DeepSeek License (commercial use allowed)
  • Best for: high-quality code generation, repository-scale reasoning, polyglot codebases, self-hosted production code AI.

TrÀning & licens

Continued pretraining from DeepSeek-V2 base (8.1T tokens). Added 6T tokens of code-and-math-heavy data: code repositories across 338 languages (60% of the additional mix), code-related natural language (10%), math reasoning data (10%) and web data (20%). Knowledge cutoff November 2023. Post-training is supervised fine-tuning plus GRPO RL on reasoning and code benchmarks.

Licens: DeepSeek License Agreement. Permissive commercial license with standard acceptable-use restrictions. No revenue threshold or separate-licence requirement — among the most liberal frontier-scale open-weights licenses.

SĂ€kerhetstestning: DeepSeek publishes a model card with limitations. The model filters politically sensitive topics consistent with Chinese regulations but is permissive on technical dual-use queries (typical for code models). No formal third-party red-team report.

KÀnda begrÀnsningar

  • 236B total weights need ~470GB FP16 (~120GB INT4) — heavy for self-hosting
  • Superseded on many benchmarks by DeepSeek-V3 and DeepSeek-V3-Coder successors
  • Latency higher than smaller dense code models for short completion calls
  • MoE routing means fewer inference engines support it cleanly
  • No vision modality
  • Filters politically sensitive Chinese topics consistent with regulations
04

Priser

Inte tillgÀnglig för nÀrvarande. Det finns ingen pris för denna modell för nÀrvarande, sÄ den kan inte köras.

05

API

Anropa DeepSeek Coder V2 med din Railwail API-nyckel. AnvÀnd detta modell-ID i begÀran:

För nÀrvarande otillgÀnglig

Modellen har inget verifierat pris eller Àr inaktiverad; API-anrop avvisas.

06

Specifikationer

Modell-ID
deepseek-coder-v2
Utvecklare
DeepSeek
Kategori
Kod
Inmatning
Text
Utmatning
Text
Kontextfönster
128 000 tokens
Max. utmatning
8 192 tokens
Livscykel
UtgÄtt
Modellstorlek
236B total, 21B active per token (160 fine-grained experts + 2 shared, top-6 routing)
Licens
DeepSeek License Agreement. Permissive commercial license with standard acceptable-use restrictions. No revenue threshold or separate-licence requirement — among the most liberal frontier-scale open-weights licenses.
KataloginlÀgg uppdaterat
23 september 2026

Taggar

  • coding
  • affordable
07

Exempelprompts

Exempel frÄn Railwail-katalogen. De genererades inte live pÄ denna sida.
  • Python Binary Search

    Write an efficient binary search function in Python that returns the index of a target value or -1 if not found
    Visa exempelsvar

    def binary_search(arr: list[int], target: int) -> int: left, right = 0, len(arr) - 1 while left <= right: mid = left + (right - left) // 2 if arr[mid] == target: return mid elif arr[mid] < target: left = mid + 1 else: right = mid - 1 return -1 # Example usage: # sorted_list = [1, 3, 5, 7, 9, 11, 13] # print(binary_search(sorted_list, 7)) # Output: 3

  • React Custom Hook

    Create a React custom hook called useDebounce that debounces a value by a given delay
    Visa exempelsvar

    import { useState, useEffect } from 'react'; function useDebounce<T>(value: T, delay: number): T { const [debouncedValue, setDebouncedValue] = useState<T>(value); useEffect(() => { const timer = setTimeout(() => { setDebouncedValue(value); }, delay); return () => { clearTimeout(timer); }; }, [value, delay]); return debouncedValue; } export default useDebounce; // Usage: // const debouncedSearch = useDebounce(searchTerm, 300);

08

AnvÀndningsfall

Vad det anvÀnds till

  • Production-grade code generation and completion
  • Repository-scale reasoning and refactoring
  • Multi-language polyglot code work (338 languages)
  • Self-hosted developer AI in regulated industries
  • Code review and explanation
  • Research baseline for fine-grained MoE code models
09

Vanliga frÄgor

Vad Àr DeepSeek Coder V2?

DeepSeek Coder V2 Àr en modell av DeepSeek i kategorin Kod. Den finns i Railwail-katalogen men kan inte köras för nÀrvarande.

Vad kostar DeepSeek Coder V2 pÄ Railwail?

DeepSeek Coder V2 kan inte köras pÄ Railwail för nÀrvarande, sÄ det finns inget aktuellt pris. TillgÀngliga alternativ med priser visas lÀngre ned pÄ denna sida.

Hur stort Àr kontextfönstret för DeepSeek Coder V2?

Kontextfönstret för DeepSeek Coder V2 innehÄller 128 000 tokens. Ett svar kan vara upp till 8 192 tokens lÄngt.

Hur snabb Àr DeepSeek Coder V2?

Det finns Ànnu inte tillrÀckligt mÄnga uppmÀtta körningar av DeepSeek Coder V2 pÄ Railwail för att ange en körningstid. Det beror pÄ inmatningen, instÀllningarna och belastningen hos leverantören.

Är DeepSeek Coder V2 bĂ€ttre Ă€n DeepSeek V4.1 Flash?

Det beror pÄ uppgiften. DeepSeek Coder V2 (DeepSeek) och DeepSeek V4.1 Flash (DeepSeek) Àr bÄda modeller i kategorin Kod. JÀmförelsesidan visar deras priser och specifikationer sida vid sida.

JÀmför DeepSeek Coder V2 och DeepSeek V4.1 Flash

Kan jag anvÀnda DeepSeek Coder V2 just nu?

Inte tillgÀnglig för nÀrvarande. Sidan förblir online; tillgÀngliga alternativ frÄn samma kategori visas lÀngre ned.

Alla modeller via ett API

En API-nyckel för alla modeller pÄ Railwail. AnvÀndningen debiteras frÄn förbetald kredit, 1 kredit = 0,01 US$.