Blog / Claude Code
Claude Code with DeepSeek V4.1 Flash, free: dl claude
dl claude starts your own Claude Code on dl's free tier, served by DeepSeek V4.1 Flash, with a short-lived key and no changes to ~/.claude.

Run dl claude instead of claude. dl starts the Claude Code you already have, pointed at dl's free tier, and every request is served by DeepSeek V4.1 Flash. Your ~/.claude folder is not read or changed, and the free key only works while that run lasts.
Last checked: 19 November 2026, against dl 0.41.0 and the installer README.
How it works
dl claude does four things, in this order:
- Signs you in to the free tier. It is the same GitHub sign-in that
dland Autopilot use. If you are not signed in, it runs that sign-in first, which also makes the free tier Autopilot's provider./providerindlchanges it. - Finds Claude Code. dl never installs Claude Code. If
claudeis not on your PATH, it prints the official install command and stops. - Gets a short-lived key. The key lasts 15 minutes. dl refreshes it while Claude Code runs and ends it when Claude Code exits.
- Starts Claude Code with that key. Every argument after
claudegoes to Claude Code unchanged, and Claude Code's exit code becomes dl's.
There is no local proxy. Claude Code talks straight to the free tier's Anthropic-compatible endpoint. dl only sets environment variables for that one process.
| What dl sets for the run | Value |
|---|---|
ANTHROPIC_BASE_URL |
the free tier's Anthropic-compatible endpoint |
ANTHROPIC_AUTH_TOKEN |
the 15-minute key |
ANTHROPIC_MODEL, ANTHROPIC_SMALL_FAST_MODEL and the Opus, Sonnet and Haiku defaults |
deepseek/deepseek-v4.1-flash-1017 |
CLAUDE_CODE_SUBAGENT_MODEL |
the same DeepSeek model |
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC |
1 |
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS |
1 |
The key goes into Claude Code's environment only. It never appears on a command line and is never printed. The full list of variables is in src/laptop/claude.ts.
Install and run
curl -fsSL https://dl.new | sh # install dl
dl claude # Claude Code on the free tier
If you already use Node, npm install -g directionallylocal installs the same dl. You need dl 0.40.0 or later for dl claude. dl update brings an older install up to date.
If Claude Code is missing, dl prints the official command:
curl -fsSL https://claude.ai/install.sh | bash
Arguments pass straight through:
dl claude -p "fix the failing test" # one-shot, non-interactive
dl claude -c # continue the last conversation
dl claude --resume # pick a conversation to resume
Your settings stay yours
Nothing under ~/.claude is read or written. Your CLAUDE.md files, MCP servers, hooks, skills and permissions still load, because Claude Code reads them as usual.
If your shell exports ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL or similar variables, dl leaves them out of Claude Code's environment for that run and tells you which ones. Your shell keeps them.
One case needs a change from you. If your ~/.claude/settings.json sets those variables in its env block, or sets apiKeyHelper, Claude Code gives them priority. Remove them to use dl claude.
What works
dl's own end-to-end test with real Claude Code passed on text, tool use, a subagent, continue and thinking, according to the installer roadmap.
| Feature | Works? | Notes |
|---|---|---|
| Chat and streaming | Yes | |
| Tools (read, edit, bash, search) | Yes | Tool calls and results map to DeepSeek's format |
| Subagents | Yes | They also run on DeepSeek |
| Thinking | Yes | Reasoning comes back as thinking blocks when Claude Code asks for it |
-c and --resume |
Yes | Your conversations stay in Claude Code's own history |
-p one-shot runs |
Yes | |
| Images and PDFs | No | DeepSeek can't read them. Claude Code is told they were left out |
| Web search tool | No | Anthropic's server tools are not available |
| Prompt caching controls | Ignored | The provider caches on its own |
The request mapping is described in installer#281.
Limits to know about
One model. Every request goes to DeepSeek V4.1 Flash, whatever model Claude Code names. Switching with /model changes the name Claude Code sends, not the model that answers.
Claude Code may warn about the model name. Claude Code does not know deepseek/deepseek-v4.1-flash-1017. Its model configuration docs say an unrecognised ID is sent as written, and that the context window it assumes for such an ID may be wrong. Requests still go through, but the context size Claude Code shows may be off.
Free tokens only work through dl. The key exists only while dl claude runs. Claude Code started any other way uses your own Anthropic account, as before.
Half the free allowance. Claude Code and OpenCode get half the free allowance; Autopilot gets it all. When Claude Code's half runs out, type dl to keep going in Autopilot. /usage in dl shows where you stand.
Weekly allowance
Sign in with GitHub and you get free DeepSeek V4.1 Flash tokens every week. How many depends on your GitHub account. The week resets every Monday at 00:00 UTC. Need more? Type /request in dl and tell us what you're building.
What dl sends
dl sends a session start (repeated every few hours in long sessions) and a session end, with counts only, plus a key refresh every few minutes. Prompts and code go to the model. They never go into dl's logs. The privacy policy has the details.
When to use dl claude, and when to use dl
Use dl claude when you like Claude Code's interface and want to keep your setup. Use plain dl when you want Autopilot's own tools, or other models on your own key. dl starts Autopilot, our open-source coding agent. If Claude Code hits a usage limit mid-task, dl --from-claude-code continues that conversation in Autopilot.
Install dl with curl -fsSL https://dl.new | sh, then run dl claude.
FAQs
Does dl claude change my Claude Code settings?
No. dl does not read or write anything under ~/.claude. It sets environment variables for one Claude Code process, and only for that run.
Which model answers my requests?
DeepSeek V4.1 Flash, for every request and every subagent. The model name Claude Code shows does not change that.
Can I use my Anthropic subscription and dl claude on the same machine?
Yes. Run claude for your Anthropic account and dl claude for the free tier. The free key never reaches a Claude Code that dl didn't start.
Why can't Claude Code read my screenshot?
DeepSeek V4.1 Flash on the free tier reads text only. dl tells Claude Code the image was left out. For images, use dl with your own key and a model that reads images.
When does my allowance come back?
Every Monday at 00:00 UTC.