Last refreshed 2026-04-19. Next refresh: weekly.
Why use DeepSeek R1 on Replicate API?
Replicate API offers DeepSeek R1 with pay-as-you-go pricing at $3.75/1M input tokens. Replicate is a cloud-based platform that enables users to run machine learning models easily and efficiently.
Compare DeepSeek R1 across 14 providers to find the best fit for your use caseInput / 1M
$3.75
Output / 1M
$10.00
Cache
Not sourced
Batch
Not sourced
Setup recipe
Python + curlInstall
pip install replicateAuth
export REPLICATE_API_TOKEN=...Call
import replicate
output = replicate.run(
"deepseek-ai/deepseek-r1",
input={"prompt": "Hello"}Model ID
deepseek-ai/deepseek-r1Request example
import replicate
# reads REPLICATE_API_TOKEN from env
# deepseek-ai/deepseek-r1 format: "owner/model-name" (latest version) or "owner/model-name:version-hash"
output = replicate.run(
"deepseek-ai/deepseek-r1",
input={"prompt": "Hello"}
)
# Output is a list or generator depending on the model
print("".join(output))Gotchas
- Use provider model ID "deepseek-ai/deepseek-r1", not the LLMReference slug "deepseek-r1".
- Replicate uses "owner/model-name" format (e.g. "meta/meta-llama-3-8b-instruct") for the latest version, or "owner/model-name:version-sha" to pin to a specific version. The REST endpoint splits owner and model-name into the path: /v1/models/{owner}/{model-name}/predictions.
- The examples expect REPLICATE_API_TOKEN; rename it only if your application config maps the new variable.
Compare DeepSeek R1 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| DeepSeek Platform | $0.55 | $2.19 |
| OpenRouter | $0.70 | $2.50 |
| Together AI | $3.00 | $7.00 |
| Fireworks AI | $0.56 | $1.68 |
| NVIDIA NIM | — | — |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $3.75 |
| Output tokens | $10.00 |
Capabilities
ReasoningStructured OutputsCode Execution
About DeepSeek R1
DeepSeek R1: Reasoning-optimized model with extended thinking capabilities. 128K context.
Get Started
Model Specs
Released2025-01-20
Parameters671B, 37B Active
Context128k
ArchitectureDecoder Only
Knowledge cutoff2023-12