DeepSeek Chat API

DeepSeek · serves deepseek-chat

Pricing

Input / 1M$0.27
Output / 1M$1.10
Blended / 1M$1.37
Cached input / 1M$0.07
Context window64,000 tokens
Max output8,192 tokens
LicenseOpen weights · MIT permissive
Knowledge cutoffMarch 2026 · source

textfunction-callingjson-mode

Price verified 2026-09-03 (2 days ago) · sourcesingle source

Sources

SourceInput / 1MOutput / 1MVerified
Provider page$0.27$1.102026-09-03

Single source — no second reference available to cross-check.

Latency measured

RegionTTFT p50TTFT p95Total p50Total p95ThroughputSamples
eu-paris0

Time-to-first-token, measured server-side. Measured 2026-09-04 (0 days ago).

Cheaper providers for deepseek-chat

ProviderBlended / 1MEndpoint
DeepInfra$1.21view →

Compare all 2 providers serving deepseek-chat →

Call it

OpenAI-compatible endpoint — set DEEPSEEK_API_KEY.

curl https://api.deepseek.com/v1/chat/completions \
  -H "Authorization: Bearer $DEEPSEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-chat",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI  # pip install openai

client = OpenAI(
    base_url="https://api.deepseek.com/v1",
    api_key="...",  # DEEPSEEK_API_KEY
)
resp = client.chat.completions.create(
    model="deepseek-chat",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Price history

DateInput / 1MOutput / 1M
2026-09-01$0.27$1.10
2026-06-01$0.27$1.10

2 price points on record · a new point is added only when the price actually changes.

Use this data

Raw JSON for this page: deepseek-chat.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.