Models / Chat / DeepSeek R1
DeepSeek R1
LLM
Open-source reasoning model rivaling OpenAI-o1, excelling in math, code, reasoning, and cost efficiency.
Try our DeepSeek R1 API
API Usage
Endpoint
deepseek-ai/DeepSeek-R1
RUN INFERENCE
curl -X POST "https://api.together.xyz/v1/chat/completions" \
-H "Authorization: Bearer $TOGETHER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-ai/DeepSeek-R1",
"messages": [{"role": "user", "content": "What are some fun things to do in New York?"}]
}'
JSON RESPONSE
RUN INFERENCE
from together import Together
client = Together()
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-R1",
messages=[{"role": "user", "content": "What are some fun things to do in New York?"}],
)
print(response.choices[0].message.content)
JSON RESPONSE
RUN INFERENCE
import Together from "together-ai";
const together = new Together();
const response = await together.chat.completions.create({
messages: [{"role": "user", "content": "What are some fun things to do in New York?"}],
model: "deepseek-ai/DeepSeek-R1",
});
console.log(response.choices[0].message.content)
JSON RESPONSE
Model Provider:
DeepSeek
Type:
Chat
Variant:
Parameters:
685B
Deployment:
✔ Serverless
Quantization
FP8
Context length:
164K
Pricing:
$7.00
Run in playground
Deploy model
Quickstart docs
Looking for production scale? Deploy on a dedicated endpoint
Deploy DeepSeek R1 on a dedicated endpoint with custom hardware configuration, as many instances as you need, and auto-scaling.