Back to Models
DeepSeek R1
deepseekdeepseek/deepseek-r1
DeepSeek R1 (671B total, 37B active MoE) is a reasoning model that uses chain-of-thought with <think> tags to solve complex problems. Excels at math, coding, and scientific reasoning tasks with transparent step-by-step thinking.
Context Length
128K
Max Output
33K
Input Priceper 1M tokens
$2.10/ 1M tokens
Output Priceper 1M tokens
$8.40/ 1M tokens
Modalities
textβtext
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $2.10 / 1M tokens |
| Output | $8.40 / 1M tokens |
Supported Parameters
temperaturemax_tokenstop_presponse_formatreasoningstop
API Usage Examples
Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.
cURL
curl https://api.therouter.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "deepseek/deepseek-r1",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'