DeepSeek API
DeepSeek 接口
Access DeepSeek-V3 and DeepSeek-R1 reasoning models with competitive pricing.
调用 DeepSeek-V3 和 DeepSeek-R1 推理模型,价格具有竞争力。
Website
Documentation
Pricing
pay-as-you-go (per token, very low cost)
Authentication
- API Key
Rate Limit
500 req/min
Typical Latency
<1s
Max Context
128K
Popularity
83/100
Endpoints
https://api.deepseek.com/v1/chat/completions
SDKs
Pythoncurl
Key Features
- ◆DeepSeek-V3 general model
- ◆DeepSeek-R1 reasoning model
- ◆Extremely competitive pricing
- ◆OpenAI-compatible API format
- ◆128K context window
Code Examples
Chat Completion (OpenAI-compatible)bash
curl https://api.deepseek.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DEEPSEEK_API_KEY" \
-d '{
"model": "deepseek-chat",
"messages": [{"role": "user", "content": "Hello!"}]
}'Tags
llmreasoningchat
Last updated: 2026-07-27