Free API for DeepSeek V3 & R1 models
Top 18.2% on sourcepulse
This repository provides a free, self-hostable API gateway for DeepSeek's large language models, specifically targeting developers and researchers who need to integrate advanced AI capabilities like high-speed streaming, multi-turn conversations, web search, and deep thinking into their applications. It offers a compatible interface with OpenAI's API, simplifying integration with existing tools and workflows.
How It Works
The project acts as a reverse proxy, intercepting requests and forwarding them to DeepSeek's official services using extracted user tokens. It supports various DeepSeek model configurations, including those with web search and deep thinking capabilities, and allows for the aggregation of multiple user tokens to distribute requests. The architecture prioritizes ease of deployment through Docker and other common hosting platforms, aiming for zero-configuration setup.
Quick Start & Requirements
docker run -it -d --init --name deepseek-free-api -p 8000:8000 -e TZ=Asia/Shanghai vinlic/deepseek-free-api:latest
Alternatively, you can set the DEEP_SEEK_CHAT_AUTHORIZATION
environment variable with your user token.Highlighted Details
/v1/chat/completions
API.Maintenance & Community
The project is part of a larger initiative offering free APIs for various LLMs. Specific maintainer details or community links (like Discord/Slack) are not prominently featured in the README.
Licensing & Compatibility
The project's licensing is not explicitly stated, but the README strongly emphasizes that it is for personal testing and learning only. Commercial use or providing public services is strictly prohibited and may violate DeepSeek's User Agreement, with potential legal repercussions from DeepSeek.
Limitations & Caveats
This is a reverse-engineered API and is inherently unstable; users are strongly advised to use the official DeepSeek API for reliability and to avoid potential account bans. The project explicitly disclaims responsibility for any issues arising from its use, especially for non-personal or commercial purposes.
2 months ago
1 day