<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kim Han</title>
    <description>The latest articles on DEV Community by Kim Han (@kimmmming).</description>
    <link>https://dev.to/kimmmming</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4211069%2F214db62e-7173-4dc0-887e-80151ec1643d.jpg</url>
      <title>DEV Community: Kim Han</title>
      <link>https://dev.to/kimmmming</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kimmmming"/>
    <language>en</language>
    <item>
      <title>DeepSeek API Pricing 2026: Is It Really the Cheapest?</title>
      <dc:creator>Kim Han</dc:creator>
      <pubDate>Tue, 27 Oct 2026 13:58:22 +0000</pubDate>
      <link>https://dev.to/kimmmming/deepseek-api-pricing-2026-is-it-really-the-cheapest-18ie</link>
      <guid>https://dev.to/kimmmming/deepseek-api-pricing-2026-is-it-really-the-cheapest-18ie</guid>
      <description>&lt;p&gt;DeepSeek's reputation rests on one claim: flagship-class models at a fraction of the price. Its official price list is also the most unusual of any major provider — the price depends on &lt;strong&gt;when&lt;/strong&gt; you call and whether your prompt hits the cache.&lt;/p&gt;

&lt;p&gt;This post lists the official rates for both models DeepSeek currently sells, works out monthly costs at peak and off-peak, and then answers the "cheapest" question with numbers.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: this article contains no affiliate links. On &lt;a href="https://costmytokens.com" rel="noopener noreferrer"&gt;CostMyTokens&lt;/a&gt;, some pages use affiliate links (e.g. Novita AI); they never change sort order — every table is sorted by price only. &lt;a href="https://costmytokens.com/about/#disclosure" rel="noopener noreferrer"&gt;Disclosure&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Prices verified 2026-10-26 against &lt;a href="https://api-docs.deepseek.com/quick_start/pricing" rel="noopener noreferrer"&gt;DeepSeek's official pricing&lt;/a&gt;. Prices change — check the official page before you commit budget. Full version with internal links: &lt;a href="https://costmytokens.com/deepseek-api-pricing/" rel="noopener noreferrer"&gt;costmytokens.com/deepseek-api-pricing&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  DeepSeek API prices (official, per 1M tokens)
&lt;/h2&gt;

&lt;p&gt;DeepSeek's current price list has exactly two models. Both are priced twice: peak and off-peak. Off-peak is always half of peak.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Input (cache miss) / 1M&lt;/th&gt;
&lt;th&gt;Input (cache hit) / 1M&lt;/th&gt;
&lt;th&gt;Output / 1M&lt;/th&gt;
&lt;th&gt;Context&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;deepseek-flash (DeepSeek-V4.1-Flash-1017)&lt;/td&gt;
&lt;td&gt;$0.15 off-peak / $0.30 peak&lt;/td&gt;
&lt;td&gt;$0.003 off-peak / $0.006 peak&lt;/td&gt;
&lt;td&gt;$0.60 off-peak / $1.20 peak&lt;/td&gt;
&lt;td&gt;1,000,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;deepseek-v4-pro (DeepSeek-V4-Pro)&lt;/td&gt;
&lt;td&gt;$0.66 off-peak / $1.32 peak&lt;/td&gt;
&lt;td&gt;$0.022 off-peak / $0.044 peak&lt;/td&gt;
&lt;td&gt;$1.98 off-peak / $3.96 peak&lt;/td&gt;
&lt;td&gt;1,000,000&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Peak hours are &lt;strong&gt;01:00–04:00 and 06:00–10:00 UTC&lt;/strong&gt;, Monday to Friday, excluding Chinese public holidays. Everything else is off-peak — including all of Saturday and Sunday.&lt;/p&gt;

&lt;p&gt;In Beijing time, those peak windows are 09:00–12:00 and 14:00–18:00 on weekdays: DeepSeek charges double during its home market's working hours and half everywhere else.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a month costs
&lt;/h2&gt;

&lt;p&gt;Workload: &lt;strong&gt;80% input / 20% output&lt;/strong&gt;. Sorted by cost.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;10M tokens, off-peak&lt;/th&gt;
&lt;th&gt;10M tokens, peak&lt;/th&gt;
&lt;th&gt;100M tokens, off-peak&lt;/th&gt;
&lt;th&gt;Off-peak, 50% of input cached&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;deepseek-flash&lt;/td&gt;
&lt;td&gt;$2.40&lt;/td&gt;
&lt;td&gt;$4.80&lt;/td&gt;
&lt;td&gt;$24.00&lt;/td&gt;
&lt;td&gt;$1.81 (10M)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;deepseek-v4-pro&lt;/td&gt;
&lt;td&gt;$9.24&lt;/td&gt;
&lt;td&gt;$18.48&lt;/td&gt;
&lt;td&gt;$92.40&lt;/td&gt;
&lt;td&gt;$6.69 (10M)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;There is no separate Batch API discount on this price list. &lt;strong&gt;Off-peak is the batch discount&lt;/strong&gt;: work that can wait for the evening or the weekend costs exactly half.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, is it the cheapest?
&lt;/h2&gt;

&lt;p&gt;Two different questions hide inside that one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cheapest tokens, outright: no.&lt;/strong&gt; Lower-tier closed models (e.g. GPT-6 Luna / Claude Haiku-class list prices around $0.10 input / $0.50 output as of the verification date) can undercut deepseek-flash's $0.15 / $0.60 off-peak. If the workload is simple and price is the only variable, DeepSeek is not the absolute floor.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cheapest flagship-class reasoning: yes — and it is not close.&lt;/strong&gt; deepseek-v4-pro at $0.66 / $1.98 off-peak undercuts every closed flagship on list price in the comparison we ran on CostMyTokens. Even DeepSeek's &lt;strong&gt;peak&lt;/strong&gt; rate is about half the standard rate of the cheapest closed flagship tier we checked that day.&lt;/p&gt;

&lt;p&gt;Cache behaviour is where DeepSeek claws back the token gap. A cache hit on Flash costs $0.003 per 1M — 2% of its cache-miss price. With half of your input served from cache, Flash off-peak can land near the cheap closed tiers' standard-rate bill.&lt;/p&gt;

&lt;h2&gt;
  
  
  Billing rules that change the bill
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The clock is a pricing tier.&lt;/strong&gt; The same request can cost 2× inside peak UTC windows on weekdays.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cache hits are nearly free, and automatic.&lt;/strong&gt; A stable system prompt or document prefix is unusually valuable here.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Old model names may silently map to Flash.&lt;/strong&gt; Budgets keyed to retired Flash-era names need a re-check on the official list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;R1 is no longer on the current official two-model list&lt;/strong&gt; we verified — do not budget from stale R1 screenshots.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent tool calls:&lt;/strong&gt; DeepSeek documents per-request charges for Search/Fetch-style tool usage (see official docs for the start date and rate). Treat that as an extra line for coding-agent workloads.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Which model to price first
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;deepseek-flash&lt;/strong&gt; — default starting point (vision, higher concurrency, cheapest cache hits).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;deepseek-v4-pro&lt;/strong&gt; — reasoning flagship; text-only, lower concurrency, higher output price. Measure before you assume it is "always worth it".&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it on your own traffic
&lt;/h2&gt;

&lt;p&gt;Paste your token mix into the free calculator: &lt;a href="https://costmytokens.com" rel="noopener noreferrer"&gt;CostMyTokens&lt;/a&gt; — official vs gateway rows, sorted by price only.&lt;/p&gt;

&lt;p&gt;Deeper pages on the same topic:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://costmytokens.com/deepseek-api-pricing/" rel="noopener noreferrer"&gt;DeepSeek API pricing (canonical)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://costmytokens.com/deepseek-v4-pro-vs-closed-models-pricing/" rel="noopener noreferrer"&gt;DeepSeek V4 Pro vs closed models&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://costmytokens.com/providers/deepseek/" rel="noopener noreferrer"&gt;DeepSeek provider page&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Source: &lt;a href="https://api-docs.deepseek.com/quick_start/pricing" rel="noopener noreferrer"&gt;DeepSeek API pricing&lt;/a&gt;, verified 2026-10-26.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>openai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
