deepseek-ai/deepseek-v3.1 pricing

deepseek-ai/deepseek-v3.1, Mid-tier from Replicate, costs $0.672 per 1M input tokens and $2.02 per 1M output tokens.

verified at the provider's own pricing page

Input$0.672per 1M tokens
Output$2.02per 1M tokens
Context window—tokens
TierMidReplicate

Price your own workload against deepseek-ai/deepseek-v3.1 in the calculator →

Specs and pricing

ProviderReplicate
TierMid
Context window—
Max output—
Input price$0.672 / 1M tokens
Output price$2.02 / 1M tokens
Modalitiestext

Note. Replicate quotes $0.672 per million input tokens and $2.016 per million output tokens directly; no conversion needed.

What it costs at realistic volumes

Assuming a 4:1 input:output token ratio, a common shape for chat and RAG-style workloads:

Volume (4:1 in:out ratio)Input costOutput costTotal / month
1,000,000 in / 250,000 out$0.67$0.50$1.18
10,000,000 in / 2,500,000 out$6.72$5.04$11.76
100,000,000 in / 25,000,000 out$67.20$50.40$117.60

Cheaper alternatives

Same tier (Mid), a different provider, and a lower blended cost at the 4:1 ratio used above:

ModelProvider$/1M in$/1M outAt the 4:1 ratio
GPT-OSS 120BOpenRouter$0.037$0.1793.2% cheaper blended
GPT-OSS 120BNovita AI$0.05$0.2590.4% cheaper blended
Llama-3.3-70B-Instruct-TurboDeepInfra$0.10$0.3284.7% cheaper blended
Nemotron 3 SuperOpenRouter$0.085$0.4084.3% cheaper blended
DeepSeek V4 Flash 0731Baseten$0.13$0.2683.4% cheaper blended