Monoize
Transforms

Prompt: strip Anthropic billing header

Remove x-anthropic-billing-header lines from system and developer text.

What it does

This transform removes x-anthropic-billing-header lines from system and developer text nodes. A node that becomes empty is dropped.

Reference

PropertyValue
Type IDprompt_strip_anthropic_billing_header
Phaserequest
ScopesProvider, Global, API key

When to use

  • Clients built for Anthropic first-party billing inject billing header lines that other upstreams reject or echo.

Configuration

This transform has no options. Use an empty config object.

Example rule

{
  "transform": "prompt_strip_anthropic_billing_header",
  "enabled": true,
  "phase": "request",
  "models": [
    "*"
  ],
  "config": {}
}

On this page