T3 Code
デスクトップ・Web・モバイル対応エージェントコントロールプレーン(pingdotgg/t3code)。CLAUDE_CONFIG_DIR と環境変数で bf16.ai を安全に分離接続。
https://api.bf16.aianthropic-messages対象ユーザー
T3 Code で複数ワークツリーのコーディングエージェントをスマホ承認しながら運用する開発者。
アーキテクチャと bf16.ai 連携の利点
T3 Code (pingdotgg/t3code, 81k+ ★) is an MIT-licensed control plane that drives the coding agents installed on your machine (Claude Code, Codex, OpenCode, Pi, Cursor, and any ACP Registry agent) across desktop, web, and native iOS/Android apps with per-thread Git worktrees.
Because T3 Code natively supports multiple isolated provider instances (`CLAUDE_CONFIG_DIR` for Claude Code and per-instance **Environment variables** in Settings → Providers), you can add a dedicated **bf16.ai** Claude or Codex profile right alongside your existing subscriptions and switch or hand off threads at any time.
Pointing a T3 Code Claude instance at `ANTHROPIC_BASE_URL=https://api.bf16.ai` gives you native Anthropic Messages (`/v1/messages` + `/v1/messages/count_tokens`) with adaptive thinking, parallel tool calls, 1M context, strict ZDR, and zero false-positive refusals — even when approving runs remotely from your phone.
セットアップ
サインインしてAPIキーを自動入力 →コマンドには $BF16_API_KEY と表示されています。サインインすると自分のキーが自動入力されます。
Initialize an Isolated ~/.claude_bf16 Profile & Verify Endpoint
Creates a clean CLAUDE_CONFIG_DIR directory for your bf16.ai T3 Code Claude instance and runs a live API check against api.bf16.ai.
export BF16_API_KEY="sk-bf16-v1-..."
mkdir -p "$HOME/.claude_bf16"
curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"- 1
bf16.ai API キーを設定する
Keep your bf16.ai provider instance cleanly separated from any personal Claude or Codex subscription by creating a dedicated directory (e.g. `~/.claude_bf16`).
mkdir -p ~/.claude_bf16 - 2
bf16.ai エンドポイントと 1M 無検閲モデルを接続する
ページ上部の Base URL と API キーを設定するだけで、1M コンテキスト・ゼロ保持(ZDR)の全モデルが利用できます。
ANTHROPIC_BASE_URL=https://api.bf16.ai ANTHROPIC_AUTH_TOKEN=sk-bf16-v1-... ANTHROPIC_MODEL=zai-org/glm-5.3-uncensored ANTHROPIC_SMALL_FAST_MODEL=deepseek/deepseek-v4.1-flash-uncensored - 3
Optional: Wire Codex or OpenCode Instances in T3 Code
For Codex or OpenCode instances on the same T3 Code server, set OpenAI-compatible environment variables pointing to `https://api.bf16.ai/v1`.
OPENAI_BASE_URL=https://api.bf16.ai/v1 OPENAI_API_KEY=sk-bf16-v1-...
入力パラメータ早見表
~/.claude_bf16Keeps your bf16.ai preset isolated from your default Claude login
https://api.bf16.aiNo /v1 suffix — Claude Code appends /v1/messages automatically
sk-bf16-v1-...zai-org/glm-5.3-uncensored用途別おすすめモデル構成
設計・監査には Flagship モデル、並列サブタスクや画面認識には Flash モデルを組み合わせます。
| 役割 | モデル ID | 選定理由 | USD / 1M トークン |
|---|---|---|---|
| Primary T3 Code Claude Threads (Native /v1/messages) | zai-org/glm-5.3-uncensored | Full Anthropic Messages adaptive thinking + 1M context window for multi-file Git worktree diffs and code reviews. | $1.35 in / $0.25 cached / $4.20 out |
| High-Speed Parallel Threads & Mobile Approvals | deepseek/deepseek-v4.1-flash-uncensored | 1M context at ~155 tok/s with vision support and $0.045/1M cached prompt reads. | $0.26 in / $0.045 cached / $1.00 out |
| Zero-Markup Coding Router | bf16/auto:coding | Auto-routes threads to the highest code-adherence uncensored endpoint. | Model rate · $0 router fee |
正しく動いているか確認する方法
- テスト送信後、bf16.ai ダッシュボードのリクエストログにリアルタイムで記録されます。
- curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
本番運用の安全策と予算上限
- Follow T3 Code’s security guidance: put `ANTHROPIC_AUTH_TOKEN` in **Environment variables**, never in Launch arguments.
- If running T3 Code on a remote host via T3 Connect, configure the environment variables on the target environment first.