Skip to content

DeepSeek API Pricing

Last updated: 13m ago

Complete pricing breakdown for all 12 DeepSeek API models. Compare input and output costs per million tokens for DeepSeek R1, V3, and Chat models. Includes a cost calculator and side-by-side comparison with OpenAI and Anthropic.

What is DeepSeek?

DeepSeek is a Chinese AI research lab that has gained significant attention for developing high-performance open-source language models. Founded in 2023 and headquartered in Hangzhou, China, DeepSeek focuses on building AI systems that push the boundaries of reasoning, coding, and general intelligence -- while keeping costs dramatically lower than Western competitors.

Their flagship DeepSeek R1 reasoning model made waves by matching OpenAI o1-level performance at a fraction of the price. The DeepSeek V3 model delivers GPT-4o-class capabilities for general tasks, coding, and multilingual understanding. All DeepSeek models are released with open weights, meaning developers can self-host them or access them through the official API with pay-per-token pricing.

$0.090
Cheapest ($/1M in)
DeepSeek V4 Flash 0731
$0.180
Cheapest ($/1M out)
DeepSeek V4 Flash 0731
12
Total Models
$0.974
Avg Output $/1M

DeepSeek Model Pricing -- All Models

12 models sorted by output price
ModelInput $/1MOutput $/1M
DeepSeek V4 Flash 0731$0.090$0.180
DeepSeek V4 Flash 0423$0.140$0.280
DeepSeek V3.2$0.269$0.400
DeepSeek V3.2 Exp$0.270$0.410
R1 Distill Llama 70B$0.800$0.800
DeepSeek V4 Pro$0.435$0.870
DeepSeek V3.1$0.250$0.950
DeepSeek V3.1 Terminus$0.270$1.00
DeepSeek V3$0.257$1.03
DeepSeek V3 0324$0.270$1.12
R1 0528$0.500$2.15
R1$0.700$2.50

DeepSeek Pricing by Tier

Budget

Under $1/1M output -- 7 models
ModelInput $/1MOutput $/1M
DeepSeek V4 Flash 0731$0.090$0.180
DeepSeek V4 Flash 0423$0.140$0.280
DeepSeek V3.2$0.269$0.400
DeepSeek V3.2 Exp$0.270$0.410
R1 Distill Llama 70B$0.800$0.800
DeepSeek V4 Pro$0.435$0.870
DeepSeek V3.1$0.250$0.950

Standard

$1 -- $5/1M output -- 5 models
ModelInput $/1MOutput $/1M
DeepSeek V3.1 Terminus$0.270$1.00
DeepSeek V3$0.257$1.03
DeepSeek V3 0324$0.270$1.12
R1 0528$0.500$2.15
R1$0.700$2.50

DeepSeek vs OpenAI vs Anthropic -- Pricing Comparison

See how DeepSeek API pricing stacks up against OpenAI (GPT) and Anthropic (Claude) models. DeepSeek is known for offering comparable performance at significantly lower prices. All prices in USD per million tokens.

DeepSeek

12 models
ModelInOut
DeepSeek V4 Flash 0731$0.090$0.180
DeepSeek V4 Flash 0423$0.140$0.280
DeepSeek V3.2$0.269$0.400
DeepSeek V3.2 Exp$0.270$0.410
R1 Distill Llama 70B$0.800$0.800
DeepSeek V4 Pro$0.435$0.870
DeepSeek V3.1$0.250$0.950
DeepSeek V3.1 Terminus$0.270$1.00

OpenAI

97 models
ModelInOut
gpt-oss-20b (free)FreeFree
SoraFreeFree
gpt-oss-20b$0.030$0.130
gpt-oss-120b$0.037$0.170
GPT-5 Nano (batch)$0.025$0.200
GPT-4.1 Nano (batch)$0.050$0.200
gpt-oss-safeguard-20b$0.075$0.300
GPT-4o-mini (batch)$0.075$0.300

Anthropic

28 models

DeepSeek API Cost Calculator

Cost projections for DeepSeek API usage. Based on ~1,000 input tokens and ~500 output tokens per request. Aggressive pricing means even high-volume workloads stay affordable.

Model$/1M In$/1M Out
DeepSeek V4 Flash 0731$0.090$0.180
DeepSeek V3.2 Exp$0.270$0.410
DeepSeek V3.1$0.250$0.950
DeepSeek V3 0324$0.270$1.12
R1$0.700$2.50

Note: Actual costs vary with prompt length, response length, and batch processing. DeepSeek offers some of the most competitive pricing in the industry, with additional discounts for cached input tokens. Try the interactive calculator for custom estimates.

Understanding DeepSeek API Pricing

Token-Based Billing

DeepSeek uses a byte-pair encoding tokenizer optimized for both English and Chinese text. Chinese characters typically use fewer tokens than with Western tokenizers, making DeepSeek particularly cost-effective for multilingual workloads. DeepSeek also offers cache hit discounts, charging just 10% of the standard rate for previously processed input tokens.

DeepSeek R1 vs V3

DeepSeek R1 is a reasoning model that uses chain-of-thought to solve complex problems, competing with OpenAI o1 at a fraction of the cost. DeepSeek V3 is the general-purpose model optimized for speed and broad capabilities including coding, translation, and analysis. R1 costs more due to extended reasoning but delivers superior accuracy on hard tasks.

Open-Source Advantage

All DeepSeek models are released with open weights under permissive licenses. This means you can self-host models on your own infrastructure, eliminating per-token costs entirely for high-volume workloads. The API provides a convenient managed option with pay-as-you-go pricing for teams that prefer not to manage infrastructure.

Saving on API Costs

DeepSeek is already one of the cheapest API providers, but you can save further by using cached input tokens for repeated prompts, setting appropriate max_tokens limits, and choosing the right model for each task. Use V3 for general tasks and only upgrade to R1 when complex reasoning is needed.

DeepSeek API Pricing FAQ

DeepSeek R1 pricing is $0.800/1M input tokens and $0.800/1M output tokens. DeepSeek R1 is a reasoning model that competes with OpenAI o1, offering chain-of-thought reasoning at a fraction of the cost.

DeepSeek offers 0 free models via their API. DeepSeek is known for extremely competitive pricing, often significantly cheaper than OpenAI and Anthropic equivalents. As a Chinese AI lab focused on open-source, DeepSeek keeps costs low while delivering state-of-the-art performance.

DeepSeek's average output price is $0.974/1M tokens across 12 paid models. OpenAI offers 97 models with varying price points. DeepSeek models are typically much more affordable than OpenAI equivalents -- DeepSeek R1 delivers reasoning capabilities comparable to o1 at a fraction of the cost, and DeepSeek V3 competes with GPT-4o at significantly lower prices.

DeepSeek V3 is priced at $0.269/1M input and $0.400/1M output tokens. It is DeepSeek's flagship general-purpose model with a 164K context window, offering strong performance across coding, reasoning, and multilingual tasks at highly competitive rates.

DeepSeek charges per token with notably aggressive pricing - often 90% cheaper than comparable Western models. Their tokenizer is optimized for both English and Chinese, making it especially cost-effective for multilingual applications. Cache hits are billed at just 10% of the standard input rate, and reasoning tokens in R1 are priced separately from standard output.

DeepSeek API Pricing — R1, V3 & Chat Model Costs (2026) | LM Market Cap