Logoai2save
Sign In
ai2save

DeepSeek API pricing and time-based rates

Compare public DeepSeek input, output and cache rates by group. Check the time zone and multiplier before scheduling a batch.

Estimate a batch of DeepSeek requests

Start with the input and output token counts for one job. Multiply by the corresponding per-million rates and by the number of requests.

Public prices

USD / 1M tokens

Deepseek 45% off · deepseek-flash

token

Site Price (Discounted)
Context (tokens)InputOutputCache readCache write (5m)Cache Write (1h)USD / request or image
Standard$0.08249992$0.32999968$0.00165026———
Official Price
Context (tokens)InputOutputCache readCache write (5m)Cache Write (1h)USD / request or image
Standard$0.15$0.60$0.003———

Time-based pricing (optional) · UTC · Weekdays

01:00–04:00 ×2

06:00–10:00 ×2

Deepseek 45% off · deepseek-v4-flash

token

Site Price (Discounted)
Context (tokens)InputOutputCache readCache write (5m)Cache Write (1h)USD / request or image
Standard$0.08249992$0.32999968$0.00165026———
Official Price
Context (tokens)InputOutputCache readCache write (5m)Cache Write (1h)USD / request or image
Standard$0.15$0.60$0.003———

Time-based pricing (optional) · UTC · Weekdays

01:00–04:00 ×2

06:00–10:00 ×2

Deepseek 45% off · deepseek-v4-pro

token

Site Price (Discounted)
Context (tokens)InputOutputCache readCache write (5m)Cache Write (1h)USD / request or image
Standard$0.36300052$1.08900047$0.01210009———
Official Price
Context (tokens)InputOutputCache readCache write (5m)Cache Write (1h)USD / request or image
Standard$0.66$1.98$0.022———

Time-based pricing (optional) · UTC · Weekdays

01:00–04:00 ×2

06:00–10:00 ×2

Standard-time prices. Context tiers, cache duration, time multipliers and per-request units are listed below. The selected group’s billing rules apply.

Public prices →

Retrieved:

Source: OpenAI · Anthropic · Gemini · LiteLLM — Not independently verified

Integration and request example

Select a DeepSeek model ID in your group and send a short message to the Chat Completions endpoint before launching a batch.

Replace YOUR_MODEL_ID with a model ID supported by your group set SUB2API_API_KEY, and set SUB2API_BASE_URL to the service origin (without /v1). This example shows the request format and does not send a request.

curl "$SUB2API_BASE_URL/v1/chat/completions" \
  -H "Authorization: Bearer $SUB2API_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"YOUR_MODEL_ID","messages":[{"role":"user","content":"Hello"}]}'
Read the integration guide →

Model limits and billing conditions

For a group with scheduled rates, use the time zone and weekday rule printed under its price table. A job that costs $1 at the standard rate costs $2 during a 2× window, before any other applicable adjustment.

View all API prices →