Skip to content

About

A free, open-source tool that lets you use DeepSeek in your favorite apps and coding tools without paying for API access or subscriptions.

Topics

Resources

Security policy

Stars

41 stars

Watchers

1 watching

Forks

Repository files navigation

FreeDeepseekAPI

FreeDeepseekAPI

Use your free DeepSeek account as an API

Apache License 2.0 Node.js 18 plus No npm dependencies OpenAI compatible

English · Русский · 简体中文

FreeDeepseekAPI runs on your computer and turns your free chat.deepseek.com account into a local API. Any app that works with OpenAI or Anthropic can talk to DeepSeek through it: Open WebUI, Claude Code, Codex, Cursor and others. You don't need a paid API key.

Get started

You need Node.js 18 or newer, Git, Google Chrome and a DeepSeek account.

git clone --branch stable https://github.com/dekrezz/FreeDeepseekAPI.git
cd FreeDeepseekAPI
npm run auth
npm run dashboard
  1. npm run auth opens Chrome. Pick Sign in with Chrome, log in to DeepSeek, send a short message like ok, then go back to the terminal.
  2. npm run dashboard starts the proxy and opens the dashboard. You can chat right there.

Connect an app

Put this in your app's settings:

Setting Value
Base URL http://127.0.0.1:9655/v1
API key any text
Model deepseek-v4-flash

Open WebUI in Docker needs http://host.docker.internal:9655/v1 instead.

Set up coding agents

Keep the proxy running and run:

npm run setup:agents

It adds DeepSeek to Claude Code, Codex, OpenCode, Hermes, OpenClaw and Cursor as an extra option. Your current setup stays as it is, and you can skip this step in the wizard. The same thing is in the dashboard: Settings → Agents.

FAQ

Is it really free?

Yes. It uses the same free account you use on the DeepSeek site.

Is this an official DeepSeek project?

No. It talks to DeepSeek's private web chat, which can change at any time. When that happens, the project gets updated to follow.

Can my account get banned?

It can happen. DeepSeek can block a login for days if two chats send on it at the same time, so the proxy runs one chat per login and makes the next one wait. That lowers the risk but can't remove it. DeepSeek decides what it allows.

Where do my login and messages go?

Your login stays on your computer in deepseek-auth.json. Your messages go to DeepSeek, the same as in the normal chat.

Which model should I pick?

There is one model with two switches:

Model What it does
deepseek-v4-flash Answers with web search
deepseek-v4-flash-thinking Thinks first, then answers

Add -nosearch to either one to turn web search off.

Can I use several accounts?

Yes. Add them in the dashboard under Settings → Accounts. Running two agents at once needs two logins.

It stopped working. What do I do?

Try these in order:

  1. Update: Settings → Updates in the dashboard.
  2. Log in again: npm run auth.
  3. Check your setup: npm run doctor.

If that doesn't help, DeepSeek has probably changed something. Open an issue.

How do I update?

Open Settings → Updates in the dashboard and press Check for updates. stable gets a release once it has been checked. latest gets every release first.

Can other devices use it?

By default only your computer can reach it. To share it, set PROXY_API_KEY and read Running it safely first.

Does it work on Windows, a server or in a container?

Yes: Windows, VPS, Podman.

More

License

Apache-2.0. Copyright 2026 dekrezz.

About

A free, open-source tool that lets you use DeepSeek in your favorite apps and coding tools without paying for API access or subscriptions.

Topics

Resources

Security policy

Stars

41 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages