NEW: 70+ real-time integrations - track Claude, OpenAI, AWS, OpenRouter & more. Try it free →

CostGoat Logo

CostGoat

LAST UPDATED: SEPTEMBER 5, 2026

DeepSeek API Pricing Calculator & Complete Cost Guide

Calculate DeepSeek V4 (Flash & Pro) API costs per token and per month. Off-peak pricing is half of peak and covers most hours, so scheduled work runs far below GPT and Claude.

CalculatorPricing GuideExamplesSave MoneyFAQ

Pricing TLDR

  • 5 million free tokens for new users (no credit card required)
  • Off-peak (most hours) is half of peak: V4 Flash $0.22 in / $0.66 out, V4 Pro $0.66 / $1.98 per 1M tokens
  • Peak = 01:00-04:00 and 06:00-10:00 UTC, Monday to Friday; schedule batch jobs off-peak to pay half

Official pricing:

DeepSeek

Quality Scores: Theozard

DeepSeek API Cost Calculator: Off-Peak vs Peak

Calculate by

Input Tokens

Output Tokens

API Calls / Month

Quick Examples:

Context Caching:

Cache Hit Rate:

50%

(off-peak V4 Flash: $0.007 cache hit vs $0.22 miss; V4 Pro: $0.022 vs $0.66)

DeepSeek automatically caches context. When requests share the same prefix, cached segments are reused.

Off-peak vs peak: off-peak rates are half of peak, and off-peak covers most of the week. Peak is only 01:00-04:00 and 06:00-10:00 UTC, Monday to Friday; every other hour, and all weekend, is off-peak. The table shows both, so schedulable work can be planned around the cheaper window.

DeepSeek V4 Pro (deepseek-v4-pro)

Context

1M

384K output

Quality

74

Off-Peak

$1.33/mo

In $0.34 · Out $1.98 /1M

Peak

$2.66/mo

In $0.68 · Out $3.96 /1M

DeepSeek V4 Flash Vision (deepseek-v4-flash-vision-exp)

Context

1M

384K output

Quality

73

Off-Peak

$0.44/mo

In $0.11 · Out $0.66 /1M

Peak

$0.89/mo

In $0.23 · Out $1.32 /1M

DeepSeek V4 Flash (deepseek-v4-flash)

Context

1M

384K output

Quality

72

Off-Peak

$0.44/mo

In $0.11 · Out $0.66 /1M

Peak

$0.89/mo

In $0.23 · Out $1.32 /1M

Burning through DeepSeek API credits?

Track your DeepSeek API spending in real-time.

Free 7-day trial. No sign-up, no credit card.

CostGoat desktop app showing AI agent quotas, usage costs, credit balances, and subscriptions

About DeepSeek API

What is DeepSeek API?

The DeepSeek API provides programmatic access to DeepSeek's V4 family: Flash (cost-effective), Pro (flagship), and Flash Vision (Flash with image input). V4 bills on a two-tier peak/off-peak schedule where off-peak is half price and covers most hours, with a 1M-token context window, 384K max output, and automatic context caching. Thinking mode is a per-call setting on any model, not a separate price. New integrations should use the explicit `deepseek-v4-flash` and `deepseek-v4-pro` model names rather than the older `deepseek-chat` and `deepseek-reasoner` aliases.

  • Off-Peak Pricing at Half Rate: DeepSeek charges half rate outside peak hours (peak is 01:00-04:00 and 06:00-10:00 UTC, Monday to Friday). Off-peak covers most of the week, so schedulable work runs at V4 Flash $0.22/$0.66 or V4 Pro $0.66/$1.98 per 1M tokens, half the peak rate. Batch and background jobs are the natural fit.
  • Extremely Cost-Effective: Even at peak, V4 Flash is a fraction of frontier pricing; off-peak it runs around 98% cheaper than GPT-5.5 ($5/$30). V4 Pro off-peak ($0.66/$1.98) undercuts Claude Sonnet while being the larger flagship tier.
  • Automatic Context Caching: Context caching is on by default across all tiers. When requests share a prefix with recent ones, cached segments are retrieved automatically. Off-peak, cache hits cost $0.007/M on V4 Flash (versus $0.22 for a miss) and $0.022/M on V4 Pro.

When to Use DeepSeek API

DeepSeek is ideal for cost-sensitive applications that need good capability without frontier pricing. Use V4 Flash for high-volume production, V4 Pro for the hardest reasoning, and V4 Flash Vision when you need image input. Where the work is schedulable, run it in off-peak windows to pay half.

Ideal for

  • Cost-sensitive production applications
  • High-volume batch and background jobs (schedule off-peak for half price)
  • Math, logic, and coding tasks (turn on thinking mode)
  • General chatbots and content generation
  • Applications with repetitive prompts (benefits from caching)

Not ideal for

  • Applications requiring maximum frontier capability
  • Use cases needing specific tool integrations not offered
  • Latency-critical work locked to peak hours (no off-peak discount)
  • Workloads requiring strict SLAs or guaranteed uptime

DeepSeek API Pricing Breakdown

Free Tier

New users receive 5 million free tokens upon registration with no credit card required. These credits are automatically applied to your usage and work across all models.

  • Sign up at platform.deepseek.com, no credit card required
  • Receive 5 million free tokens instantly
  • Credits work across all models (V4 Flash, V4 Pro, V4 Flash Vision)
  • Additional credits can be purchased as needed

Key Features

Peak / Off-Peak Pricing

DeepSeek V4 bills at two rates: off-peak (half price, most hours) and peak (01:00-04:00 and 06:00-10:00 UTC, Monday to Friday). Off-peak per 1M tokens is V4 Flash $0.007/$0.22/$0.66 and V4 Pro $0.022/$0.66/$1.98; peak is exactly double. Moving batch and background work into off-peak windows halves the bill, which is the biggest lever on DeepSeek cost.

Automatic Context Caching

All requests benefit from context caching automatically. When prompts share the same prefix, cached content is reused. Off-peak, V4 Flash cache hits cost $0.007/M versus $0.22/M for a miss, roughly a 97% saving on cached input.

1M Context, 384K Max Output

V4 ships with a 1M-token context window and 384K max output across every model and mode, a major expansion from V3.2's 128K context and split 8K-64K outputs.

OpenAI- and Anthropic-Compatible API

DeepSeek API speaks two formats: OpenAI-compatible at the default base URL and Anthropic-compatible at `https://api.deepseek.com/anthropic`. Migrate from either ecosystem by changing your base URL and API key.

DeepSeek API Monthly Cost Estimates

Light Use

$1-8/mo

Personal projects

<1K requests/day

V4 Flash off-peak

Medium Use

$8-40/mo

Small apps

1-5K requests/day

Off-peak where possible

Heavy Use

$40-200/mo

Production apps

5-20K requests/day

Schedule batch off-peak

Enterprise

$200+/mo

Large scale

20K+ requests/day

High cache + off-peak

7 DeepSeek API Cost Optimization Tips

1

Schedule Batch Jobs for Off-Peak

Off-peak rates are half of peak, and off-peak covers most of the week (peak is only 01:00-04:00 and 06:00-10:00 UTC, Monday to Friday). Move batch, background, and non-urgent jobs into off-peak windows to pay half. This is the single biggest lever on a DeepSeek bill.

2

Maximize Cache Hit Rate

Structure prompts with consistent prefixes (system prompts, instructions) to maximize cache hits. Off-peak on V4 Flash, cache hits cost $0.007/M versus $0.22/M for misses. Aim for 70%+ cache hit rates in production.

3

Start with V4 Flash, Upgrade to Pro Selectively

V4 Flash handles classification, summarization, general chat, and most coding at roughly 3x lower cost than V4 Pro. Reserve V4 Pro, the larger flagship, for the hardest and highest-stakes workloads.

4

Turn Thinking Mode On Only When It Pays

Thinking mode is a per-call setting, not a separate price, but it spends more output tokens on hidden reasoning. Enable it for hard math, logic, and code where Chain-of-Thought lifts quality; leave it off for classification, summarization, and general queries.

5

Optimize Output Length

V4 supports up to 384K output tokens, but cost accumulates per token. Set appropriate max_tokens limits. Most tasks finish well under 10K output tokens.

6

Compare with Competitors

V4 Flash off-peak at $0.22/$0.66 is around 98% cheaper than GPT-5.5 ($5/$30) and Claude Sonnet ($3/$15). V4 Pro off-peak at $0.66/$1.98 comes in below Claude Sonnet while offering DeepSeek's flagship tier.

7

Monitor Token Usage

Track your cache hit rates and token consumption via the DeepSeek platform. Understanding your caching patterns and peak-vs-off-peak split helps optimize prompt design and reduce costs further.

DeepSeek Model Selection Guide

Use Case

Customer Support Chat

Recommended Model

V4 Flash

Cost-effective tier

Monthly Cost (Est.)

~$2-8

Why This Model?

Fast and cheapest for general queries

Use Case

Code Generation

Recommended Model

V4 Flash

Thinking mode on

Monthly Cost (Est.)

~$5-20

Why This Model?

Strong DeepSeek quality with Chain-of-Thought at Flash pricing

Use Case

Hard Math & Logic

Recommended Model

V4 Pro

Thinking mode on

Monthly Cost (Est.)

~$10-40

Why This Model?

Flagship tier for the hardest, highest-stakes reasoning

Use Case

Image Understanding

Recommended Model

V4 Flash Vision

Image input

Monthly Cost (Est.)

~$3-15

Why This Model?

Accepts images at Flash pricing (billed as input tokens)

Use Case

Data Extraction

Recommended Model

V4 Flash

Cost-effective tier

Monthly Cost (Est.)

~$2-8

Why This Model?

JSON output, tool calling, lowest cost

Use Case

High-Volume Batch

Recommended Model

V4 Flash

Off-peak + high cache

Monthly Cost (Est.)

~$4-40

Why This Model?

Schedule off-peak and maximize cache hits for the lowest cost

Start Tracking Your DeepSeek API Spending

Monitor your DeepSeek V4 credit balance and per-tier usage from your menubar. Alerts before you run out.

Free 7-day trial. No sign-up, no credit card.

CostGoat desktop app showing AI agent quotas, usage costs, credit balances, and subscriptions

DeepSeek API Pricing FAQ

Common questions about DeepSeek API costs, billing, and optimization

AI Pricing

Gemini API PricingClaude API PricingGoogle Veo PricingAI Cost CalculatorsReplicate API PricingOpenRouter API PricingOpenRouter Free Models
DownloadsPricingDealsAccountContactIssuesAffiliatesTermsPrivacy

© 2026 CostGoat. All rights reserved.

Made by Functioncraft: Redis GUI Client · SSH GUI Client

Affiliate disclosure: Some links earn CostGoat a commission or credit when you sign up, at no extra cost to you.