본문으로 건너뛰기
모든 클라이언트
Terminal Agent · 29k★1M Context · ZDR

Crush (Charm)

Charm의 LSP 지원 터미널 코딩 에이전트(charmbracelet/crush). crushrc 또는 Catwalk로 bf16.ai 1M 무검열 모델에 바로 연결합니다.

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

대상 사용자
macOS, Linux, Windows 터미널에서 1M 컨텍스트와 엄격한 ZDR을 원하는 개발자.

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

Charm Crush TUI configured via ~/.config/crush/crushrc and Catwalk connecting to api.bf16.ai 1M uncensored models
Crush uses a native Bash-powered crushrc (`provider add bf16 --type completions`) and Catwalk’s provider registry to stream 1M-context reasoning and tool calls directly from api.bf16.ai.

Crush (charmbracelet/crush, 29k+ ★) is Charm’s cross-platform terminal coding agent with built-in LSP diagnostics, multi-session project contexts, mid-session model switching, and MCP tool support.

Modern Crush uses a built-in Bash interpreter (`~/.config/crush/crushrc` or per-project `./.crushrc`) so you can register `bf16` with a single `provider add bf16 --type completions` block and pull your key cleanly from `$BF16_API_KEY` or a password manager.

We have also submitted a native `bf16` provider with automated catalog sync to Charm’s Catwalk database (`charmbracelet/catwalk#790`) — pairing GLM-5.3 Flagship as large model and DeepSeek V4.1 Flash as small model with 1M context and `low`/`medium`/`high`/`max` reasoning effort.

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

원커맨드 빠른 설정

Append bf16.ai Provider & 1M Models to ~/.config/crush/crushrc

Creates ~/.config/crush/crushrc (preserving existing lines), registers bf16 with GLM-5.3 Flagship and DeepSeek V4.1 Flash, and verifies your API key.

export BF16_API_KEY="sk-bf16-v1-..."
mkdir -p "$HOME/.config/crush"
cat <<'EOF' >> "$HOME/.config/crush/crushrc"

# bf16.ai — Uncensored 1M-context models (Strict ZDR)
provider add bf16 --type completions --base-url "https://api.bf16.ai/v1" --api-key "$BF16_API_KEY"
model add bf16/zai-org/glm-5.3-uncensored --name "GLM-5.3 Flagship (Uncensored)" --context-window 1048576
model add bf16/deepseek/deepseek-v4.1-flash-uncensored --name "DeepSeek V4.1 Flash (Uncensored)" --context-window 1048576
EOF
curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
  1. 1

    bf16.ai API 키 설정

    Create an API key at bf16.ai/dashboard/keys and export `BF16_API_KEY` in `~/.zshrc` or `~/.bashrc` so Crush’s `crushrc` reads it securely at startup.

    export BF16_API_KEY="sk-bf16-v1-..."
  2. 2

    bf16.ai 엔드포인트 및 1M 무검열 모델 연결

    이 페이지의 Base URL과 API 키를 입력하면 1M 컨텍스트와 엄격한 무저장(ZDR) 정책이 즉시 적용됩니다.

    ~/.config/crush/crushrc
    provider add bf16 \
      --type completions \
      --base-url "https://api.bf16.ai/v1" \
      --api-key "$BF16_API_KEY"
    
    model add bf16/zai-org/glm-5.3-uncensored \
      --name "GLM-5.3 Flagship (Uncensored)" \
      --context-window 1048576
    
    model add bf16/deepseek/deepseek-v4.1-flash-uncensored \
      --name "DeepSeek V4.1 Flash (Uncensored)" \
      --context-window 1048576
  3. 3

    Launch Crush & Switch to bf16.ai

    Start `crush` in any Git repository, open the model picker, and select GLM-5.3 Flagship or DeepSeek V4.1 Flash under `bf16`.

    crush
Crush — ~/.config/crush/crushrc · provider add bf16
설정 필드 인스펙터
~/.config/crush/crushrc (or ./.crushrc in project root)

핵심 설정값 대조표

Provider Command
provider add bf16 --type completions
Base URL
https://api.bf16.ai/v1
API Key Env
$BF16_API_KEY
Recommended Models
zai-org/glm-5.3-uncensored (Large) · deepseek/deepseek-v4.1-flash-uncensored (Small)

1,048,576 context window · toggleable reasoning_effort

Crush executes crushrc via its embedded Bash engine on macOS, Linux, and Windows — identical config syntax everywhere.

역할별 권장 모델 구성

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

역할모델 ID권장 사유USD / 1M 토큰
Crush Large Model (Primary Reasoning & Refactoring)zai-org/glm-5.3-uncensored1M context, 131K max output, deterministic LSP-assisted edits, and zero refusals on security or low-level systems code.$1.35 in / $0.25 cached / $4.20 out
Crush Small Model (Fast Search, Summaries & Vision)deepseek/deepseek-v4.1-flash-uncensored1M context at ~155 tok/s with image support and $0.045/1M cached prompt reads.$0.26 in / $0.045 cached / $1.00 out
Long-Context Multimodal Analysismoonshotai/kimi-k3.1-pro-uncensoredFrontier 1M multimodal model for cross-file architectural audits and screenshot debugging.$1.95 in / $0.28 cached / $6.90 out

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

  • 테스트 메시지를 보내면 bf16.ai 콘솔 요청 로그에서 즉시 확인할 수 있습니다.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

운영 가드레일 및 예산 격리

  • Avoid hardcoding raw `sk-bf16-...` keys inside project-local `./.crushrc` files; always reference `$BF16_API_KEY` or a secret manager CLI.
  • Use DeepSeek V4.1 Flash as your Crush small model for fast title generation and file summarization while reserving GLM-5.3 Flagship for complex edits.

자주 발생하는 오류

증상
연결 테스트 시 404 또는 인증 오류가 발생합니다.
원인
엔드포인트 URL 끝에 /v1 또는 /chat/completions 경로가 잘못 붙었습니다.
해결
이 페이지에 표시된 정확한 Base URL을 복사해 입력해 주세요.

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

brew install charmbracelet/tap/crush
공식 문서