AI CreditsAI Credits

Cost guide

How much does DeepSeek Harness cost?

DeepSeek Harness itself costs nothing: it is open source under the MIT license and free to download. It does not include any free model quota, though. Every task it runs is paid usage on your DeepSeek API balance, billed per token at DeepSeek’s API prices. A typical coding session costs a few cents on deepseek-flash and tens of cents on deepseek-v4-pro, and running it outside DeepSeek’s peak hours halves the bill.

Harness app

Free (MIT)

Included model quota

None

Flash output / 1M (off-peak)

$0.60

V4 Pro output / 1M (off-peak)

$1.98

Off-peak discount

50%

What is free and what you pay for

ItemCost
DeepSeek Harness (web UI, desktop app, source code)Free, MIT license
Model tokens (deepseek-flash, deepseek-v4-pro)Paid usage on your DeepSeek API balance
Free chat on the DeepSeek website or appSeparate product; it cannot be used inside Harness
Search and Fetch tool calls$0.75 per 1,000 successful requests each
Other model providers you add to HarnessBilled by that provider at its own prices

Harness is DeepSeek’s open-source agent harness for coding and other long-running tasks, currently in developer preview. You run it locally (for example with npx @deepseek-ai/dsh web, which opens a web UI on your machine) or install the desktop app for macOS on Apple silicon or Windows 64-bit, then add a DeepSeek API key under Settings → Models.

DeepSeek deducts usage from your topped-up balance, or from any granted balance first if you have one. There is no monthly subscription for Harness and no separate Harness fee.

DeepSeek API prices used by Harness

USD per 1M tokens, from DeepSeek’s Models & Pricing page, checked October 29, 2026. Off-peak prices are exactly half of peak prices.

Token typedeepseek-flash off-peakdeepseek-flash peakdeepseek-v4-pro off-peakdeepseek-v4-pro peak
Input, cache hit$0.003$0.006$0.022$0.044
Input, cache miss$0.15$0.30$0.66$1.32
Output$0.60$1.20$1.98$3.96

deepseek-flash runs DeepSeek-V4.1-Flash-1017 and deepseek-v4-pro runs DeepSeek-V4-Pro-0813. Both have a 1M-token context window and up to 384K output tokens, and both default to thinking mode. Flash also accepts images; V4 Pro does not. The older model names deepseek-v4-flash and deepseek-v4-flash-vision-exp still work but are served by V4.1-Flash-1017 and billed at the Flash price.

Peak and off-peak hours in your time zone

Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday, excluding Chinese public holidays. All other hours, weekends and Chinese public holidays are off-peak.

LocationPeak hours (Mon–Fri, local time)
UTC01:00–04:00 and 06:00–10:00
Japan (JST)10:00–13:00 and 15:00–19:00
Singapore, Hong Kong (UTC+8)09:00–12:00 and 14:00–18:00
Vietnam (ICT)08:00–11:00 and 13:00–17:00
India (IST)06:30–09:30 and 11:30–15:30

In much of Asia, peak hours cover the working day. Long jobs you can start in the evening, overnight or at the weekend cost half as much. The rate depends on when the request is made, so a session that runs across the boundary is billed at both rates.

Worked example: cost of one Harness coding session

An agent resends the conversation history, tool results and file contents on every turn, so input tokens grow much faster than output tokens. For the examples below, one session is 2M input tokens (for example 40 turns averaging 50K tokens of context) and 40K output tokens. DeepSeek caches repeated prompt prefixes automatically, so most input in a long session is billed at the cache-hit price. Users on r/DeepSeek report hit rates above 95% in long sessions, but the rate depends on how you work, so three cases are shown.

Model and time50% cache hits90% cache hits99% cache hits
deepseek-flash, off-peak$0.177$0.059$0.033
deepseek-flash, peak$0.354$0.119$0.066
deepseek-v4-pro, off-peak$0.76$0.25$0.14
deepseek-v4-pro, peak$1.52$0.50$0.27

Cost = cache-hit tokens × hit price + cache-miss tokens × miss price + output tokens × output price. Example, deepseek-flash at peak with 90% hits: 1.8M × $0.006 + 0.2M × $0.30 + 0.04M × $1.20 = $0.0108 + $0.06 + $0.048 = $0.119.

Monthly cost for a full-time user

At 20 sessions a day for 22 working days (440 sessions) with the session size above:

ScenarioPeak hoursOff-peak hours
deepseek-flash, 99% cache hits$28.99$14.49
deepseek-flash, 90% cache hits$52.27$26.14
deepseek-v4-pro, 99% cache hits$119.64$59.82
deepseek-v4-pro, 90% cache hits$220.70$110.35

Web search adds little: 20 searches per session is 440 × 20 = 8,800 searches a month, or $6.60 at $0.75 per 1,000. Fetch requests are billed the same way. Per-request billing for Search and Fetch calls made through Harness applies from 00:00 Beijing time on November 1, 2026 (16:00 UTC on October 31); earlier calls were free of charge.

How to make DeepSeek Harness cheaper

  1. Run long jobs off-peak — Off-peak tokens cost half. Schedule refactors, test runs and batch tasks for evenings, nights and weekends in your time zone (see the table above).
  2. Use deepseek-flash by default — Flash costs about a third of V4 Pro’s output price and under a quarter of its cache-miss input price. Switch to V4 Pro only for the steps where Flash struggles.
  3. Keep the cache warm — Cache-hit input costs 2% (Flash) to about 3% (V4 Pro) of the cache-miss price. Long sessions on the same project reuse the same prefix; changing system instructions, tools or models mid-session forces cache misses.
  4. Use non-thinking mode for simple steps — Both models default to thinking mode, which produces extra output tokens. Non-thinking mode is cheaper for quick edits and lookups.
  5. Keep tool output small — Every file, log or search result the agent reads is resent as input on later turns. Point it at specific files and trim noisy logs.
  6. Compare other providers — Harness can also use Anthropic, OpenAI, Moonshot AI (Kimi), Z.ai (GLM) and any OpenAI- or Anthropic-compatible endpoint. Compare per-token prices and cache discounts for your workload before switching.
  7. Self-host the open weights (only at scale) — DeepSeek-V4.1-Flash-1017 weights are published on Hugging Face, but it is a 552B-parameter mixture-of-experts model that needs a multi-GPU server. For one developer the API is far cheaper.

FAQ

Is DeepSeek Harness free?
The software is free and open source (MIT). Model usage is not: Harness includes no free model quota, so you need a DeepSeek API key with a funded balance, or a key from another provider you add.
Can I use my free DeepSeek chat or app access in Harness?
No. Free chat on the DeepSeek website and app is a separate product. Harness calls the DeepSeek API, which is billed per token from your API balance.
How much does one Harness session cost?
With 2M input tokens and 40K output tokens at a 90% cache-hit rate, about $0.06 off-peak or $0.12 at peak on deepseek-flash, and about $0.25 off-peak or $0.50 at peak on deepseek-v4-pro.
Why do I see different DeepSeek prices elsewhere?
The DeepSeek API platform overview page still shows an earlier price card without the peak/off-peak split: DeepSeek-V4-Flash at $0.0028 cache hit, $0.14 cache miss and $0.28 output, and DeepSeek-V4-Pro at $0.003625, $0.435 and $0.87 per 1M tokens. That card itself says to see the API docs for details. Billing follows the Models & Pricing page in the API docs, which is what this guide uses.
Does DeepSeek charge for web search in Harness?
Yes, from November 1, 2026 (Beijing time). Search and Fetch cost $0.75 per 1,000 successful requests each, on top of token usage.
Can Harness use models other than DeepSeek?
Yes. You can add Anthropic, OpenAI, Moonshot AI (Kimi), Z.ai (GLM) or a custom OpenAI- or Anthropic-compatible endpoint. Each provider bills you directly at its own prices.
Is it safe to let Harness run commands on my machine?
DeepSeek describes Harness as experimental and not security audited. It can run commands, load plugins and access files and the network, and its sandbox does not guarantee isolation. DeepSeek recommends running it in a VM or container with least privilege and keeping backups.

Last verified 2026-10-29