Cursor, Copilot, a Claude subscription β the tool and the model come welded together. Price goes up, free tier dies, company changes its mind: you lose the whole thing and start over.
This build separates them. The agent lives on your machine and never changes. The model behind it is one line you can swap in ten seconds.
When you finish this, you own:
A coding agent running locally β reads your files, edits them, runs commands, keeps a plan. MIT licensed, built by DeepSeek, yours forever
Three separate fuel lines into it: free credits that refill daily Β· official DeepSeek at half price Β· open weights you can host yourself
The ability to swap fuel without rebuilding anything β same sessions, same plugins, same workflow
A 10-second test that tells you what any future βfree AI creditsβ site really is
That last one is the point. Free API sites die β the one below has already announced itβs changing domains. When it does, you swap a URL and keep working. The build outlives its own links. ![]()
The engine
1. Install it
node -v
npx @deepseek-ai/dsh web
Opens at http://127.0.0.1:3080.
DeepSeek Harness β official GitHub Β· MIT Β· 195k β
Fuel line 1 β free credits that refill
2. Get a key
Register: Get Free AI Credits β copy your API key.
3. Plug it in
Settings β Models β Add a Custom Provider
Provider ID: hcnsec
Display name: HCNSEC
Base URL: https://api.hcnsec.cn/v1
API protocol: openai-completions
API key: YOUR_API_KEY
Fetch available models β pick β save.
Youβre now coding on DeepSeek V4 Pro β 1M token context, the model that went GA on Aug 13. ![]()
The 6 things that quietly break this
βΆ βNo modelsβ / βno permissionβ β their own FAQ shouts it: create a NEW key and select your group on it. The default key ignores your entitlement. This is the #1 reason people say it doesnβt work.
β· Free credits refill β if you click. The panel has daily check-in enabled. Signup bonus is once. Check-in is every day, forever, and nobody reopens the page. ![]()
βΈ Read the balance. 500,000 quota = $1. So 250,000 on screen is 50Β’, not $250k.
βΉ Model IDs went UPPERCASE and re-route to the official models. A saved config that suddenly 404s β re-fetch the list.
βΊ GLM 5.3 may not be in your tier. Their announcements put it under SVIP; free users get a self-hosted qwen3.8. Donβt assume β fetch and read what your group returns.
β» Screenshots get refused on custom providers. No checkbox exists. Edit $DSH_HOME/settings.yaml:
llm-pi-ai:
providers:
hcnsec:
models:
- id: YOUR-VISION-MODEL
input: [text, image]
Fuel line 2 β official, at half price
Add platform.deepseek.com as a second provider in the same harness. Both live side by side; pick per session.
Why bother when line 1 is free? Because peak is only 01:00β04:00 and 06:00β10:00 UTC, MonβFri. Every other hour β evenings, nights, all weekend β is 50% off:
V4 Pro, off-peak cached input $0.022 / 1M
input $0.66 / 1M
output $1.98 / 1M
Two cents per million cached tokens. Run the heavy jobs off-peak and this is closer to free than most βfreeβ tiers.
Same trick on GLM-5.3: peak is 14:00β18:00 UTC+8 MonβFri only β weekends are half price all day.
Fuel line 3 β the one nobody can switch off
V4-Pro weights are open on Hugging Face. Not a demo, not a trial β the actual model. Rent a GPU by the hour, or wait for a community host. Same harness, new base URL.
And to judge every future site that appears:
Spot a relay in one command β no signup, works anywhere:
curl -s https://SITE/v1/models
If the error says "type":"new_api_error", itβs a New API panel β the open-source reseller software anyone can deploy in an hour. Thatβs exactly what the site above is. Not a scam by itself, but now you know what you signed up for instead of hoping.
Make it yours
| Trick | What it gives you |
|---|---|
dsh --profile headless "run the tests" |
One job, prints the answer, exits. Scriptable, no browser |
dsh web --port 8080 |
Move it off 3080 |
dsh web --no-open |
Running on a VPS over SSH β stops it fighting your browser |
--dump-config |
Shows the composed config before boot. Kills guesswork |
$DSH_HOME/.credentials.yaml |
Where keys really live. The UI never shows them again β back it up |
apiKeyEnv: MY_KEY |
Point at an env var instead of storing the key at all |
Provider ID is permanent β sessions and defaults reference it. Typo it and the only fix is delete + recreate.
Developer preview. The repo says breaking changes will land, and npx grabs the newest build every time. Pin a version once todayβs setup works.
The plugin world β thereβs no store, itβs a GitHub topic
github.com/topics/dsh-plugin β the whole ecosystem, ~11.6k repos
awesome-dsh-plugin β curated shortlist, start here
open-design β design plugin, ~91k β
dsh-desktop β real desktop app instead of a tab
learn-harness-engineering β 0β1 if the plugin model confuses you
Discord Β·
Site tutorial (CN)
Before you paste anything
Line 1 is a relay β a gateway forwarding your prompts to the real models. So:
Your code passes through someone elseβs server. No private repos, no client work, no secrets.
Never put a real DeepSeek / OpenAI / Anthropic key into a relay.
That site has announced a domain change for licensing compliance. Configure fuel line 2 before you need it β thatβs the entire reason itβs in this plan.
Everyone else is renting a coding tool and praying the price holds.
Youβll have the agent on disk, three ways to feed it, and a one-line test for the fourth. ![]()




!