opusgate.
ModelsQuickstartPricing
Getting started
Overview
Setup guides
Claude CodeCodex CLICursorClineRoo CodeKilo CodeContinueOpenCode
API reference
Endpoints & authError codesRate limits
Account
API keysBilling & pricing
Reference
FAQTerms of ServicePrivacy Policy
opusgate.Opening your next page…
Next →Claude Code
opusgate.

AI models, one connection.
Build with your tools or start in chat.

Product

ModelsPricingWorkspacePayment methods

Get connected

Claude CodeCursorAPI referenceAll setup guides

Help

SupportFAQTermsPrivacy
© 2026 OpusGateModel and tool names belong to their respective owners.
Getting started

Connect your first model.

Choose a model, create an API key and configure your client using the appropriate protocol. Start with a short request to check your connection.

1
Create an account
Choose your sign-in method. Sign up →
2
Create and save your key
The full key is shown once. Create key →
3
Add credit when ready
Review current amounts and payment methods. Add credit →
Optional Claude Code installer

Grab a key from the Keys page, run the command for your OS, paste the key when asked. The script installs Claude Code if it's missing using a checksum-verified distribution download, then configures OpusGate (~/.claude/settings.json, an existing file is backed up to .bak), and never sends your key anywhere except that local file.

Windows (PowerShell)
PowerShell
irm https://opusgate.dev/install.ps1 | iex
macOS / Linux
Bash
curl -fsSL https://opusgate.dev/install.sh | bash

Then just run claude (on Windows — in a new terminal). Piping scripts from the internet? Right to be careful — read the source first: install.ps1 / install.sh.

Set up Claude Code

Pick whichever fits your workflow. Both share the same config file at ~/.claude/settings.json, so you can mix and match later. This is the condensed version — the full Claude Code guide covers model-slot overrides and troubleshooting.

Claude Code CLI
Terminal · macOS, Linux, Windows
npm install -g @anthropic-ai/claude-code
Then run claude in any folder. Config flows from settings.json below.
VS Code extension
Graphical · VS Code 1.98+
Install in VS CodeOr open Marketplace ↗
Both modes (graphical panel + integrated terminal CLI) share the same settings.json below.

Drop-in settings.json

Both the CLI and the VS Code extension read this file. Create it (or merge into the existing one), paste your API key, and restart Claude Code.

File location
macOS / Linux~/.claude/settings.jsonWindows%USERPROFILE%\.claude\settings.json
Paste this in
{
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.opusgate.dev",
    "ANTHROPIC_AUTH_TOKEN": "sk-og-...",
    "ANTHROPIC_DEFAULT_OPUS_MODEL":   "claude-opus-5-5",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL":  "claude-haiku-5.5",
    "DISABLE_TELEMETRY": "1",
    "DISABLE_ERROR_REPORTING": "1"
  }
}
Replace sk-og-... with your key from the Keys page. Use ANTHROPIC_AUTH_TOKEN (sent as a Bearer token) — that's the right field for a gateway like OpusGate. Note: ANTHROPIC_BASE_URL has no /v1 suffix — Claude Code adds the path itself. The ANTHROPIC_DEFAULT_*_MODEL overrides re-map the Opus / Sonnet / Haiku aliases in /model to OpusGate's model IDs. Already have a settings.json? Just merge the env block in.
VS Code extension: one extra step
  1. Open VS Code settings (Cmd+, / Ctrl+,).
  2. Search for Claude Code: Disable Login Prompt and check it. This stops the extension from trying to sign in with an Anthropic account.
  3. Reload the window (Developer: Reload Window from the Command Palette).

Or just export env vars

If you'd rather not touch a config file, set two environment variables before launching Claude Code.

macOS / Linux
export ANTHROPIC_BASE_URL="https://api.opusgate.dev"
export ANTHROPIC_AUTH_TOKEN="sk-og-..."
claude
Windows (PowerShell)
$env:ANTHROPIC_BASE_URL="https://api.opusgate.dev"
$env:ANTHROPIC_AUTH_TOKEN="sk-og-..."
claude
To persist, add the lines to ~/.zshrc, ~/.bashrc, or your PowerShell profile.

Available models & pricing

The model ID is what you put in your SDK call or config (e.g. model: "claude-opus-5-5"). Names look familiar but exact IDs may differ from upstream providers — copy from here to be safe.

USD pricing. Text input, output and cache tokens have separate rates. “Not reported” means the provider has not supplied that value. Compare up to three models; open a model for its full limits and setup.

Using a different tool?

OpusGate is wire-compatible with the Anthropic /v1/messages and OpenAI /v1/chat/completions APIs. Use the guide for your client and check the selected model’s capabilities. A configurable base URL alone does not guarantee support for every client feature.

Point the tool at https://api.opusgate.dev and use your sk-og-... key as the API key. For OpenAI-flavoured tools the base path is https://api.opusgate.dev/v1.

Calling the API directly from code? See endpoints & auth, error codes and rate limits. Billing questions — minimums, bonuses, refunds — live in billing & pricing.