prune.

API coding tools

Optional setup for tools that already use a provider API key.

If a coding tool lets you set an OpenAI-compatible base URL and paste your own key, you can point it at Prune instead. Vault OpenAI, Anthropic, or OpenRouter once under Connect → Providers; the tool only sees prune_….

Closed subscription IDE backends are unchanged — keep those as-is. Prune only sees traffic you explicitly send to api.withprune.com.

Cline (primary)

Settings → API Provider → OpenAI Compatible. Paste these three fields. Change only Model ID to use another vaulted provider.

Base URL:  https://api.withprune.com/v1
API Key:   prune_your_key
Model ID:  gpt-4o-mini

If Cline loops on “Plan Created”, switch Plan → Act and ask a concrete task.

Kilo Code

Extension or CLI → provider settings → OpenAI Compatible (BYOK — not Kilo Gateway). Same three fields:

Base URL:  https://api.withprune.com/v1
API Key:   prune_your_key
Model ID:  gpt-4o-mini

Do not paste provider sk-… keys into Kilo.

OpenCode

Desktop app and terminal CLI. Copy to ~/.config/opencode/opencode.json (use @ai-sdk/openai-compatible, no apiKey in the file):

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "prune": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Prune",
      "options": {
        "baseURL": "https://api.withprune.com/v1"
      },
      "models": {
        "gpt-4o-mini": { "name": "GPT-4o mini (via Prune)" }
      }
    }
  },
  "model": "prune/gpt-4o-mini"
}
opencode auth login
# Other → provider id: prune → paste prune_…
# Then select prune/gpt-4o-mini

Zoo Code (optional)

Community successor to Roo Code. API Provider → OpenAI Compatible — same three fields. If you imported Roo settings, delete leftover sk-… keys.

Base URL:  https://api.withprune.com/v1
API Key:   prune_your_key
Model ID:  gpt-4o-mini

OpenRouter

Vault an OpenRouter key, point the same OpenAI-compatible fields at Prune, use OpenRouter model ids. Shield and receipts apply on that traffic.

Other BYOK clients

Same pattern wherever the tool accepts a custom base URL + API key (chat/completions). Bundled subscription features that never leave the IDE vendor cannot be routed through any gateway.

Full copy-paste configs and a manual test plan: github.com/surenkotian/prune-coding-agents.

A 9-turn API-style agent simulation in CI showed 65.4% input-token savings from prefix cache on traffic that went through Prune. Details: docs/coding-agents.md. Verify receipts at /verify.