Fly143/deepseek-free-api
将 DeepSeek 网页端免费对话(chat.deepseek.com)转换为 OpenAI + Anthropic 兼容 API(Chat Completions / Responses / Anthropic Messages)支持工具调用(Function Calling)、动态模型发现、PoW 自动求解、Token 自动刷新。
What it solves
This project acts as a bridge that turns the free web-based DeepSeek chat interface into a standard, OpenAI-compatible API. It allows you to use DeepSeek's models in your own applications or tools that expect an OpenAI-like connection, without needing a paid API subscription.
How it works
It runs a local server (built with FastAPI) that mimics a real web browser's network behavior to communicate with DeepSeek's website. It handles the necessary security checks—such as solving "Proof of Work" (PoW) challenges—automatically in the background. You can manage your account credentials via a built-in web dashboard, where you log in or import your browser session data to keep the connection active.
Who it’s for
This tool is for developers and power users who want to integrate DeepSeek's free chat capabilities into local AI agents, chat interfaces, or automation workflows that support OpenAI or Anthropic API formats.
Highlights
- OpenAI Compatibility: Supports standard
/v1/chat/completionsand the newer/v1/responsesendpoints. - Full Feature Support: Includes support for DeepSeek's "DeepThink" reasoning, image understanding (Vision), file uploads, and web searching.
- Dynamic Model Discovery: Automatically detects available models and their capabilities from DeepSeek's servers.
- No Browser Required: Uses efficient HTTP requests with simulated browser fingerprints instead of heavy browser automation tools.
- Built-in Management: Includes a web-based dashboard for easy login, credential management, and status monitoring.
Related
- Project
- Project
- Project
- Project
- Project