Free Claude Code Rival From DeepSeek

Video: DeepSeek's Free Claude Code Rival: What It Really Costs
Key takeaways
- DeepSeek released an open-source agent harness and a super-agent prototype under deepseek-ai on GitHub, positioned as a free alternative to Claude Code.
- The harness is the orchestration layer around a model; the model is the expensive fuel, so a free harness does not mean free coding.
- DeepSeek raised API prices by up to 1,100% roughly three months before shipping the free agent software.
- Claude Code costs are metered against a usage bucket on Pro and Max, while Ultra has a weekly cap with no five-hour limit for verified accounts.
- Running the same model in a different harness can change token spend per task, a gap often called the harness tax.
A free Claude Code alternative exists: DeepSeek open-sourced an agent harness and a super-agent prototype, so the orchestration software costs nothing. The catch is that the model behind it is billed per token, and DeepSeek raised its API prices by up to 1,100% about three months before releasing the agent. Free refers to the car, not the fuel.
What DeepSeek actually shipped as a free Claude Code rival
DeepSeek published two repositories — deepseek-harness and dsh-superagent-prototype — plus a landing page at deepseek.com/harness, and the framing is explicitly competitive with Anthropic's terminal coding agent. The harness is the part that reads files, plans steps, calls tools, runs commands and decides when a task is done; the super-agent prototype is a more autonomous layer that chains those steps with less human steering. Both are open source, which means you can read the loop, fork it, self-host it and point it at any compatible model endpoint, including Anthropic's own API. That last detail matters: an open harness is not locked to DeepSeek models, so the "free" part is genuinely portable. What you get for zero dollars is the orchestration code, the tool definitions and the prompt scaffolding that turn a chat model into something that edits a repository.
Harness versus model: where the money actually goes
The harness is the car and the model is the engine, and only one of them is free. Every agent loop spends tokens on system prompts, file contents pulled into context, tool call outputs, retries after failed edits and summarization of long histories. A coding task that looks like one request can easily consume tens of thousands of input tokens because the agent re-reads files and re-sends context on each turn. DeepSeek's own API pricing page lists separate input and output rates, with cache hits discounted and output charged at a higher rate than input, so the cost of a task depends far more on how many turns the loop takes than on the price of a single call. Self-hosting the harness removes a subscription but leaves you with a metered API bill, a local GPU bill, or both.
The price DeepSeek does not advertise
DeepSeek's API rates rose sharply earlier in the year, with increases reported at up to 1,100% on some tiers, and the free agent arrived after that change. The sequence is the classic razors-and-blades model: give away the tool that creates demand and charge for the consumable that satisfies it. For a developer, the practical consequence is that a "free Claude Code" setup can be cheaper than a Claude subscription for light use and more expensive for heavy use. Three variables decide which side you land on:
- Turns per task — a harness that loops five times instead of fifteen can cut spend by two thirds on the same work.
- Context discipline — aggressive file pruning and cache-friendly prompt ordering reduce input tokens on every turn.
- Output volume — generated code and diffs are billed at the output rate, which is the priciest line on any provider's sheet.
What Claude Code costs and how Anthropic meters it
Claude Code is sold through subscription plans plus metered API usage, and the plans differ in ways that matter for agent work. Pro and Max refill their usage limits every five hours; Ultra has a weekly cap but, for verified accounts, no five-hour limit, according to Anthropic's pricing page. That structure rewards bursty work on Pro and Max and sustained all-day agent runs on Ultra. On the API side, Claude Code usage is billed per token like any other client, and Anthropic publishes a cost guide at code.claude.com/docs/en/costs. The honest comparison is not "free versus paid" but "metered tokens versus a flat bucket": a subscription caps your worst month, while pay-per-token caps nothing.
The harness tax when two agents run the same model
Pointing two different harnesses at the same model produces different bills for the same task, and that gap is the harness tax. Published comparisons of DeepSeek Harness and Claude Code have focused on exactly this: tool-call design, how much of the repository gets injected into context, how failures are retried and how aggressively history is compacted. A lean harness that asks for one file at a time and stops early can beat a thorough one that maps the whole project before editing. The reverse is also true — a harness that under-reads context generates broken patches that cost more in retries. Benchmark scores rarely capture this, because they measure task success, not tokens burned per success. When you evaluate a free coding agent, log tokens per completed task, not per request.
Who should use the free agent and who should stay on Claude Code
The right choice depends on your workload shape rather than on ideology. Consider the free DeepSeek harness if you want to inspect and modify the agent loop, if you already pay for model access you can reuse, if your tasks are short and well-scoped, or if you need to run agents in an environment where a hosted subscription is impractical. Stay with Claude Code if you value a maintained product with documented cost controls, if your work involves long multi-hour sessions where a flat plan beats metered billing, or if you need the model and the harness tuned together by the same vendor. A hybrid is common and sensible: prototype on the free harness, then move recurring heavy jobs to whichever option has the lower cost per finished task.
The bottom line on free Claude Code
DeepSeek's open-source harness and super-agent prototype are a real free alternative to Claude Code's software layer, released after API prices rose by up to 1,100%, so the savings depend entirely on your token consumption. Budget the model, not the tool: measure tokens per completed task, watch output-heavy operations and compare that number against a subscription bucket that refills every five hours on Pro and Max. The free part is the orchestration; the expensive part is the thinking. This breakdown was produced by the builder community, which covers AI coding economics with vendor pricing pages as sources.
Source: DeepSeek's Free Claude Code Rival: What It Really Costs · Markdown version
Questions & answers
Is DeepSeek's coding agent really free?
The software is free and open source: the harness and super-agent prototype are published on GitHub and can be self-hosted. The model behind them is billed per token through an API or costs you local hardware, so light use can be very cheap while heavy agent loops still generate a real bill.
Can I run the DeepSeek harness with Claude models?
An open harness is not tied to one provider, so you can point it at any compatible chat completions endpoint, including Anthropic's API. In that setup you keep the free orchestration layer but pay Anthropic's per-token rates, which is often the cheapest way to test whether the harness suits your workflow.
How does Claude Code billing differ from pay-per-token?
Claude Code is available through subscription plans and through metered API usage. Pro and Max plans refill limits every five hours, while Ultra has a weekly cap without a five-hour limit for verified accounts, so a flat plan protects you from a runaway agent loop in a way that raw token billing does not.
Why do two agents on the same model cost different amounts?
Each harness decides how many turns to take, how much of the repository to load into context, when to retry and how to compact history. Those choices change input and output token counts for identical tasks, which is why tokens per completed task is a better comparison metric than price per single request.