Цены+7% бонус
Связаться с отделом продаж
Browse integrations
Claude Code

Claude Code Integration

Work on a repository with Claude from your terminal.

Quick Start

Sign in to GPTProto, open Dashboard → API Keys and create a key for this client. Copy the value into its provider credentials.

Set the gateway and token in the terminal that will launch Claude Code.

macOS / Linux
export ANTHROPIC_BASE_URL="https://gptproto.com"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"

claude --model YOUR_MESSAGES_MODEL
Windows (PowerShell)
$env:ANTHROPIC_BASE_URL = "https://gptproto.com"
$env:ANTHROPIC_AUTH_TOKEN = "YOUR_API_KEY"

claude --model YOUR_MESSAGES_MODEL

To reuse the connection in future sessions, merge these environment settings into your user configuration.

Persistent configuration · ~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://gptproto.com",
    "ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY"
  }
}

VS Code / Cursor Extension

In the editor’s command palette, open Preferences: Open User Settings (JSON). Add the environment entries below, reload the editor and start a conversation from its Claude Code panel.

User settings.json
{
  "claudeCode.environmentVariables": [
    {
      "name": "ANTHROPIC_BASE_URL",
      "value": "https://gptproto.com"
    },
    {
      "name": "ANTHROPIC_AUTH_TOKEN",
      "value": "YOUR_API_KEY"
    }
  ],
  "claudeCode.disableLoginPrompt": true
}

Troubleshooting

If the request path contains /v1/v1/messages, remove /v1 from the base URL.

If a request fails only in fast mode, switch to the model’s standard mode. For beta-header errors, check whether the model endpoint supports the experimental feature. Restart the terminal or editor after changing its environment.

Fast-mode network checks
export CLAUDE_CODE_SKIP_FAST_MODE_NETWORK_ERRORS=1
Experimental beta headers
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1