본문으로 건너뛰기
MULTI-AGENT

Low-Cost Subagent Fan-Out for Parallel Coding Loops

Spawn 5–20 parallel exploration, test-runner, and doc-review subagents at $0.26/$1.00 ($0.045 cached) without blowing through flagship API budgets.

Why Standard APIs & Subscriptions Break Here

Modern multi-agent harnesses (Claude Code subagents, Roo Code orchestrator, Kilo Code, OpenClaw) multiply token consumption 5x–10x when fanning out parallel tasks on $3–$15/1M models.

How bf16.ai Solves This Workflow

  • DeepSeek V4.1 Flash Uncensored ($0.26/$1.00, ~155 tok/s) and its Fast lane ($0.28/$1.12) make 10-way parallel fan-out cost pennies.
  • Automatic $0.045/1M cached input pricing prevents parallel workers sharing a system prompt from paying full input costs.
  • Pair a flagship architect (GLM-5.3 Uncensored) with Flash workers under a single API key and unified credit ledger.

Recommended Model Split

Smart Alias: bf16/auto:fast
Primary Model
DeepSeek V4.1 Flash Uncensored Fast
deepseek/deepseek-v4.1-flash-uncensored-fast
$0.28 in · $0.055 cached · $1.12 out / 1M · 1M tokens

Interactive IDE sessions and parallel subagent execution

Secondary / Fast Subagent
GLM-5.3 Uncensored
zai-org/glm-5.3-uncensored
$1.35 in · $0.250 cached · $4.20 out / 1M · 1M tokens

Flagship architecture refactoring, Claude Code & Codex sessions

Copy-Paste Production Config

Parallel Promise.all subagent fan-out

orchestrator.ts
const results = await Promise.all(
  modules.map((mod) =>
    fetch('https://api.bf16.ai/v1/chat/completions', {
      method: 'POST',
      headers: {
        Authorization: `Bearer ${process.env.BF16_API_KEY}`,
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        model: 'deepseek/deepseek-v4.1-flash-uncensored-fast',
        messages: [{ role: 'user', content: `Audit module ${mod.name}:
${mod.code}` }],
      }),
    }).then((r) => r.json())
  )
);
Matching Client Setup Guides

자주 묻는 질문

How does concurrency scaling work for parallel subagents?

Each rate-limit tier publishes exact concurrent request limits and RPM on /pricing, automatically upgrading as lifetime top-ups grow.

Does bf16.ai charge for 429 retries?

No. Over-concurrency requests are rejected before tokenization at zero cost.

Should subagents use DeepSeek V4.1 Flash or GLM-5.3 Flash?

Use DeepSeek V4.1 Flash Fast for lowest latency code search/diffs, and GLM-5.3 Flash when subagents must return strict JSON schemas.

관련 가이드 및 비교

전체 활용 사례

Not affiliated with Anthropic, OpenAI, Google, Z.ai, Moonshot AI, DeepSeek, or any third-party provider listed on this page. All trademarks belong to their respective owners. "bf16" is a brand name, not a statement about numeric precision. Third-party reference rates are public approximations; check official pricing pages for exact current terms.