● DeepSeek · chat

DeepSeek R1

SAMPLE: DeepSeek's reasoning model that thinks step by step before answering.

Input / 1M tokens$0.55
Output / 1M tokens$2.19
Context128K

Example: 1M input + 1M output tokens = $2.74

Call DeepSeek R1

OpenAI-compatible. Use any OpenAI SDK with the Keyra base URL and your key.

curl

curl https://api.keyra.example/v1/chat/completions \
  -H "Authorization: Bearer $KEYRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-r1", "messages": [{"role": "user", "content": "Hello"}]}'

Python · openai SDK

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.keyra.example/v1", api_key=os.environ["KEYRA_API_KEY"])

reply = client.chat.completions.create(
    model="deepseek-r1",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Related models

ModelCreatorTypeContextInput / 1MOutput / 1M
DeepSeek V3DeepSeekchat128K$0.27$1.10
Llama 3.3 70BMetachat128K$0.23$0.40
Qwen3 32BQwenchat40K$0.10$0.30