DeepSeek R1 API Pricing
As of October 10, 2026, DeepSeek R1 costs $0.55 per 1M input tokens and $2.19 per 1M output tokens on DeepSeek, with cache reads at $0.14 per 1M tokens. Across 16 providers on LiteLLM, the input price ranges from $0.20 to $5.00. It has a 65,536-token context window and returns up to 8,192 tokens per response.
- Input
- $0.55 / 1M tokens
- Output
- $2.19 / 1M tokens
- Cache read
- $0.14 / 1M tokens
- Context window
- 65,536 tokens
- Max output
- 8,192 tokens
- Providers
- 16
- Added to LiteLLM
- January 2025
DeepSeek R1 pricing by provider
22 listings across 16 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|
| DeepSeek | deepseek/deepseek-r1 | $0.55 | $2.19 | $0.14 | – | – | 64K |
| Amazon Bedrock | deepseek.r1-v1:0 | $1.35 | $5.40 | – | – | – | 128K |
| Azure AI Foundry | azure_ai/deepseek-r1 | $1.35 | $5.40 | – | – | – | – |
| Crusoesnapshot 0528 | crusoe/deepseek-ai/DeepSeek-R1-0528 | $3.00 | $7.00 | – | – | – | 160K |
| DeepInfra | deepinfra/deepseek-ai/DeepSeek-R1 | $0.70 | $2.40 | – | – | – | 160K |
| DeepInfrasnapshot 0528 | deepinfra/deepseek-ai/DeepSeek-R1-0528 | $0.50 | $2.15 | $0.40 | – | – | 160K |
| Fireworks AI | fireworks_ai/accounts/fireworks/models/deepseek-r1 | $3.00 | $8.00 | – | – | – | 128K |
| Fireworks AIsnapshot 0528 | fireworks_ai/accounts/fireworks/models/deepseek-r1-0528 | $3.00 | $8.00 | – | – | – | 160K |
| Google Vertex AIsnapshot 0528 | vertex_ai/deepseek-ai/deepseek-r1-0528-maas | $1.35 | $5.40 | – | $0.675 | $2.70 | 65K |
| Hyperbolic | hyperbolic/deepseek-ai/DeepSeek-R1 | $0.40 | $0.40 | – | – | – | 32K |
| Hyperbolicsnapshot 0528 | hyperbolic/deepseek-ai/DeepSeek-R1-0528 | $0.25 | $0.25 | – | – | – | 128K |
| Lambdasnapshot 0528 | lambda_ai/deepseek-r1-0528 | $0.20 | $0.60 | – | – | – | 128K |
| Nebius AI Studio | nebius/deepseek-ai/DeepSeek-R1 | $0.80 | $2.40 | – | – | – | 128K |
| Nebius AI Studiosnapshot 0528 | nebius/deepseek-ai/DeepSeek-R1-0528 | $0.80 | $2.40 | – | – | – | 164K |
| Novita AI | novita/deepseek/deepseek-r1 | $4.00 | $4.00 | – | – | – | 64K |
| Novita AIsnapshot 0528 | novita/deepseek/deepseek-r1-0528 | $0.70 | $2.50 | $0.35 | – | – | 160K |
| Replicate | replicate/deepseek-ai/deepseek-r1 | $3.75 | $10.00 | – | – | – | 64K |
| SambaNova | sambanova/DeepSeek-R1 | $5.00 | $7.00 | – | – | – | 32K |
| Snowflake Cortex | snowflake/deepseek-r1 | $1.35 | $5.40 | – | – | – | 128K |
| Together AIsnapshot 0528 | together_ai/deepseek-ai/DeepSeek-R1-0528 | $3.00 | $7.00 | – | – | – | 160K |
| Vercel AI Gateway | vercel_ai_gateway/deepseek/deepseek-r1 | $0.55 | $2.19 | – | – | – | 128K |
| Amazon BedrockUS cross-region | us.deepseek.r1-v1:0 | $1.35 | $5.40 | – | – | – | 128K |
What DeepSeek R1 costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| DeepSeek | $2.195 |
| Lambda | $0.70 |
| Hyperbolic | $0.625 |
| DeepInfra | $2.075 |
DeepSeek R1 features
- Function calling
- Parallel tool calls
- Structured output
- Reasoning
- Prompt caching
Use DeepSeek R1 with LiteLLM
Call DeepSeek R1 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="deepseek/deepseek-r1",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: deepseek-r1
litellm_params:
model: deepseek/deepseek-r1
api_key: os.environ/DEEPSEEK_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "deepseek-r1",
"messages": [{"role": "user", "content": "Hello!"}]
}'DeepSeek R1 FAQ
How much does DeepSeek R1 cost?
DeepSeek R1 costs $0.55 per 1M input tokens and $2.19 per 1M output tokens on DeepSeek, with cache reads at $0.14 per 1M tokens. Across 16 providers on LiteLLM, the input price ranges from $0.20 to $5.00.
What is the context window of DeepSeek R1?
DeepSeek R1 has a 65,536-token context window and returns up to 8,192 tokens per response.
Which providers offer DeepSeek R1?
DeepSeek R1 is available from 16 providers through LiteLLM: DeepSeek, Amazon Bedrock, Azure AI Foundry, Crusoe, DeepInfra, Fireworks AI, Google Vertex AI, Hyperbolic, Lambda, Nebius AI Studio, Novita AI and Replicate and 4 more. The lowest price is on Lambda.
How do I call DeepSeek R1 with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="deepseek/deepseek-r1", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does DeepSeek R1 support?
DeepSeek R1 supports function calling, parallel tool calls, structured output, reasoning and prompt caching.
When did LiteLLM add DeepSeek R1?
DeepSeek R1 was added to LiteLLM's model price file in January 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
- docs.aws.amazon.com/bedrock/latest/userguide/model-card-deepseek-deepseek-r1.html
- prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'
- fireworks.ai/pricing
- cloud.google.com/gemini-enterprise-agent-platform/generative-ai/pricing
LiteLLM docs: DeepSeek, Amazon Bedrock, Azure AI Foundry, Crusoe, DeepInfra, Fireworks AI.
Provider pages: DeepSeek, Amazon Bedrock, Azure AI Foundry, Crusoe, DeepInfra, Fireworks AI, Google Vertex AI, Hyperbolic, Lambda, Nebius AI Studio, Novita AI, Replicate.
