Skip to content

Ollama · chat

deepseek-coder-v2-base

ollama/deepseek-coder-v2-base

Input price
Not listed
Output price
Not listed
Context window
8K tokens
Lifecycle
stable

deepseek-coder-v2-base for OpenAI-compatible gateway routing

deepseek-coder-v2-base is a Ollama chat model in the Ferro Labs live catalog with a 8K tokens context window, 8K tokens maximum output, and capabilities including Function Calling, JSON Mode, and Streaming.

Token pricing is listed as input price not listed and output price not listed. Route calls through the Ferro Labs AI Gateway by sending model as ollama/deepseek-coder-v2-base to the OpenAI-compatible chat completions endpoint. The catalog lists this model as stable for normal gateway routing.

OpenAI-compatible usage example

curl https://api.ferrolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ollama/deepseek-coder-v2-base", "messages": [{"role": "user", "content": "Hello!"}]}'

Capabilities

  • Function Calling
  • JSON Mode
  • Streaming

Modalities

Input

  • Text

Output

  • Text

More from Ollama

Catalog prices may change. Verify current provider terms before purchasing.