deepseek/deepseek-r1
Yayın tarihi: 2025-01-20
64,000 context · $0.70/M input tokens · $2.50/M output tokens
DeepSeek R1 is here: Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass....
Kullandıkça öde
Ön ödeme yok, yalnızca kullandığınız kadar ödeyin
API'mizle entegre etmek için aşağıdaki kod örneklerini kullanın:
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["WAVESPEED_API_KEY"],
base_url="https://llm.wavespeed.ai/v1",
timeout=120.0,
max_retries=2,
)
try:
response = client.chat.completions.create(
model="deepseek/deepseek-r1",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content or "")
except Exception as exc:
raise SystemExit(f"LLM request failed: {exc}") from excDeepSeek R1 is here: Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens
DeepSeek R1 is here: Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass.
Fully open-source model & technical report.
MIT licensed: Distill & commercialize freely!
| Specification | Value |
|---|---|
| Provider | Deepseek |
| Model Type | Large Language Model (LLM) |
| Architecture | N/A |
| Context Window | 64000 tokens |
| Max Output | 16000 tokens |
| Input | Text |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Token Type | Cost per Million Tokens |
|---|---|
| Input | $0.8 |
| Output | $2.7 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: deepseek/deepseek-r1
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="deepseek/deepseek-r1",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "deepseek/deepseek-r1",
"messages": [{"role": "user", "content": "Hello!"}]
}'
deepseek/deepseek-r1
DeepSeek R1 is here: Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass....
Giriş
$0.7 /M
Çıkış
$2.5 /M
Bağlam
64K
Maks. Çıkış
16K
Araç Kullanımı
Destekleniyor
Birleşik API'miz aracılığıyla DeepSeek R1'e erişin — OpenAI uyumlu, soğuk başlatma yok, şeffaf fiyatlandırma.
WaveSpeedAI fiyatlandırması: milyon giriş tokenı başına $0.70 ve milyon çıkış tokenı başına $2.50. Prompt caching ve toplu işleme ayrı faturalanır ve uzun, tekrar eden yüklerde etkin maliyeti düşürür.
DeepSeek R1 istek başına 64K bağlam tokenını ve 16K çıkış tokenını destekler.
WaveSpeedAI, DeepSeek R1 modelini https://llm.wavespeed.ai/v1 adresindeki OpenAI uyumlu Chat Completions arayüzü üzerinden sunar. Çoğu OpenAI SDK istemcisinde base URL ve API anahtarını değiştirmek yeterlidir; isteğe bağlı alanlar modele bağlıdır.
WaveSpeedAI’a giriş yapın, Access Keys bölümünde bir API anahtarı oluşturun ve yukarıdaki model id ile https://llm.wavespeed.ai/v1/chat/completions adresine istek gönderin. Güncel kullanılabilirlik, özellikler ve fiyatlar için model kataloğunu kontrol edin.