Regional setup · Claude Code

Run Claude Code in Russia through a custom API endpoint

Connect an existing Claude Code installation to AnyModel, use available Claude or alternative coding models, and pay per token instead of buying Claude Max. This page covers regional access and payment; the technical tool page covers every configuration option.

No Claude Max requiredmacOS + Linux + WindowsPay per tokenModel switching
Keep search intents separate

Regional access, custom endpoint and free trial are different questions

This page answers the Russia-specific question. Use the dedicated setup page for model configuration, or the free guide for a detailed explanation of trial credits and limits.

NeedBest pageWhat it answers
Claude Code in RussiaThis regional guideAccess, payment caveats and quick setup
Custom API endpoint/use/claude-codeInstaller, endpoint and model switching
Use Claude Code for free/blog/use-claude-code-freeTrial credits, limits and troubleshooting
Quick setup

Point Claude Code at AnyModel

  1. 1

    Install Claude Code

    Install the Claude Code CLI from Anthropic first. The AnyModel command configures an existing installation; it does not install the CLI.

  2. 2

    Create an AnyModel key

    Register, copy the key and keep it out of repositories, screenshots and shared shell history.

  3. 3

    Run the configurator

    Use the command for macOS/Linux below. Windows users can use the PowerShell variant from the dashboard instructions.

macOS / Linux · configure Claude Code
bash <(curl -fsSL "https://anymodel.org/i?tool=claude") <YOUR_API_KEY>

# Then start Claude Code inside a project
claude

Will it work without a VPN? How can I pay?

Claude Code talks to the endpoint written into its configuration. If AnyModel is reachable from your network, the CLI does not need a direct Anthropic API account for this setup. Reachability still varies by ISP, region and time, so test it rather than relying on a permanent ‘without VPN’ promise.

Payment options are account- and provider-specific. The checkout may offer cards, local transfers or crypto depending on the active rail. A particular Russian card, RUB settlement or SBP is available only when it is shown during checkout.

This route does not grant Claude Max benefits and is not an official Anthropic service. It is a metered compatible endpoint, which is often a better fit for occasional or variable coding workloads.

Claude Code in Russia FAQ

Can Claude Code work in Russia through AnyModel?

It can work where the AnyModel endpoint is reachable and Claude Code accepts the configured endpoint. Network conditions vary, so verify it from the machine and network you plan to use.

Does this require Claude Max?

No. Requests are billed to the AnyModel pay-as-you-go balance. The setup does not include or imitate a Claude Max subscription.

Can I use Claude Code without a VPN?

Possibly, if AnyModel is directly reachable from your network. This cannot be guaranteed for every ISP or future network condition, so run a short connection test.

Can I pay with a Russian card or SBP?

Only when the checkout offers that rail to your account. Payment availability changes with providers; do not treat a particular method as guaranteed.

Test Claude Code on a small repository

Fund a small balance, verify one safe task and inspect token usage before opening a large codebase.

Create a key