OpenAI-compatible HTTP API built on Python + FastAPI. Instead of the paid APIs it talks to the internal APIs of the free web clients chat.deepseek.com and chat.qwen.ai using server-side accounts created from your own free provider tokens (DEEPSEEK_TOKENS / QWEN_TOKENS). API consumers need no keys - all upstream requests are made by the configured server tokens.
Don't want to self-host? A public, fully free instance is already running in production - no signup, no keys, no limits on your side:
- API base URL:
https://danyapi.cloudpub.ru/v1/ - Landing page:
https://danyapi.cloudpub.ru/
Point any OpenAI-compatible client at https://danyapi.cloudpub.ru/v1/ with a dummy api_key and it just works. The instance is backed by the same free provider tokens described below; treat it as best-effort.
Requires Python 3.10+ (CI tests 3.10-3.14).
Windows (PowerShell):
irm https://raw.githubusercontent.com/FANATFANATA/DanyAPI/main/docs/install.ps1 | iexLinux/macOS:
curl -fsSL https://raw.githubusercontent.com/FANATFANATA/DanyAPI/main/docs/install.sh | bashDocker:
docker run -d -p 8000:8000 \
-e DEEPSEEK_TOKENS="token1,token2" \
-e QWEN_TOKENS="token3" \
ghcr.io/fanatfanata/danyapi:latest