# deepseek-r1

DeepSeek R1 is DeepSeek's first-generation reasoning model, built by reinforcement learning on the DeepSeek-V3 base for math, code and reasoning tasks. It is released under the MIT License, and smaller dense models distilled from it are also available.

- **Model id:** `opencheap/deepseek-r1`
- **Price per 1M tokens:** $0.74 input / $2.52 output
- **Cached input:** $0.74 per 1M tokens
- **Context:** 163K tokens

## Providers

1 provider. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Context |
| --- | --- | --- | --- | --- |
| Unnamed provider · quantization unknown · Snapshot not stated | $0.74 | $0.74 | $2.52 | 163K |

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/deepseek-r1#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/deepseek-r1`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/deepseek-r1", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/deepseek-r1",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/deepseek-r1",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About deepseek-r1

deepseek-r1 costs from $0.74 per 1M input tokens and $2.52 per 1M output tokens on OpenCheap. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0099, and 1,000 such requests about $9.87. Prices as of 2026-12-04 12:01 UTC.

One provider serves deepseek-r1 on OpenCheap today. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 163K tokens (163,840), room for roughly 120,000 words of English in one request.

deepseek-r1 is one of [58 DeepSeek models](https://opencheap.si/models/lab/deepseek) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the deepseek-r1 API cost per 1M tokens?

deepseek-r1 costs from $0.74 per 1M input tokens and $2.52 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 12:01 UTC.

### What does one deepseek-r1 request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0099, and 1,000 such requests about $9.87. Every answer reports its own cost in usage.cost.

### Which providers serve deepseek-r1?

One provider serves deepseek-r1 on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of deepseek-r1?

Its context window is 163K tokens (163,840), room for roughly 120,000 words of English in one request.

### How do I call the deepseek-r1 API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/deepseek-r1. One OpenCheap key works for every model; the rest of your code stays the same.

## More from DeepSeek

- [deepseek-v4-flash](https://opencheap.si/models/deepseek-v4-flash) (`deepseek-v4-flash`): $0.073 / $0.15 per 1M · 1M context
- [DeepSeek V4 Pro](https://opencheap.si/models/deepseek-v4-pro) (`deepseek-v4-pro`): $0.40 / $0.79 per 1M · 1M context
- [DeepSeek V4.1 Flash](https://opencheap.si/models/deepseek-v4.1-flash) (`deepseek-v4.1-flash`): $0.02 / $0.079 per 1M · 1M context
- [DeepSeek V3.2](https://opencheap.si/models/deepseek-v3.2) (`deepseek-v3.2`): $0.22 / $0.34 per 1M · 163K context
- [DeepSeek V3-0324](https://opencheap.si/models/deepseek-chat) (`deepseek-chat`): $0.32 / $0.89 per 1M · 163K context
- [DeepSeek V3 0324](https://opencheap.si/models/deepseek-chat-v3-0324) (`deepseek-chat-v3-0324`): $0.26 / $1.05 per 1M · 163K context
- [DeepSeek V3.1](https://opencheap.si/models/deepseek-chat-v3.1) (`deepseek-chat-v3.1`): $0.26 / $1.00 per 1M · 163K context
- [DeepSeek Latest](https://opencheap.si/models/deepseek-latest) (`deepseek-latest`): $0.66 / $2.50 per 1M · 1M context

[All 58 DeepSeek models](https://opencheap.si/models/lab/deepseek)

## Similar models

- [GLM 5.1 Thinking TEE](https://opencheap.si/models/glm-5.1-thinking): Zhipu · 202K context · $0.90 / $2.90 per 1M · [Compare with deepseek-r1](https://opencheap.si/compare/deepseek-r1-vs-glm-5.1-thinking)
- [thinkingmachines/Inkling](https://opencheap.si/models/inkling): Thinking Machines · 1M context · $1.00 / $4.05 per 1M · [Compare with deepseek-r1](https://opencheap.si/compare/deepseek-r1-vs-inkling)
- [Doubao Seed 1.6 Thinking](https://opencheap.si/models/doubao-seed-1.6-thinking): ByteDance · 256K context · $0.11 / $1.10 per 1M, 59 % cheaper · [Compare with deepseek-r1](https://opencheap.si/compare/deepseek-r1-vs-doubao-seed-1.6-thinking)
- [ERNIE 5.0 Thinking Preview](https://opencheap.si/models/ernie-5.0-thinking-preview): Baidu · 183K context · $0.82 / $3.29 per 1M · [Compare with deepseek-r1](https://opencheap.si/compare/deepseek-r1-vs-ernie-5.0-thinking-preview)
- [Kimi K2 Thinking](https://opencheap.si/models/kimi-k2-thinking): Moonshot · 256K context · $0.15 / $0.63 per 1M, about 4× cheaper · [Compare with deepseek-r1](https://opencheap.si/compare/deepseek-r1-vs-kimi-k2-thinking)
- [Kimi K2.6](https://opencheap.si/models/kimi-k2.6): Moonshot · 262K context · $0.32 / $1.57 per 1M, 39 % cheaper · [Compare with deepseek-r1](https://opencheap.si/compare/deepseek-r1-vs-kimi-k2.6)

[Compare deepseek-r1 with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/deepseek-r1 · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
