Your DeepSeek web chat, wearing an OpenAI API costume
A zero-dependency Node proxy that turns your logged-in DeepSeek web session into local OpenAI-, Anthropic-, and Responses-compatible endpoints.
What it does
FreeDeepseekAPI runs a local server that speaks the OpenAI Chat Completions API (plus Anthropic Messages and OpenAI Responses shims) and forwards requests to DeepSeek’s web chat using your saved browser session. You log in once via a separate Chrome profile, and after that the proxy handles everything itself — no official API key, no billing. That means you can point Open WebUI, LiteLLM, Claude Code, or any OpenAI-SDK client at localhost:9655 and get DeepSeek behind it.
The interesting bit
The whole thing is glue code in the best sense: zero npm dependencies, pure Node 18+, translating three different API dialects into DeepSeek’s internal web API. It also maps model aliases to real web modes, exposes reasoning_content for thinking models, and keeps a separate DeepSeek session per user/agent id — so multiple agents don’t trip over each other’s chat history.
Key highlights
- OpenAI-compatible
POST /v1/chat/completions, AnthropicPOST /v1/messages, and OpenAI ResponsesPOST /v1/responsesshims - Streaming (SSE) and plain JSON responses, with tool calling across all three API flavors
- Per-user/agent web sessions with automatic recovery of stale sessions
- Multi-account pool and headless VPS deployment (auth file generated on a desktop machine, imported on the server)
- Runs fully local by default; network exposure requires an explicit
PROXY_API_KEY
Caveats
- The README itself warns this is experimental: DeepSeek can change its internal web API without notice, and the official paid API is recommended for production.
- It rides on your personal web account, so it’s only as free as DeepSeek’s web chat terms allow — the auth file is literally your login and must be guarded.
npm run authneeds Node 22+ (the proxy itself runs on 18+).
Verdict Great for hobbyists who want DeepSeek in Open WebUI or to experiment with Claude Code-style tooling without paying for tokens. Skip it if you need anything production-grade or contractually clean.
Frequently asked
- What is ForgetMeAI/FreeDeepseekAPI?
- A zero-dependency Node proxy that turns your logged-in DeepSeek web session into local OpenAI-, Anthropic-, and Responses-compatible endpoints.
- Is FreeDeepseekAPI open source?
- Yes — ForgetMeAI/FreeDeepseekAPI is open source, released under the MIT license.
- What language is FreeDeepseekAPI written in?
- ForgetMeAI/FreeDeepseekAPI is primarily written in JavaScript.
- How popular is FreeDeepseekAPI?
- ForgetMeAI/FreeDeepseekAPI has 502 stars on GitHub.
- Where can I find FreeDeepseekAPI?
- ForgetMeAI/FreeDeepseekAPI is on GitHub at https://github.com/ForgetMeAI/FreeDeepseekAPI.