Please read these terms and conditions carefully before using Our Service.
Last updated
We build on the foundation of DeepSeek AI, a leader in open-source language models.
Their latest flagship model, DeepSeek-V2, offers unparalleled performance and cost-efficiency, allowing us to deliver powerful, scalable, and affordable AI solutions tailored to your business needs.
We leverage DeepSeek’s superior coding and reasoning capabilities to:
| Model Variant | Best For | Pricing (per 1M tokens) |
|---|---|---|
| DeepSeek-V2 | Advanced reasoning, coding, and general-purpose tasks | Input: $0.14, Output: $0.28 |
| DeepSeek LLM 67B | High-performance reasoning and complex tasks | Input: $0.80, Output: $0.80 |
| DeepSeek Coder V2 | Specialized in code generation and programming assistance | Input: $0.45, Output: $0.45 |
| DeepSeek 7B | Lightweight and efficient for moderate tasks | Input: $0.25 (est), Output: $0.25 (est) |
import requests
url = "https://api.deepseek.com/v1/chat/completions"
api_key = "YOUR_API_KEY" # Replace with your actual API key
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {api_key}"
}
payload = {
"model": "deepseek-chat",
"messages": [
{"role": "system", "content": "You are a helpful assistant"},
{"role": "user", "content": "Write a python function to calculate Fibonacci sequence"}
],
"temperature": 0.7,
"max_tokens": 2000
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
const url = 'https://api.deepseek.com/v1/chat/completions';
const apiKey = "YOUR_API_KEY"; // Replace with your actual API key
const payload = {
model: "deepseek-chat",
messages: [
{ role: "system", content: "You are a helpful assistant" },
{ role: "user", content: "Write a python function to calculate Fibonacci sequence" }
],
temperature: 0.7,
max_tokens: 2000
};
fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${apiKey}`
},
body: JSON.stringify(payload)
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error("Error:", err));
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "deepseek-chat",
"messages": [
{"role": "system", "content": "You are a helpful assistant"},
{"role": "user", "content": "Write a python function to calculate Fibonacci sequence"}
],
"temperature": 0.7,
"max_tokens": 2000
}'
Unbeatable Price-to-Performance: DeepSeek-V2 delivers intelligence that rivals GPT-4 Turbo at a fraction of the cost.
Radical Openness & Control: Solutions can be fine-tuned and deployed securely on-prem or in private cloud.
Exceptional Coding Prowess: DeepSeek Coder is a top-tier, open-weight model for code generation and engineering tasks.
Extended Context Mastery: With a 128k token context window, DeepSeek handles lengthy documents, datasets, and codebases in a single prompt.
Strong Multilingual Foundation: Excels in both English and Chinese, with robust support for other languages.