DeepSeek

Model

API for DeepSeek's V4 reasoning and chat models

Fiyat
Pay per use
Erişim
API key

Hakkında

DeepSeek's API serves its V4 models with a 1M-token context through OpenAI- and Anthropic-compatible endpoints. It is for developers who want low per-token prices, and off-peak hours cost half. The model weights are published under the MIT license.

Neler yapabilirsin

  • Chat, summarize and reason over long documents with a 1M-token context
  • Generate and complete code, including fill-in-the-middle
  • Point OpenAI or Anthropic SDK code at DeepSeek by changing the base URL

Başlarken

  1. Create an API key on the DeepSeek platform
  2. Top up your account balance
  3. Set DEEPSEEK_API_KEY in your environment

Örnek kod

curl https://api.deepseek.com/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ${DEEPSEEK_API_KEY}" \
  -d '{
    "model": "deepseek-flash",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ],
    "thinking": {"type": "enabled"},
    "reasoning_effort": "high"
  }'

Ayrıntılar

Barındırma
Hazır hizmet (bulut), Kendi sunucunda
Kullanılabildiği yerler
Tüm dünya
MCP sunucusu
Yok

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .