Claude Code · API setup

Connect Claude Code to OpusGate.

Connect Claude Code to the OpusGate Anthropic-compatible endpoint with your API key and selected Claude model.

Available model rates

ModelInputOutputCache readCache write
Claude Sonnet 5.5$0.78$3.90$0.09$0.96
Claude Opus 5.5$1.29$6.48$0.15$1.00
AWS Claude Haiku 5.5$0.27$0.42——
AWS Claude Opus 5.5$6.00$9.60——
Claude Haiku 5.5$0.20$0.80$0.05$0.25
Claude Opus 5$1.62$6.00$0.18$1.00

OpusGate rates in USD per 1M tokens. A dash means no separate rate is published. Check model details for supported capabilities; input, output and cache rates can differ.

Use the right endpoint

Anthropic-compatible clients use https://api.opusgate.dev. OpenAI-compatible clients generally use https://api.opusgate.dev/v1. The model must support the protocol and features your client sends.

Use the exact model ID from the current catalog. Test a short request before starting a long agent run.

Open the Claude Code setup guide →

Common questions

How do I connect Claude Code?

Follow the Claude Code setup guide for its provider type, base URL, key and model ID. Client versions and model features can affect compatibility.

How are requests billed?

Text requests use the selected model’s input, output and any applicable cache rates. The table shows current OpusGate rates rather than an estimated saving against another provider.

Which payment methods are available?

The Add credit page shows methods enabled for your account and the exact amount due. Review the payment provider’s instructions before sending funds.

Set up Claude Code

Create a key and configure your client. Add credit when you are ready to make requests.