Free · Open source · OpenAI-compatible

Zero cost.

A free, OpenAI-compatible API that runs the DeepSeek and Qwen web clients server-side from your own free provider tokens. No paid keys, no quotas.

Python 3.10+ Docker · GHCR
Public instance

No server?
Use the free one.

A public, fully free DanyAPI instance is already live in production. No signup, no keys, no setup - just point your client at it.

API base URL
https://danyapi.cloudpub.ru/v1/
Landing page
https://danyapi.cloudpub.ru/

Use any OpenAI-compatible client with your DeepSeek or Qwen token as the API key (BYOK mode). The instance runs on your provider tokens with zero middleman fees.

Features

Everything the paid APIs have.
None of the bills.

A drop-in replacement for the official OpenAI API - swap base_url and your existing client code just works.

OpenAI-compatible

GET /v1/models and POST /v1/chat/completions in the official format. Change base_url, keep your client.

Streaming

Live streaming with data: chunks and data: [DONE], plus thinking traces as reasoning_content.

Thinking traces

DeepSeek and Qwen reasoning exposed to your app - streamed live, on both providers.

Tool calling

Emulated tools, tool_choice and parallel_tool_calls with finish_reason: "tool_calls" responses.

JSON mode

response_format with json_object and json_schema - structured output for your agents.

Web search

Turn on grounded, up-to-date answers with the search flag on DeepSeek models.

File attachments

Images and text files as base64 or data URIs. Vision, OCR and file analysis per model.

Models

Two free providers.
One OpenAI API.

Route by model name - deepseek-* or qwen*. Both providers optional, both can run together.

DeepSeek

  • deepseek-v4.1-flash thinking · search · files · vision
  • deepseek-v4.1-flash-thinking thinking · search · files · vision

One model, all capabilities. Web search via the search flag; reasoning via the -thinking suffix or thinking flag.

Qwen

Qwen

  • qwen3.8-max top model
  • qwen3.7-plus fast
  • fetched live from the account

Thinking and search built in. The model list is fetched from your account at startup, so new models appear automatically.

Quick start

Up and running in
under a minute.

One-command install on Windows, Linux and macOS. No Python setup gymnastics required.

All you need is a free DeepSeek or Qwen token - the script does the rest.

PowerShell
irm https://raw.githubusercontent.com/FANATFANATA/DanyAPI/prod/docs/install.ps1 | iex
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/FANATFANATA/DanyAPI/prod/docs/install.sh | bash

The script clones the repo, installs dependencies, creates .env, live-checks your provider tokens and tells you how to start the server. It even auto-updates itself on each start.

Docker · GHCR
docker run -d -p 8000:8000 \
  -e DEEPSEEK_TOKENS="token1,token2" \
  -e QWEN_TOKENS="token3" \
  ghcr.io/fanatfanata/danyapi:latest

Prebuilt image, pushed on every commit and every version tag. The native PoW solver is compiled into the image for maximum speed.

FAQ

Questions?
Answered.

Is it really free?

Yes. DanyAPI uses the internal APIs of the free web clients chat.deepseek.com and chat.qwen.ai through accounts made from your own free provider tokens. No billing, no quotas.

Do my users need an API key?

When running DanyAPI locally or in private hosting, no API key is required (pass any dummy value). When using the public hosted instance (BYOK mode), provide your DeepSeek or Qwen token as the Bearer token.

Which providers and models?

DeepSeek (deepseek-v4.1-flash, deepseek-v4.1-flash-thinking) and Qwen (qwen3.8-max, qwen3.7-plus, … - fetched live from the account). Route by model name; both can run at once.

Are there rate limits or will my token get banned?

Requests go through the free web clients at a human-like pace. Add more tokens to the pool for extra parallelism - the project stays within normal usage, but treat free tokens as best-effort.

Is there usage tracking?

GET /v1/usage returns token usage totals, per-model and per-user breakdowns. Disable with DANYAPI_USAGE_ENABLED=0.

Free models.
Your API.

Install it now, or drop a star and follow the channel.