DeepSeek API Pricing Calculator

Estimate DeepSeek API costs with current model pricing to evaluate budget-focused text generation workloads.

Quick facts

Provider

DeepSeek

Current models

2

Cheapest current model

DeepSeek V4 Flash

Largest context window

1M

Pricing unit

Per 1M tokens

Current model pricing

Model Input / 1M Output / 1M Context window Status API docs
DeepSeek V4 Flash $0.1400 $0.2800 1,000,000 CURRENT Source
DeepSeek V4 Pro $1.7400 $3.4800 1,000,000 CURRENT Source

Non-current models

Model Input / 1M Output / 1M Context window Status API docs
DeepSeek-V3 $0.0140 $0.0280 64,000 DEPRECATED Source
DeepSeek-V3.1 $0.1500 $0.7500 128,000 DEPRECATED Source
DeepSeek-R1 $0.5500 $2.1900 64,000 DEPRECATED Source

Example costs

Scenario Model Estimated cost
1K input + 1K output DeepSeek V4 Flash $0.0004
1K input + 1K output DeepSeek V4 Pro $0.0052
10K input + 1K output DeepSeek V4 Flash $0.0017
10K input + 1K output DeepSeek V4 Pro $0.0209
100K input + 5K output DeepSeek V4 Flash $0.0154
100K input + 5K output DeepSeek V4 Pro $0.1914
1M input + 1M output DeepSeek V4 Flash $0.4200
1M input + 1M output DeepSeek V4 Pro $5.2200

When to consider DeepSeek

DeepSeek is frequently compared for cost-sensitive workloads; validate quality and latency against OpenAI, Claude, and Gemini for similar token usage.

Calculate your exact DeepSeek API cost

Open the calculator with DeepSeek models selected and enter your expected input and output tokens.

Open calculator

FAQ

How is DeepSeek API pricing calculated?

Costs are based on your input/output token counts and each model’s per-1M rates.

What is the cheapest current DeepSeek model?

See the cheapest model quick fact and current model table for the latest available entry.

Are output tokens more expensive than input tokens?

Many models price output higher; verify in the pricing columns.

How can I reduce DeepSeek API costs?

Use concise prompts, cap output tokens, and test cheaper models before scaling usage.

Can I compare DeepSeek with other providers?

Yes. Open the main calculator to compare against OpenAI, Claude, Gemini, and more.

Sponsored DigitalOcean

Hosting your AI app?

After comparing API costs, the next cost factor is where your app runs. DigitalOcean can be a simple option for hosting prototypes, API backends, workers, databases, and Laravel apps.

Explore DigitalOcean →

This link is an affiliate link. This means that, at zero cost to you, we earn commissions when you shop through the link.

Related links