Use AIUsage with OpenCode

One endpoint change. Under a minute. Same prompts, same outputs, 70–90% smaller Claude bill.

First — run the free audit →

Setup

1

Get your AIUsage endpoint URL

Sign up at aiusage.ai. You get an Anthropic-compatible endpoint that proxies your traffic.

2

Point OpenCode at it

Paste this into your setup:

opencode auth \
  --provider anthropic \
  --base-url https://aiusage.ai/claude \
  --api-key YOUR_ANTHROPIC_KEY
3

Use OpenCode normally

OpenCode sessions, tools, and model switching all route transparently.

Your Anthropic API key stays yours. AIUsage forwards it transparently to Anthropic. It is never stored, never logged. You can delete your AIUsage account any time and your integration reverts to vanilla Claude in one env-var change.

What this gets you on OpenCode

Every OpenCode request that used to hit Anthropic at retail price now runs through AIUsage's audit layer first. On the six workloads we've verified, the measured delta was 76–84% on the same prompts. Your OpenCode behavior — autocomplete, chat, agent mode, whatever — doesn't change.

Audit before you commit

The audit tool is free and shows you exactly what you would have paid. No signup required for the number. If your expected delta is under 40%, the tool tells you outright and you walk. Run the audit →

Audit my own OpenCode usage →