Use case · Developers

Use Claude Code and your coding tools without sending secrets to the model.

Coding agents read your files, including .env files, keys and customer data in test fixtures. Point them at Spendplane: secrets are masked before the request leaves, and the reply comes back with the real values.

Your editor (Claude Code)

const stripe = "sk_live_51H8xQ2…9Q"
// seed user: anna.lindqvist@example.com
fix the failing payment test

Data VPN Firewall

1 key and 1 email masked

What the model sees

const stripe = "[SECRET_1]"
// seed user: [EMAIL_1]
fix the failing payment test
The test fails because [EMAIL_1] has no saved card. Add one to the fixture.
What you see in Claude CodeThe test fails because anna.lindqvist@example.com has no saved card. Add one to the fixture.

The model never saw your key or your user.

Example with a fake key and a fictional user.

Set up in three steps

  1. 1

    Add your provider key

    In the dashboard, add your own Anthropic, OpenAI or OpenRouter key and create a Spendplane key. You pay the provider directly, with no markup.

  2. 2

    Change the base URL

    Point Claude Code, an SDK or any tool with a custom OpenAI base URL setting at Spendplane, using your Spendplane key.

  3. 3

    Work as usual

    Replies stream back with the real values put in again. Cost, models and everything that was masked show up in the dashboard.

Configuration

# Claude Code
export ANTHROPIC_BASE_URL=https://api.spendplane.com
export ANTHROPIC_API_KEY=<your Spendplane key>

# OpenAI-compatible SDKs and tools
base URL: https://api.spendplane.com/v1
API key:  <your Spendplane key>

What you get

  • API keys, tokens and private keys masked before they leave
  • Emails, phone numbers, IBANs and card numbers masked
  • Your own keywords masked or blocked (project codenames, client names)
  • Streaming replies with the real values restored
  • Automatic failover when a provider is down
  • Spend caps for the workspace and each member

Still readable, so the agent stays useful

  • Your code and its structure
  • Error messages and stack traces
  • File names and paths
  • Test names and instructions

Upcoming*

* Upcoming: planned and in progress, not yet available. We move features up once they are live.

The gateway is part of the Pro, Teams and Enterprise plans. See pricing