Deploy models
Models run as vLLM containers with an OpenAI-compatible API. Any model family vLLM supports works: Llama, Qwen, DeepSeek, Mistral, Gemma, gpt-oss, Phi, Nemotron, Kimi, GLM, MiniMax and more.
Just want a model running? The dashboard's one-click templates deploy popular models with tested settings and pick a server that fits.
byrgi deploy model --project demo --server gpu-1 --name llm \
--repo Qwen/Qwen2.5-7B-Instruct --domain llm.example.com
Inside its project network a model is reachable as http://<name>:8000/v1. Its API key is stored as the project secret MODEL_<NAME>_API_KEY. Apps deployed with --model llm get LLM_BASE_URL, LLM_API_KEY and LLM_MODEL injected.
Weight sources
| Source | How it works |
|---|---|
huggingface (default) | Pinned to a commit, every file checksum-verified. hf_endpoint points at an HF-compatible mirror. |
modelscope | Same pinning and SHA-256 checks against modelscope.cn. A token helps with rate limits. |
local | A folder in Hugging Face layout under the agent's --local-models-dir, mounted read-only. |
s3 | s3://bucket/prefix with an optional endpoint for MinIO and other S3-compatible stores. Mirrored into the node cache and re-downloaded only when the listing changes. |
Safety checks
- Licenses: non-permissive or gated licenses need an explicit
license_ack. - Fit: VRAM and disk are checked against the chosen server before anything downloads.
forceskips this check only. - Local and S3 weights skip license, VRAM and disk checks.
Running on CPU
Add --cpu (or tick Run on CPU in the dashboard) to use vllm/vllm-openai-cpu. It is slow and uses host RAM, so it is meant for tiny models and demos. CPU models start with --enforce-eager; pass --vllm-arg=-O1 to compile anyway.
Manage
byrgi models # license, weights, gateway state, requests
byrgi status <service-id>
byrgi delete <service-id> # two-step: stop on every node, then remove
Deleting a model that an app or agent uses is refused.