Sign inGet API key ↗
API Development

Connect Claude Code

Complete American English translation of the archived Orbis article text. Provider URLs, model IDs, route names, and compatibility instructions describe the source platform, not verified BadAssModel support. Local marketplace links open previews. No settings are changed or requests sent by this page. Running verification requests yourself can incur provider charges. External source tutorials may not be in English.

Source updated October 22, 2026 · 3 min read · Applies to Claude text models only

Choose a Claude route with Anthropic support, configure the Orbis URL, model, and key, and check the actual requests.

Connect an installed Claude Code CLI to Orbis. If you have not installed it yet or want to work through a complete project, see the illustrated Claude Code beginner tutorial (external source).

1. Choose a Model and Route, Then Get a Key

Open the model marketplace, select a Claude model, choose a route supporting Anthropic Messages, and create a key for it. One source example is the Claude Code · AH Route for Claude Haiku 5.5.

This guide applies to Claude models. The models and protocols actually available depend on the selected route. A key is bound to a route; changing only the model ID does not switch routes. Both the main model and the background small model must be available to that key.

2. Configure the URL and Models

Under the route's Quick Connect → Tool Setup → Claude Code, select the key you just created and merge the generated configuration into ~/.claude/settings.json. On Windows, use %USERPROFILE%\.claude\settings.json. Back up an existing file first and preserve its other settings.

For Haiku, the file's env section includes:

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.orbiorbi.com",
    "ANTHROPIC_MODEL": "claude-haiku-5-5",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5"
  }
}

Do not append /v1 to the URL. When changing models, use the exact ID from the connection page and check the background small-model configuration as well.

3. Enter Your Key and Launch

Open a terminal in the project directory you plan to use and choose the command for your operating system. Paste the key when prompted; the input will be hidden. The archived command below is for PowerShell:

$env:ANTHROPIC_AUTH_TOKEN = [System.Net.NetworkCredential]::new('', (Read-Host 'Paste your Orbis key' -AsSecureString)).Password
claude

The credential variable is available only to the current terminal and programs it launches. Enter it again in a new terminal. If ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, or apiKeyHelper is already configured, confirm the credential source first to avoid enabling multiple authentication methods simultaneously. Configure editor-extension environments separately using the official Claude Code gateway instructions.

4. Verify the Connection

  1. Run /status and check the Orbis URL, credential source, model, and working directory.
  2. Send “Reply only with OK,” then check the actual model, route, and charge in usage logs. This step consumes API credit. BadAssModel Usage History opens the existing workspace; it does not display Orbis requests.
  3. Ask it to read a small file in a practice directory and confirm that a real tool record appears. A successful ordinary reply does not establish compatibility with every tool.
Claude Code connection troubleshooting
SymptomWhat to Check
401 or a request to sign in againCheck whether the current process received the key and whether an old authentication setting overrides it.
404 or model not foundConfirm that the URL has no /v1 suffix, the model ID matches exactly, and the key belongs to the selected route.
Main conversation works, but small tasks failCheck whether the background small model is also available on that route.
429 or no available creditCheck the account balance, key quota, and route restrictions.

For installation, switching back to an official account, file editing, and a complete exercise, continue to the illustrated tutorial (external source).