LobeChat
Modern open-source AI workspace supporting both direct browser BYOK requests and Docker OPENAI_MODEL_LIST deployments.
https://api.bf16.ai/v1openai-completions대상 사용자
Developers running LobeChat Desktop, self-hosted Docker LobeChat, or client-side browser mode who want 1M context, Vision, and reasoning display.
아키텍처 및 bf16.ai 연동 구조
LobeChat (`lobehub/lobe-chat`) offers a polished agent workspace with artifact rendering, multimodal attachments, and two connection modes: **Client-Side Browser Request Mode** (direct browser fetch to `https://api.bf16.ai/v1` — supported natively by bf16.ai’s CORS headers) and **Self-Hosted Docker Server Mode**.
For Docker deployments, LobeChat’s `OPENAI_MODEL_LIST` syntax (`<1048576:vision:fc:reasoning>`) lets you pre-register every bf16.ai model with exact 1M context, function-calling, vision, and reasoning badges out of the box.
명령어에는 $BF16_API_KEY가 표시됩니다. 로그인하면 내 실제 키가 자동으로 채워집니다.
One-Command LobeChat Docker Launch Pre-Configured for bf16.ai
Verifies your key and starts LobeChat on http://127.0.0.1:3210 with all three flagship/flash uncensored models pre-tagged for 1M context, Vision, Function Calling, and Reasoning.
export BF16_API_KEY="sk-bf16-v1-..."
curl -fsS "https://api.bf16.ai/v1/models" -H "Authorization: Bearer $BF16_API_KEY" >/dev/null && \
docker run -d --name lobe-chat --restart unless-stopped \
-p 3210:3210 \
-e OPENAI_API_KEY="$BF16_API_KEY" \
-e OPENAI_PROXY_URL="https://api.bf16.ai/v1" \
-e 'OPENAI_MODEL_LIST=-all,+deepseek/deepseek-v4.1-flash-uncensored=DeepSeek V4.1 Flash (Uncensored)<1048576:vision:fc:reasoning>,+zai-org/glm-5.3-uncensored=GLM-5.3 Flagship (Uncensored)<1048576:fc:reasoning>,+moonshotai/kimi-k3.1-pro-uncensored=Kimi K3.1 Pro 2.8T (Uncensored)<1048576:vision:fc:reasoning>' \
lobehub/lobe-chat:latest && \
echo "LobeChat live at http://127.0.0.1:3210"- 1
Configure AI Service Provider in LobeChat Settings
Open LobeChat Settings → AI Service Provider → Add Custom Provider (OpenAI format) or configure OpenAI: set API Proxy URL to https://api.bf16.ai/v1 and paste your key.
API Proxy URL: https://api.bf16.ai/v1 API Key: $BF16_API_KEY - 2
Switch Connectivity Check Model & Fetch List
Change the "Connectivity Check" test model from gpt-4o-mini to deepseek/deepseek-v4.1-flash-uncensored, click Check, and fetch the model list.
핵심 설정값 대조표
https://api.bf16.ai/v1sk-bf16-v1-••••••••••••Supported (api.bf16.ai/v1 allows CORS preflight)<1048576:vision:fc:reasoning>역할별 권장 모델 구성
복잡한 설계는 플래그십 모델로, 병렬 서브에이전트와 스크린샷은 Flash 모델로 분리하세요.
| 역할 | 모델 ID | 권장 사유 | USD / 1M 토큰 |
|---|---|---|---|
| Everyday Multimodal Workspace | deepseek/deepseek-v4.1-flash-uncensored | Fast Artifact rendering, Vision uploads, and 1M context. | $0.26 in / $0.045 cached / $1.00 out |
| Coding & Complex Artifacts | zai-org/glm-5.3-uncensored | Clean React/HTML/Mermaid artifact generation and tool use. | $1.35 in / $0.25 cached / $4.20 out |
제대로 작동하는지 확인하는 방법
- Connectivity Check passes with green checkmark.
- Reasoning traces expand cleanly above assistant messages.
- curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
운영 가드레일 및 예산 격리
- Set `ACCESS_CODE` on public Docker LobeChat servers so unauthenticated visitors cannot invoke your `OPENAI_API_KEY`.