Skip to content
OpenKey

R1

DeepSeekReleased Jan 20, 2025

DeepSeek R1 is here: Performance on par with [OpenAI o1](/openai/o1), but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass....

Try in playground
Context window
164K tokens
Max output
16K tokens
Input
text
Output
text
Tokenizer
DeepSeek
Knowledge cutoff
Jul 31, 2024
Released
Jan 20, 2025
Reasoning
always on

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$0.700$0.021$0.721
Output$2.50$0.075$2.58

Benchmarks

Artificial Analysis

Intelligence index
18.5
Coding index
24.6
Agentic index
3.1

Supported parameters

  • frequency_penalty
  • include_reasoning
  • max_completion_tokens
  • max_tokens
  • presence_penalty
  • reasoning
  • repetition_penalty
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_p

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model deepseek/deepseek-r1.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-r1",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openkey.ai/v1",
    api_key=os.environ["OPENKEY_API_KEY"],
)

completion = client.chat.completions.create(
    model="deepseek/deepseek-r1",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.openkey.ai/v1",
  apiKey: process.env.OPENKEY_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "deepseek/deepseek-r1",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does R1 cost via API?
Through OpenKey, R1 costs $0.721 per 1M input tokens and $2.58 per 1M output tokens. That is the provider price ($0.700 / $2.50) plus a flat 3% fee — nothing else.
What is R1's context window?
R1 accepts up to 164K tokens of context and returns up to 16K tokens per request.
Is R1 OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "deepseek/deepseek-r1" using any OpenAI SDK — only the base URL and API key change.
What inputs does R1 support?
R1 accepts text input and produces text output. Its knowledge cutoff is Jul 31, 2024.

More from DeepSeek

All DeepSeek models →