Create a Varion key
Create a separate key named “Claude Code” in your customer dashboard.
Varion sits between Claude Code and the Anthropic API, removes only safely redundant context and passes uncertain requests through unchanged.
Measured example: 37,424 original input tokens and 19,076 provider-bound input tokens. Results vary.
ANTHROPIC_BASE_URL https://api.varion.tech ANTHROPIC_AUTH_TOKEN YOUR_VARION_API_KEY ANTHROPIC_API_KEY YOUR_ANTHROPIC_API_KEY
No ZIP, local proxy, npm package or website key form is required.
Create a separate key named “Claude Code” in your customer dashboard.
Paste the commands into your own terminal. Your keys are not entered on the Varion website.
Open a new terminal, run claude and view measured usage in Varion.
Your Anthropic credential is forwarded transiently through Varion in direct gateway mode and is not stored in normal logs or the dashboard.
setx ANTHROPIC_BASE_URL "https://api.varion.tech" setx ANTHROPIC_AUTH_TOKEN "YOUR_VARION_API_KEY" setx ANTHROPIC_API_KEY "YOUR_ANTHROPIC_API_KEY"
Close PowerShell completely, open it again, then run claude.
export ANTHROPIC_BASE_URL="https://api.varion.tech" export ANTHROPIC_AUTH_TOKEN="YOUR_VARION_API_KEY" export ANTHROPIC_API_KEY="YOUR_ANTHROPIC_API_KEY" claude
Add the exports to your shell profile to keep them after restarting.
System and developer instructions are preserved exactly. Code, strict structured output, high-risk instructions and sensitive workflows are conservatively protected or bypassed.
Claude Code sends the request payload through Varion so eligible context can be reduced before forwarding to Anthropic.
The credential is transmitted for request forwarding, but it is not saved in normal request logs or displayed in the Varion dashboard.
Varion is an independent third-party product and is not affiliated with or endorsed by Anthropic.
Close every terminal window and open a new one so the environment variables reload.
Confirm ANTHROPIC_AUTH_TOKEN contains the full Varion key beginning with varion_.
Confirm ANTHROPIC_API_KEY contains the full active Anthropic key and that the Anthropic account has available credit.
Delete the three environment variables or restore ANTHROPIC_BASE_URL to Anthropic’s normal endpoint, then restart the terminal.
Start free, connect locally and keep your Anthropic account under your control.
Create free account