r/coolgithubprojects • u/Siyam_fahad • 1h ago
I built a self-hosted OpenAI-compatible privacy firewall & cost router that runs 3 small models + local chat LLM inside a single 12 GB RTX 3060 (Apache-2.0)
Most "LLM gateways" are just API wrappers that still send raw user PII to OpenAI. I wanted a single
docker compose upstack that fits on my 12 GB RTX 3060, pulls open weights directly from Hugging Face, and lets any OpenAI SDK app switch with one line (base_url="http://localhost:8000/v1").What runs inside the 12 GB VRAM budget (~8.4 GB used):
520-prompt live RTX 3060 benchmark (raw JSON + Grafana screenshot in repo):
Repo: https://github.com/Siyamfahad/privoid-gateway All models: https://huggingface.co/Privoid-ai
Happy to share how I trained the 34M router or how the
StreamRestorerring buffer handles split SSE chunks!