跳至主要內容
所有用戶端
Native Desktop & Mobile Client1M Context · ZDR

Chatbox

Lightweight native AI client for macOS, Windows, Linux, iOS, and Android connected directly via Custom OpenAI Provider.

基礎網址
https://api.bf16.ai/v1
協定
openai-completions

適用對象
Users who want a clean, zero-Docker native desktop and mobile app with local SQLite history and direct BYOK connection to bf16.ai.

架構原理與接入優勢

Chatbox native desktop/mobile app connected via Custom OpenAI-Compatible Provider to https://api.bf16.ai/v1
Chatbox sends direct HTTPS requests from your desktop or phone to https://api.bf16.ai/v1 with CORS and Bearer auth enabled.

Chatbox (`chatboxai.app`) is a lightweight native client across macOS, Windows, Linux, iOS, and Android that stores conversation threads locally on your device and connects directly to any OpenAI-compatible API.

Adding bf16.ai as a Custom Provider in Chatbox takes under 30 seconds: click **Fetch** to pull all live uncensored models directly from `GET https://api.bf16.ai/v1/models`, including 1M context windows and Vision support.

指令預設顯示 $BF16_API_KEY。登入並建立金鑰後會自動填入你的真實金鑰。

一鍵快速配置

One-Command API Key Verification Before Pasting into Chatbox

Tests your key against https://api.bf16.ai/v1/models so you know Fetch in Chatbox will succeed.

export BF16_API_KEY="sk-bf16-v1-..."
curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
  1. 1

    Add Custom Provider in Chatbox Settings

    Open Chatbox → Settings → Model Provider → click "+ Add" at the bottom. Set API Mode to "OpenAI API Compatible", API Host to https://api.bf16.ai/v1, API Path to /chat/completions, and paste your API key.

    API Host: https://api.bf16.ai/v1
    API Path: /chat/completions
    API Key:  $BF16_API_KEY
  2. 2

    Click Fetch & Enable Capabilities

    Click "Fetch" under Models, add all active bf16.ai models, and enable Vision + Reasoning + Tool Use badges next to each model.

Chatbox — Settings → Model Provider → + Add Custom Provider
介面與設定檔欄位對照
Settings / Model Provider / API Mode: OpenAI API Compatible

關鍵參數核對清單

Name
bf16.ai
API Mode
OpenAI API Compatible
API Host
https://api.bf16.ai/v1

Chatbox shows preview: https://api.bf16.ai/v1/chat/completions

API Key
sk-bf16-v1-••••••••••••
Model → Fetch
Click "+ Fetch" to import GLM-5.3, DeepSeek V4.1 Flash, and Kimi K3.1 Pro
In each Chatbox thread’s settings, you can set Context Message Count Limit to "No Limit" to utilize the full 1M context window.

推薦模型分層配置

架構規劃使用旗艦模型,高頻子任務與螢幕截圖使用 Flash 模型以節省開銷。

工作流角色模型 ID選型說明USD / 1M Tokens
Fast Everyday Chat & Visiondeepseek/deepseek-v4.1-flash-uncensoredInstant mobile/desktop streaming + image attachment support.$0.26 in / $0.045 cached / $1.00 out
Deep Coding & Technical Problem Solvingzai-org/glm-5.3-uncensoredHigh reasoning accuracy on long prompts.$1.35 in / $0.25 cached / $4.20 out

如何確認設定成功

  • Fetch lists all active bf16.ai models immediately.
  • Test message streams cleanly and logs in bf16.ai/dashboard/logs.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

生產環境護欄與預算隔離

  • When syncing Chatbox across desktop and mobile, create separate keys (`chatbox-mac`, `chatbox-iphone`) in /dashboard/keys so you can revoke a lost phone independently.

常見錯誤

現象
404 Not Found on Chatbox requests.
原因
API Host omitted `/v1` while API Path was set to `/chat/completions`.
解法
Set API Host to https://api.bf16.ai/v1 and API Path to /chat/completions.