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
Similar APIs
OpenAI API
★100Access GPT-4o, GPT-4, GPT-3.5, embeddings, DALL-E, Whisper, and TTS models via REST API.
LangChain Platform
★91Framework and platform for building LLM applications. LangSmith for observability, LangServe for deployment.
Anthropic Claude API
★87Access Claude 3.5 Sonnet, Haiku, and Opus models for chat, analysis, and code generation.
Google Gemini API
★85Access Gemini 2.0 Flash, Pro, and Ultra models with native multimodal and tool-use support.
Something wrong or missing? Open an issue on GitHub →
Pricing Comparison
| API | Pricing | Auth | Popularity |
|---|---|---|---|
| OpenAI API | pay-as-you-go (per token) | API Key (Bearer Token) | 100 |
| Anthropic Claude API | pay-as-you-go (per token) | API Key (x-api-key header) | 87 |
| Google Gemini API | free tier available, pay-as-you-go | API Key | 85 |
| OpenAI Assistants API | pay-as-you-go (per token + per tool use) | API Key (Bearer Token) | 84 |
Discussion
Questions, feedback, or suggestions? Start a discussion.
Discuss on GitHub