私有 GPU 與團隊自架 AI 工作區技術棧
~$18/月 總計在內部運行整合虛擬金鑰預算管控的 ChatGPT + RAG 知識庫,確保提示詞零外洩給第三方。
- 適用團隊 / 階段
- 希望以私有 GPU 託管取代每位成員 $20-$30/月 AI 訂閱費用的工程團隊與企業
- 推薦主機規格
- GPU VPS 或專用主機(>= 24 GB 記憶體/顯示卡記憶體)+ Hetzner CX32(約 $8.50-$18/月 閘道控制平面)
- 合計最低記憶體需求
- 20.0 GB (20480 MB)
技術棧元件清單
Docker Compose 範本組合
docker-compose.yml
services:
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: litellm
volumes:
- ai_pg_data:/var/lib/postgresql/data
qdrant:
image: qdrant/qdrant:latest
restart: unless-stopped
ports:
- "6333:6333"
volumes:
- qdrant_storage:/qdrant/storage
litellm:
image: ghcr.io/berriai/litellm:main-latest
restart: unless-stopped
ports:
- "4000:4000"
environment:
LITELLM_MASTER_KEY: ${LITELLM_MASTER_KEY}
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/litellm
depends_on:
- postgres
open-webui:
image: ghcr.io/open-webui/open-webui:main
restart: unless-stopped
ports:
- "3000:8080"
environment:
OPENAI_API_BASE_URL: http://litellm:4000/v1
OPENAI_API_KEY: ${LITELLM_MASTER_KEY}
volumes:
- open_webui:/app/backend/data
depends_on:
- litellm
volumes:
ai_pg_data:
qdrant_storage:
open_webui: