R1
About this model
R1 is an AI model from DeepSeek, made available through the API on January 20, 2025. It can read up to 64,000 tokens in one request, roughly 120 pages of text, and write up to 16,000 tokens in a single answer.
Through the API it costs $0.70 per million input tokens and $2.50 per million output tokens. Its pricing sits in the middle of the market.
It supports extended reasoning: it can "think" step by step before answering, which helps on maths, code and complex questions. It can call tools and functions, so developers can connect it to search, databases or other software. Its weights are openly published (deepseek-ai/DeepSeek-R1), so it can also be downloaded and run on your own hardware.
Quality scores
Rankings →Not rated yet. Independent test results usually appear a few weeks after a model is released.
Where to use it
Companies that serve this model through an API: 1. Prices per million tokens, cheapest first.
Availability and prices come from OpenRouter’s public API and are refreshed daily. Uptime is the share of successful requests over the last 24 hours. Some providers run a compressed version of open models (fp8, int4), which is cheaper but can be slightly less accurate.
Use it in your code
Call R1 through OpenRouter’s OpenAI-compatible API: create a key on openrouter.ai, then run one of these examples.
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek/deepseek-r1", "messages": [{"role": "user", "content": "Hello! What can you do?"}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
reply = client.chat.completions.create(
model="deepseek/deepseek-r1",
messages=[{"role": "user", "content": "Hello! What can you do?"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey: process.env.OPENROUTER_API_KEY });
const reply = await client.chat.completions.create({
model: "deepseek/deepseek-r1",
messages: [{ role: "user", content: "Hello! What can you do?" }],
});
console.log(reply.choices[0].message.content);The same code works with every model on this site: only the model ID changes. Many labs also offer their own API and SDK.
What it costs in practice
- 1,000 chat replies$1.10
- Summarise a 100-page document$0.038
- An app with 10,000 requests a day for a month$510
Similar-priced alternatives
| Model | Inputi | Outputi | Contexti | |
|---|---|---|---|---|
Aion 3.5 MiniAion Labs | $0.70 | $1.40 | 256K | Compare with ⇄ |
KAT-Coder-Pro V2.5Kuaishou | $0.74 | $2.96 | 256K | Compare with ⇄ |
Kimi K2.7 CodeMoonshot AI | $0.66 | $3.30 | 256K | Compare with ⇄ |
Gemini 3.8 FlashGoogle DeepMind | $0.75 | $3.75 | 1M | Compare with ⇄ |
GPT-5.4 MiniOpenAI | $0.75 | $4.50 | 400K | Compare with ⇄ |
Qwen3 Coder PlusAlibaba Qwen | $0.65 | $3.25 | 1M | Compare with ⇄ |
News about DeepSeek
See all →Frequently asked questions
- How much does R1 cost?
- R1 costs $0.70 per million input tokens and $2.50 per million output tokens through the API. For example, 1,000 chat replies of about 500 tokens in and 300 out cost around $1.10.
- What is the context window of R1?
- R1 can read up to 64,000 tokens in one request, about 120 pages of text. It can write up to 16,000 tokens in a single answer.
- Is R1 open source?
- Yes. Its weights are published (deepseek-ai/DeepSeek-R1), so you can download it and run it on your own hardware, or use it through one of 1 API providers.
- Who makes R1?
- R1 is made by DeepSeek. It became available through the API on January 20, 2025.
- Can R1 read images?
- No. R1 only accepts text as input.
- What are the alternatives to R1?
- Models with a similar price from other companies include Aion 3.5 Mini, KAT-Coder-Pro V2.5 and Kimi K2.7 Code. You can compare them side by side on this page.