FreeDeepseekAPI

skill
Security Audit
Warn
Health Warn
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Warn
  • process.env — Environment variable access in client.js
  • fs module — File system access in client.js
  • network request — Outbound network request in client.js
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

DeepSeek for free — no subscriptions, no API bills, no middlemen. Private, powerful and ready for your favorite apps and coding agents.

README.md

FreeDeepseekAPI logo

FreeDeepseekAPI

DeepSeek for free. No subscriptions. No API bills. No middlemen.

Private, powerful, and ready wherever you work.
Use it as much as you want, on your own terms.

GitHub stars GitHub forks OpenAI compatible Anthropic compatible Image input supported Self-hosted locally Node.js 18+ DeepSeek V4.1 Flash Apache License 2.0

What it is · Quick start · Integrations · API · Container · Docs

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


What it is

FreeDeepseekAPI turns an authenticated chat.deepseek.com session into local OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages endpoints.

It supports streaming, tool calls, image input, DeepThink, Web Search, sticky agent sessions, and multiple DeepSeek accounts. Everything runs locally; credentials stay in local auth files.

Quick start

npm run auth
npm start

The server starts at http://127.0.0.1:9655.

curl http://127.0.0.1:9655/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -H 'x-agent-session: worker-a' \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Integrations

Configure all supported coding agents in one command:

npm run setup:agents

DeepSeek is added as an opt-in provider/profile. Existing Claude, GPT, and other default models are not replaced.

Claude Code
Anthropic Messages
Codex
Responses + images
OpenCode
Image attachments
Hermes
Custom provider
OpenClaw
Chat Completions
Cursor
OpenAI Base URL

Configuration templates are available in integrations/. See the agent setup guide for paths and options.

API

Endpoint Protocol
POST /v1/chat/completions OpenAI Chat Completions
POST /v1/responses OpenAI Responses
POST /v1/messages Anthropic Messages
GET /v1/models Model discovery
GET /health · GET /readyz Health and readiness

Image input works through OpenAI image_url / input_image and Anthropic image blocks. PNG, JPEG, WebP, and GIF are supported as base64 data URLs or public HTTPS URLs.

Full reference: HTTP API.

Models

DeepSeek Web currently exposes one model: DeepSeek-V4.1-Flash.

Model ID Behavior
deepseek-v4-flash · deepseek-flash V4.1-Flash
…-thinking Enables DeepThink
…-search Enables Web Search

Instant, Expert, and Pro are no longer separate Web models. See model aliases and capabilities.

Multiple accounts

One DeepSeek Web account must not run two chats concurrently. For parallel clients, place 2–3 auth files in accounts/ and give every client a unique x-agent-session.

The proxy keeps each agent on a sticky account. A second chat waits for that login instead of overlapping Web requests. The standing system prompt is sent once per remote session, not on every agent turn.

Container

podman build -t free-deepseek-api -f Containerfile .
podman run --rm \
  --publish 127.0.0.1:9655:9655 \
  --secret free-deepseek-auth,type=mount,target=/run/secrets/deepseek-auth.json,mode=0400 \
  --secret free-deepseek-proxy-key,type=mount,target=/run/secrets/proxy-api-key,mode=0400 \
  --read-only \
  --cap-drop=ALL \
  --security-opt=no-new-privileges \
  free-deepseek-api

Documentation

Stars

Star history

License

Apache-2.0

Reviews (0)

No results found