[UNTESTED] [Haadesx/freebuff-gateway] 3 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,236 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:8080/v1/chat/completions
http://localhost:8080/v1/models
http://localhost:8080/v1/dashboard](http://localhost:8080/v1/dashboard
Source: https://github.com/Haadesx/freebuff-gateway
# FreeBuff Gateway
**Free OpenAI-compatible API gateway — route requests to free LLM providers with zero-code setup. Save thousands on API costs.**
[](https://python.org)
[](LICENSE)
---
## Why?
OpenAI API costs add up fast. **FreeBuff Gateway** is a transparent proxy that sits between your existing tools (anything that speaks OpenAI API) and free LLM providers:
- **Primary**: FreeBuff ([freebuff.llm.pm](https://freebuff.llm.pm)) — free MiniMax M2.7, Gemini Flash, and more
- **Fallback**: OpenRouter free tier — additional free models
- **Last resort**: Local Ollama — completely free, runs on your machine
Just point your existing code at `http://localhost:8080/v1` and keep using `gpt-4`, `gpt-3.5-turbo`, or any model name — the gateway maps it to the real free model automatically.
---
## Quick Start
```bash
# Install
pip install freebuff-gateway
# Run the setup wizard
freebuff-gateway setup
# Start the gateway
freebuff-gateway start --port 8080
```
That's it. Your existing OpenAI-compatible tools now talk to free LLMs.
---
## Features
| Feature | Description |
|---------|-------------|
| **OpenAI-compatible API** | Drop-in replacement for `api.openai.com` |
| **Streaming + Non-streaming** | Full SSE streaming support |
| **Multi-provider failover** | FreeBuff → OpenRouter → Ollama |
| **Model mapping** | `gpt-4` → MiniMax M2.7, `gpt-3.5` → MiniMax M2, etc. |
| **Rate limiting** | Per-IP and per-key sliding window |
| **Usage dashboard** | Beautiful HTML dashboard with live stats |
| **Cost tracking** | See how much you've saved vs. OpenAI pricing |
| **SQLite storage** | Lightweight, no external DB needed |
| **CLI-first** | `freebuff-gateway start`, `setup`, `status`, `config` |
---
## Usage
### Start the server
```bash
# Default port 8080
freebuff-gateway start
# Custom port
freebuff-gateway start --p