byrgi
Open sourceStar us on GitHub

Your AI stack,
on your servers

Deploy open models, an OpenAI-compatible gateway, agents and MCP tools on machines you control. No data leaves your network.

$byrgi deploy model --repo Qwen/Qwen3-8BGet started
Deploy model
Deployments i
4models serving
182 tok/s
ReadyDownloadinggpu-1 · 2× L40S
Deploying llama-3.1-8b…

Serve the open-weight models you already trust

  • Llama
  • Qwen
  • DeepSeek
  • Mistral
  • Gemma
  • gpt-oss
  • Phi
  • Nemotron
  • Kimi
  • GLM
  • MiniMax
Served by vLLM Hugging Face ModelScope S3 / MinIO Local disk

One-click deploy

Popular models, one click away

Start from a template with settings that are known to work. Pick a project and a server, click Deploy, and the model is live in the gateway once its weights land.

  • The best-fitting server is picked for you, with a warning when it looks too small
  • License and VRAM checks still run, exactly like a hand-written deploy
  • No GPU? 18 templates run on CPU, PII redaction included
  • Customize opens the full form prefilled when you need more control
  • Templates are only shortcuts: any other model or image deploys from the regular form
Deploy · Quick start 37 templates
  • SmolLM2 360M

    No GPU

    Any CPU · ~2 GB RAM
  • Qwen3 4B

    No GPU

    8+ cores · ~12 GB RAM
  • Distil PII · Llama 1B

    No GPU

    PII redaction
  • Qwen3 8B

    1 GPU · 24 GB

    L4, A10, 4090
  • gpt-oss 20B

    1 GPU · 24 GB

    24 GB+ GPU
  • Gemma 3 12B

    1 GPU · 48 GB

    L40S, A6000

Product

Vercel, Netlify, Coolify, Render, Railway, Heroku, Fly.io meets an AI gateway, for your own GPUs

One control plane for the servers, models, keys and agents your team relies on.

Zero-downtime model releases

Every deploy is blue/green. The old release keeps serving until the new one answers a real completion request.

Per-project API keys

Keys only reach their project's models, with requests/min, tokens/min, budgets and expiry enforced at the gateway.

Agents with allowlisted tools

Run Docker Agent services wired to your models and an MCP gateway that only exposes the tools you approve.

Nodes dial out, never in

Servers join over mutual-TLS gRPC. No inbound SSH, secrets encrypted with AES-256-GCM and resolved at send time.

Usage you can answer for

Requests, tokens and failures per day, model and key. Every MCP tool call lands in the audit log.

Hosted models in the same place

Put OpenAI, Anthropic, Gemini, Mistral or any OpenAI-compatible API behind the same keys and limits.

Gateway

OpenAI-compatible from the first deploy

Every running model is registered in the gateway as project/model. Point any OpenAI SDK at it and swap models without touching your code.

  • Keys are shown once and stored as SHA-256 hashes
  • 429s when a key passes its rate limit or budget
  • Works with LangChain, LlamaIndex, Open WebUI and anything that speaks /v1
Gateway docs
client.py
from openai import OpenAI

client = OpenAI(
    base_url="https://ai.acme.internal/v1",
    api_key="sk-byrgi-…",
)

reply = client.chat.completions.create(
    model="support/qwen-7b",
    messages=[{"role": "user", "content": "Hello"}],
)
# runs on your GPU, metered per key

How it works

From bare metal to a working endpoint

  1. 01

    Start the control plane

    One script brings up the API, dashboard, Postgres and gateway with generated credentials.

    $ scripts/start.sh
  2. 02

    Add a server

    Run the printed install command on any Linux box. It joins over mTLS and reports its GPUs.

    $ byrgi servers add gpu-1
  3. 03

    Deploy and call

    Click Deploy on a template or pick any model, mint a key and call it like OpenAI. Logs, usage and limits are already on.

    $ byrgi keys demo create backend

Own the whole stack

Free to self-host. Bring a GPU, or start on CPU with a tiny model to try it out.