A self-hosted, OpenAI-compatible proxy that routes across every credible free-tier LLM provider. Bring your own keys; we just point requests at whichever provider still has budget left.
Only providers with recurring free quotas, no credit card required, and a self-serve API.
:free models — DeepSeek, Kimi, Qwen, Llama, Gemma, Nemotron, Tencent HY3 …:free — perpetually, no card.:free routes — anonymous access works per-IP; a key raises the limit.openai-fast), tools supported. Anonymous tier, no key.Clone the repo and run npm run dev for development (Node 20+, dev UI on :5173).
Sign up free at each provider, paste keys into the dashboard. No credit card needed for any of them.
Set base_url to your local proxy. Use any OpenAI-compatible client — Cursor, the SDK, curl, anything.
# 1. clone and install $git clone https://github.com/MLuqmanBR/api-gateway.git $cd api-gateway $npm install # 2. set your encryption key, then: $npm run dev # 3. open http://localhost:5173 — paste provider keys, copy your unified API key # 4. call it like OpenAI $curl http://localhost:3001/v1/chat/completions \ -H "Authorization: Bearer $API_GATEWAY_KEY" \ -H "Content-Type: application/json" \ -d '{"messages":[{"role":"user","content":"hi"}]}'