不花钱买api需要自己部署一下项目GitHub - LLM-Red-Team/deepseek-free-api: 🚀 DeepSeek-V3 & R1大模型逆向API【特长:良心厂商】(官方贼便宜,建议直接走官方),支持高速流式输出、多轮对话,联网搜索,R1深度思考,零配置部署,多路token支持,仅供测试,如需商用请前往官方开放平台。
当然直接花钱买api或者用赠送的500w tokens也可以
具体看.env文件
# deepseek-free, model必须为deepseek_chat或deepseek-coder,去 https://platform.deepseek.com/usage或者https://github.com/LLM-Red-Team/deepseek-free-api
DEEPSEEK_FREE_URL='', //https://api.deepseek.com/chat/completions 或者自建deepseek-free服务http://your_ip/v1/chat/completions
DEEPSEEK_FREE_TOKEN=''
DEEPSEEK_FREE_MODEL='deepseek_chat'
# 默认服务 ChatGPT、Kimi、Xunfei、deepseek-free 四选一,不填则键盘交互
SERVICE_TYPE=deepseek-free
跟我上次写的网站一样,也支持docker部署,欢迎体验。
git拉地址的时候,记得换成我的仓库地址,原作者还没同意pr。

