본문으로 건너뛰기
모든 클라이언트
Multi-Mode VS Code Agent · Profiles1M Context · ZDR

Roo Code

Configure named Configuration Profiles in Roo Code so Architect, Code, Debug, and Boomerang subtasks each run on the optimal uncensored model.

기본 URL
https://api.bf16.ai/v1
프로토콜
openai-completions

대상 사용자
VS Code developers using Roo Code’s Architect, Code, Ask, Debug, and Orchestrator modes who want uninterrupted 1M-context execution.

아키텍처 및 bf16.ai 연동 구조

Roo Code Configuration Profiles routing Architect mode to GLM-5.3 / Kimi K3.1 Pro and Code/Boomerang subtasks to DeepSeek V4.1 Flash on api.bf16.ai/v1
Roo Code lets you bind separate Configuration Profiles per mode — keeping heavy reasoning on Architect while Boomerang subtasks stream rapidly on Flash.

Roo Code extends VS Code autonomous coding with dedicated **Architect**, **Code**, **Ask**, **Debug**, and **Orchestrator (Boomerang)** modes, each bindable to its own Configuration Profile.

Because bf16.ai publishes OpenRouter-style capability metadata (`context_length: 1048576`, `architecture.input_modalities`, `supported_parameters`) directly on `GET /v1/models`, Roo Code’s model picker automatically detects 1M context, native tool calling, and Vision support.

명령어에는 $BF16_API_KEY가 표시됩니다. 로그인하면 내 실제 키가 자동으로 채워집니다.

원커맨드 빠른 설정

One-Command Roo Code Importable Profile Generator

Generates a ready-to-import `bf16-roo-profiles.json` file in your current folder (chmod 600) and verifies your bf16.ai key.

export BF16_API_KEY="sk-bf16-v1-..."
umask 077 && cat <<EOF > ./bf16-roo-profiles.json
{
  "providerProfiles": {
    "currentApiConfigName": "bf16-glm-flagship",
    "apiConfigs": {
      "bf16-glm-flagship": {
        "apiProvider": "openai",
        "openAiBaseUrl": "https://api.bf16.ai/v1",
        "openAiApiKey": "$BF16_API_KEY",
        "openAiModelId": "zai-org/glm-5.3-uncensored",
        "openAiCustomModelInfo": { "contextWindow": 1048576, "maxTokens": 65536, "supportsImages": false, "supportsPromptCache": true }
      },
      "bf16-deepseek-flash": {
        "apiProvider": "openai",
        "openAiBaseUrl": "https://api.bf16.ai/v1",
        "openAiApiKey": "$BF16_API_KEY",
        "openAiModelId": "deepseek/deepseek-v4.1-flash-uncensored",
        "openAiCustomModelInfo": { "contextWindow": 1048576, "maxTokens": 65536, "supportsImages": true, "supportsPromptCache": true }
      }
    }
  }
}
EOF
curl -fsS "https://api.bf16.ai/v1/models" -H "Authorization: Bearer $BF16_API_KEY" >/dev/null && echo "Wrote ./bf16-roo-profiles.json"
  1. 1

    Create Two Profiles in Roo Code → Settings → Providers

    Add Profile "bf16-flagship" (zai-org/glm-5.3-uncensored) and Profile "bf16-flash" (deepseek/deepseek-v4.1-flash-uncensored) using API Provider "OpenAI Compatible" and Base URL https://api.bf16.ai/v1.

    OpenAI Base URL: https://api.bf16.ai/v1
    API Key:         $BF16_API_KEY
    Architect Model: zai-org/glm-5.3-uncensored
    Code Model:      deepseek/deepseek-v4.1-flash-uncensored
  2. 2

    Bind Profiles to Modes in Roo Code → Prompts / Modes

    Assign bf16-flagship to Architect & Debug, and assign bf16-flash to Code & Ask so Orchestrator tasks automatically switch models per phase.

VS Code — Roo Code → Providers → Configuration Profile
설정 필드 인스펙터
Roo Code Settings / Providers / + New Profile (bf16-flagship & bf16-flash)

핵심 설정값 대조표

API Provider
OpenAI Compatible
OpenAI Base URL
https://api.bf16.ai/v1
API Key
sk-bf16-v1-••••••••••••
Profile 1 (Architect / Debug)
zai-org/glm-5.3-uncensored (or moonshotai/kimi-k3.1-pro-uncensored)
Profile 2 (Code / Subtasks)
deepseek/deepseek-v4.1-flash-uncensored
You can export and import Roo Code settings JSON across machines; replace only the API Key per workstation.

역할별 권장 모델 구성

복잡한 설계는 플래그십 모델로, 병렬 서브에이전트와 스크린샷은 Flash 모델로 분리하세요.

역할모델 ID권장 사유USD / 1M 토큰
Architect & Debug Modeszai-org/glm-5.3-uncensoredDeep root-cause diagnosis and cross-module design without false refusals.$1.35 in / $0.25 cached / $4.20 out
Code & Boomerang Subtasksdeepseek/deepseek-v4.1-flash-uncensoredFast diff application, Vision browser checks, and low-cost subtask fan-out.$0.26 in / $0.045 cached / $1.00 out

제대로 작동하는지 확인하는 방법

  • Model picker auto-populates all active bf16.ai models from GET /v1/models.
  • Run an Orchestrator task and verify sub-dollar cached prefix hits in bf16.ai/dashboard/logs.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

운영 가드레일 및 예산 격리

  • When using Orchestrator mode with parallel subtasks, ensure your account is on Tier L1 ($10+ lifetime top-up, 10 concurrent) so parallel subtask turns never queue on 429.

자주 발생하는 오류

증상
Diff apply fails on large files when temperature is high.
원인
Custom model temperature was raised above 0.3, increasing search/replace block drift.
해결
Keep model temperature at 0.0–0.2 inside Roo Code provider settings.
증상
401 Unauthorized after importing settings JSON.
원인
Imported placeholder sk-bf16-v1-... instead of the real key.
해결
Click the eye toggle at the top of this page before running the generator or paste your key directly.