impulse

DeepSeek Coder V2 Base

Open weights
API id deepseek-coder-v2-base
Input / 1M
-
not listed
Output / 1M
-
not listed
Context window
8K
tokens
Max output
8K
tokens per reply
Hosts
0
1 listings
Released
-
date not published

Where to run it

0 hosts serve DeepSeek Coder V2 Base. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
OllamaLocal
deepseek-coder-v2-base
-

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Open weights
License: Llama Community License
Runtimes: Ollama, TGI, llama.cpp, vLLM

Similar models

This model has no listed price, so these are current models with similar capabilities.

Smaller DeepSeek models

No similar DeepSeek model keeps its key capabilities.

Other frontier labs

  • GPT-5.5 Pro
    OpenAI · on OpenAI
    $30.00 / $180.00
    Has every key capability
  • Claude Fable 5.2
    Anthropic · on Anthropic
    $8.00 / $40.00
    Has every key capability
  • Gemini 4 Carbon
    Google · on Google AI Studio
    $2.00 / $10.00
    Has every key capability
  • Grok 4.7
    xAI · on xAI
    $2.00 / $6.00
    Has every key capability

Open-weight picks

  • Command A Plus
    Cohere · on AIHubMix
    $2.50 / $10.00
    Has every key capability
  • Kimi K3.1 Pro
    Moonshot AI · on Databricks
    $2.00 / $10.00
    Has every key capability
  • Qwen3.8.2 4T A95B
    Alibaba Qwen · on DeepInfra
    $2.00 / $6.00
    Has every key capability
  • Muse Spark Open
    Meta · on Baseten
    $1.25 / $4.25
    Has every key capability

Call it

Using Ollama's API.

Python
from litellm import completion

response = completion(
    model="ollama/deepseek-coder-v2-base",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

What is DeepSeek Coder V2 Base's context window?

8K tokens, with up to 8K tokens in one reply.

What is DeepSeek Coder V2 Base's API model id?

Use deepseek-coder-v2-base with Ollama.

Sources

Raw catalog entry for deepseek-coder-v2-base on Ollama
{
  "input_cost_per_token": 0,
  "litellm_provider": "ollama",
  "max_input_tokens": 8192,
  "max_output_tokens": 8192,
  "mode": "completion",
  "output_cost_per_token": 0,
  "supports_function_calling": true
}