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 Price
$2.10/ 1M tokens
Output Price
$8.40/ 1M tokens

Modalities

texttext

Pricing Breakdown

TypeRate
Input$2.10 / 1M tokens
Output$8.40 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_presponse_formatreasoningstop

API Usage Examples

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."}
    ]
  }'