본문으로 건너뛰기
모든 클라이언트
VS Code & CLI Agent · 1M Context1M Context · ZDR

Cline

Autonomous VS Code and terminal coding agent with direct browser-less local execution, 1M context, and screenshot Vision.

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

대상 사용자
VS Code and Cline CLI developers who want direct workstation-to-bf16 streaming (zero third-party relay) with full 1,048,576-token context.

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

Cline VS Code extension and CLI connected directly to https://api.bf16.ai/v1 with Plan/Act model splitting
Cline connects directly from your local VS Code host to https://api.bf16.ai/v1 — letting you assign GLM-5.3 or Kimi K3.1 Pro to Plan mode and DeepSeek V4.1 Flash to Act mode.

Unlike cloud-proxied IDE extensions, Cline sends requests directly from your local VS Code extension host (or `cline` CLI) to `https://api.bf16.ai/v1`, preserving end-to-end IP allowlisting and zero prompt retention.

Cline’s **Plan / Act** split pairs naturally with bf16.ai: enable "Use different models for Plan and Act modes" in Cline Settings, bind **Plan** to `zai-org/glm-5.3-uncensored` (or `moonshotai/kimi-k3.1-pro-uncensored`), and bind **Act** to `deepseek/deepseek-v4.1-flash-uncensored` for fast, low-cost file edits and headless browser screenshots.

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

원커맨드 빠른 설정

One-Command Cline CLI & API Key Verification

Installs the Cline CLI if needed and verifies your bf16.ai key + 1M model catalog metadata.

export BF16_API_KEY="sk-bf16-v1-..."
curl -fsS "https://api.bf16.ai/v1/models" -H "Authorization: Bearer $BF16_API_KEY" | grep -o '"id":"[^"]*uncensored[^"]*"'
echo "Paste Base URL https://api.bf16.ai/v1 into Cline → Settings → OpenAI Compatible."
  1. 1

    Select OpenAI Compatible in Cline Settings

    Open Cline in VS Code, click the Settings gear icon, set API Provider to "OpenAI Compatible", enter Base URL https://api.bf16.ai/v1, and paste your API key.

    API Provider: OpenAI Compatible
    Base URL:     https://api.bf16.ai/v1
    API Key:      $BF16_API_KEY
    Model ID:     zai-org/glm-5.3-uncensored
  2. 2

    Unlock 1,048,576 Context & Image Support

    Expand "Model Configuration" directly below Model ID: set Context Window Size to 1048576, Max Output Tokens to 65536, and check "Supports Images" when using deepseek/deepseek-v4.1-flash-uncensored, zai-org/glm-5.3-flash-uncensored, or moonshotai/kimi-k3.1-pro-uncensored.

  3. 3

    Optional: Split Plan vs Act Models to Cut Spend by ~70%

    Check "Use different models for Plan and Act modes": keep zai-org/glm-5.3-uncensored on Plan and set Act to deepseek/deepseek-v4.1-flash-uncensored.

VS Code — Cline Settings → API Configuration
설정 필드 인스펙터
Cline Sidebar / Gear Icon / API Provider: OpenAI Compatible

핵심 설정값 대조표

API Provider
OpenAI Compatible
Base URL
https://api.bf16.ai/v1
API Key
sk-bf16-v1-••••••••••••
Model ID (Plan / Act)
Plan: zai-org/glm-5.3-uncensored · Act: deepseek/deepseek-v4.1-flash-uncensored
Model Configuration → Context Window Size
1048576

Expand Model Configuration to override Cline’s 128K default to 1M.

Support Images
Checked (✓) on Flash & Kimi K3.1 Pro
Cline connects directly from your machine, so CIDR IP allowlists configured in bf16.ai/dashboard/keys work natively.

역할별 권장 모델 구성

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

역할모델 ID권장 사유USD / 1M 토큰
Plan Mode (Architecture & Audit)zai-org/glm-5.3-uncensoredThorough repository planning and security vulnerability reasoning across 1M context.$1.35 in / $0.25 cached / $4.20 out
Act Mode (Edits, Terminal & Browser Vision)deepseek/deepseek-v4.1-flash-uncensoredFast XML/tool-call execution + Puppeteer browser screenshot support at $0.045/1M cached input.$0.26 in / $0.045 cached / $1.00 out
2.8T Multimodal Plan Alternativemoonshotai/kimi-k3.1-pro-uncensoredIdeal when Plan mode needs to inspect design mockups or architecture diagrams.$1.95 in / $0.28 cached / $6.90 out

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

  • Cline displays a 1.0M context progress bar at the top of the task pane.
  • Start a Plan → Act task and confirm both calls settle in bf16.ai/dashboard/logs.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

운영 가드레일 및 예산 격리

  • Keep Cline’s Auto-Approve settings restricted to read-only file operations and workspace edits; leave arbitrary shell execution gated.

자주 발생하는 오류

증상
Cline compacts or truncates context at 128,000 tokens.
원인
Cline defaults unknown OpenAI-compatible models to 128K unless overridden under Model Configuration.
해결
Expand Model Configuration in Cline Settings and set Context Window Size to 1048576.
증상
404 Not Found on first message.
원인
Base URL omitted /v1.
해결
Set Base URL to https://api.bf16.ai/v1.

아직 설치하지 않으셨나요?

npm install -g cline
공식 문서