Skip to main content
All clients
VS Code & JetBrains Orchestrator1M Context · ZDR

Kilo Code

Open-source VS Code and JetBrains AI coding orchestrator wired directly to bf16.ai 1M-context uncensored models.

Base URL
https://api.bf16.ai/v1
Protocol
openai-completions

Who this is for
Engineers using Kilo Code in VS Code or JetBrains IDEs who want transparent USD per-token billing and uncensored security/systems coding.

Architecture & Why Pair with bf16.ai

Kilo Code Orchestrator in VS Code / JetBrains connected to https://api.bf16.ai/v1
Kilo Code connects directly to https://api.bf16.ai/v1 via OpenAI Compatible provider profiles across VS Code and JetBrains.

Kilo Code combines Cline and Roo Code capabilities into a polished VS Code and JetBrains agent extension with Orchestrator workflows, inline code actions, and per-profile provider routing.

Connecting Kilo Code to `https://api.bf16.ai/v1` bypasses platform markup and moderation bottlenecks, giving Orchestrator subtasks direct access to 1M-context `zai-org/glm-5.3-uncensored`, `moonshotai/kimi-k3.1-pro-uncensored`, and `deepseek/deepseek-v4.1-flash-uncensored`.

Commands show $BF16_API_KEY. Sign in to fill in your own key automatically.

ONE-COMMAND SETUP

One-Command Kilo Code Endpoint Smoke Test

Verifies your bf16.ai API key and lists live model IDs ready to select in Kilo Code’s OpenAI Compatible dropdown.

export BF16_API_KEY="sk-bf16-v1-..."
curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
  1. 1

    Configure OpenAI Compatible Provider in Kilo Code

    Open Kilo Code Settings → Providers, switch API Provider to "OpenAI Compatible", enter Base URL https://api.bf16.ai/v1, paste your API key, and select zai-org/glm-5.3-uncensored from the fetched model list.

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

    Confirm 1M Context Window & Prompt Caching

    Verify Context Window reads 1048576 under Model Configuration so large monorepo files are never truncated early.

Kilo Code — Settings → Providers → OpenAI Compatible
SETTINGS & CONFIG INSPECTOR
Kilo Code / Providers / Custom OpenAI-Compatible Profile

Exact Field-by-Field Reference

API Provider
OpenAI Compatible
Base URL
https://api.bf16.ai/v1
API Key
sk-bf16-v1-••••••••••••
Model
zai-org/glm-5.3-uncensored

Context Window: 1,048,576 · Enable R1/Reasoning format if prompted.

Use a second profile pointed at deepseek/deepseek-v4.1-flash-uncensored for high-frequency Code/Autocomplete turns.

Recommended Uncensored Model Tiering

Route complex planning to Flagship models and high-frequency subagents or screenshots to Flash.

Workflow RoleModel IDWhy This ModelUSD / 1M Tokens
Orchestrator & Architectzai-org/glm-5.3-uncensoredAccurate task decomposition and multi-file edits.$1.35 in / $0.25 cached / $4.20 out
Fast Code & Screenshot Tasksdeepseek/deepseek-v4.1-flash-uncensoredLow-latency execution + native image input.$0.26 in / $0.045 cached / $1.00 out

How to know it worked

  • Model dropdown in Kilo Code populates automatically from GET /v1/models.
  • First task streams reasoning + tool calls and logs in bf16.ai/dashboard/logs.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

Production Guardrails & Budget Isolation

  • Pin auto-execution terminal whitelists to test runners (`pnpm test`, `pytest`, `cargo check`) rather than wildcard shell commands.

Common errors

Symptom
404 error when fetching models or starting a task.
Cause
Trailing /chat/completions was pasted into Base URL, or /v1 was omitted.
Fix
Set Base URL strictly to https://api.bf16.ai/v1.