Skip to main content
Short answer: both errors are returned by Anthropic itself. Most often the cause is the place the request came from: Anthropic only operates in the countries on its list. A new key or a new subscription won’t help here. For the errors to stop, the request has to reach Anthropic from an address other than yours. That’s exactly how it works with a RuAPI key: you change the key and the address — in your code or in the Claude Code settings — and the Claude models stay the same. No VPN needed.

What the errors look like

In Claude Code and in the API — a response with code 403:
Via Amazon Bedrock (including in Claude Code connected to Bedrock) — a response with code 400 (example on GitHub) — if an AWS region in an unsupported country is selected in the settings:

Why it happens

  • The request came from an unsupported region. The list is on the Supported Regions Policy page. It also says that use by people physically located outside this list is not supported either.
  • A VPN or proxy. Anthropic sees not your address but the exit address of the VPN or proxy. If it’s in an unsupported region or changes mid-session, you’ll get the same error.
  • Less often — the subscription or permissions. If you’re in a supported country without a VPN, check that your subscription is active and that the key or role in the Anthropic Console has access.

What you can do

How to connect Claude via RuAPI

1

Sign up

Sign up at www.ruapi.ai — with email, Google or Yandex.
2

Top up

Console → Wallet: USDT or USDC (TRC20 / BEP20 / Polygon; USDT also on TON), from 5 USDT. No USDT yet? Buy it with rubles via SBP (Faster Payments System). Cards from foreign banks (Visa / Mastercard) are accepted too.
3

Key

Console → API Keys → Create API key — you’ll get an sk-... string.
4

Swap the key and address

In Claude Code or in your own code — examples below.
The full Claude Code guide — installation, choosing a model, signing in without an Anthropic account — is on the Claude Code in Russia page.

FAQ

If the cause is the region, no: Anthropic checks where the request came from, not which account you have. A new account from the same address will get the same error and the same risk of a ban.
No. A RuAPI key is enough: in Claude Code it goes into the settings, and signing in with an Anthropic account isn’t needed.
No. The RuAPI website and API are reachable directly.
Yes. These are Anthropic’s original models — claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5 and others — with no substitution and no quality cuts.

Next steps

Claude Code in Russia

Installation and connection without an Anthropic account.

Claude API key

Where to get a key and how to pay.