Claude Code from anywhere in 2026 — how to run it without a foreign card
How to run Claude Code from anywhere in 2026 without a VPN: install, configure, Opus 4.8 / Sonnet 4.6 pricing, comparison with marketplace keys and the VPN route.
Claude Code from anywhere — how to run it in 2026 without a foreign card
Claude Code is Anthropic's official CLI for agentic programming. It runs in your terminal, reads your project files, writes code, runs commands, makes commits. By default it connects to the Anthropic API with a sk-ant-… key, billed through Stripe — and Stripe doesn't accept cards from a long list of countries. For developers outside the US/EU, this means a foreign card, a phone number from a supported region, and a working VPN before the first claude command even runs.
Below: how to run Claude Code from anywhere in 2026 with no foreign card and no VPN, what it costs, and how the pieces fit together.
What Claude Code does
Claude Code is a terminal-based AI agent. Unlike Cursor or Copilot, it's a CLI: it launches from the shell, understands your repository, plans multi-step changes, applies edits across files, and verifies the result.
The strongest use cases in 2026:
- Refactoring legacy code. Claude Code walks the project, finds dependencies, and proposes a migration plan before touching anything.
- Pre-commit code review. Runs as a hook, surfaces bugs, antipatterns, security issues.
- Test generation. Discovers uncovered branches, writes unit tests in the project's style.
- Framework migration. Next.js → Astro, React → Vue, REST → tRPC.
- Git operations. Conflicts, rebase, cherry-pick — through a conversational interface.
- MCP integrations. Claude Code connects to any MCP server (Notion, Slack, Jira, GitHub).
Under the hood, Claude Code is Anthropic API. The CLI sends requests to /v1/messages (Anthropic SDK) or /v1/chat/completions (OpenAI-compatible mode). That's why you can run Claude Code through any API reseller that proxies to Anthropic — the tool itself doesn't care.
Why the direct path doesn't work for most people
The official setup: register at console.anthropic.com, create an sk-ant-… key, pay through Stripe. For developers outside the supported regions in 2026, this is blocked at three levels:
- Account registration. Anthropic only accepts phone numbers from supported countries. Numbers from a long list of regions fail SMS verification.
- Key creation. Even with a VPN, the
Settings → API Keyssection refuses to load — it requires Stripe address verification. - Payment. Stripe rejects most non-supported BIN codes and Mir-style cards at the antifraud stage. Without a working payment method, the key works in test mode only; every real request returns
402 Payment Required.
In practice, this means: VPN + foreign card + foreign phone number is the minimum setup. For most developers that's an extra 2–4 hours of setup and a constant risk of an account ban during antifraud review.
How to run Claude Code from anywhere
Option 1: VPN + a foreign card
The "official" path: get a VPN with an exit in the US/EU, register at console.anthropic.com with a foreign number (eSIM like Airalo or USMobile), create an sk-ant-… key, top up with a card like Wanttopay USD or Plati po Miru. Then:
export ANTHROPIC_API_KEY="sk-ant-..."
claude
Price: $15/MTok input on Opus 4.8 + $75/MTok output — that's $15–$90 per million tokens. Comparable to Anthropic's published rate.
Setup time: 2–4 hours across all layers.
Downside: the account can be banned during antifraud if the IP and card BIN don't match. Top-ups are in USD only.
Option 2: Reseller keys from marketplaces
On plati.market, ggsel.net, avito and similar marketplaces you can buy "Claude API keys" with 5M–250M tokens of balance. The seller creates the key from their own Anthropic account and resells it.
Price: 150–250 ₽ per 1M tokens.
Time: instant after payment.
Downside: the key belongs to the seller — they can revoke it at any moment, and you lose both balance and access. There's no guarantee against revocation; the money is already with the seller. If Anthropic detects resale, the donor account gets banned and your key dies with it.
Option 3: API reseller (LiteAI)
LiteAI is an Anthropic API reseller for developers outside the supported regions. We buy tokens from Anthropic in USD and resell them in USDT (TRC20/ERC20) through Bitbanker — a crypto checkout that works in 30 seconds without KYC. Under the hood it's request proxying to the real Anthropic API, so Claude Code works without code changes and sees the same Opus 4.8, Sonnet 4.6, Haiku 4.5 models.
What you get:
- an API key in the
sk-bf-…format, compatible with the Anthropic SDK and the OpenAI SDK; - access to every Claude model at one flat price;
- payment with USDT (TRC20/ERC20) through Bitbanker;
- no subscription, no monthly charge — balance never expires;
- a personal dashboard with usage stats per key.
Price: $1 per 1M tokens on any model, including Opus 4.8. Comparable to Anthropic's direct rate, but paid in USDT and without the foreign-card dance.
Time: the key arrives automatically 30 seconds after payment confirms on-chain.
Downside: this is API access, not a claude.ai subscription. Claude Code works; if you specifically need the chat in a browser, that's a different scenario.
Comparison of all options
| Option | Price per 1M Opus tokens | Time to first run | VPN required | Key revocation risk |
|---|---|---|---|---|
| VPN + foreign card | $15–$90 | 2–4 hours | Yes | No |
| Marketplace keys | $1.70–$2.80 | Instant | No | Yes (key belongs to seller) |
| LiteAI | $1 | 30 seconds | No | No |
How to run Claude Code through LiteAI — step by step
- Buy a LiteAI key. Open liteai.tech/pricing, pick a package (1M for $1 to test, 5M for $5 for active work, 100M for $70 for production), pay with USDT through Bitbanker.
- Receive the key. 30 seconds after payment, LiteAI sends the key in
sk-bf-…format to your email and DMs it in the Telegram bot @liteaitech_bot. - Install Claude Code. If you don't have it yet —
npm install -g @anthropic-ai/claude-code(requires Node.js 18+). - Set environment variables. Open
~/.bashrc,~/.zshrcor~/.profileand add:export ANTHROPIC_BASE_URL="https://api.liteai.tech/anthropic" export ANTHROPIC_AUTH_TOKEN="sk-bf-your-key" export ANTHROPIC_MODEL="claude-opus-4-8" - Launch Claude Code. Go to your project directory and run
claude. The first launch asks you to confirm trust in the working directory. - Verify the connection. In the CLI run
/status— at the bottom you should see the active model (Sonnet 4.6 by default). Switching to Opus:/model claude-opus-4-8.
Alternatively, persist the key in ~/.claude/settings.json:
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.liteai.tech/anthropic",
"ANTHROPIC_AUTH_TOKEN": "sk-bf-...",
"ANTHROPIC_MODEL": "claude-opus-4-8"
}
}
This way claude works in every project without manual exports.
Which models Claude Code uses through LiteAI
LiteAI proxies 1:1 to the real Anthropic API, so all current models are available:
- Claude Opus 4.8 — flagship, for the hardest tasks: architecture, large-system refactors, scientific text analysis. 200K context.
- Claude Opus 4.8 [1M] — 1M-token context for very long documents (large codebases, voluminous PDFs, multi-file refactors).
- Claude Sonnet 4.6 — the workhorse: code review, test generation, refactoring, debugging. 200K context.
- Claude Haiku 4.5 — for speed: autocomplete, quick questions, edge cases. 200K context.
Switching in Claude Code:
/model claude-opus-4-8
/model claude-sonnet-4-6
/model claude-haiku-4-5
/model claude-opus-4-8-1m
The price is the same on any model — $1 per 1M tokens, which makes Opus 4.8 dramatically cheaper than buying it through Anthropic directly.
How to estimate token spend
Claude Code consumes tokens aggressively: every request includes a system prompt (~10K tokens), the project context, and the conversation history. A real scenario of "30 minutes of active work in a medium-sized project" burns 5–15M tokens, of which 80% are input.
Rough monthly budget:
| Scenario | LiteAI package | Cost |
|---|---|---|
| Occasional tasks (5 sessions/week) | 5M tokens | $5/month |
| Active work (1–2 hours/day) | 100M tokens | $70/month |
| Full day with Opus | 200–300M tokens | $200–$300/month |
That's a fraction of a Claude Pro subscription at $20/month, which gives limited access on claude.ai and doesn't cover agentic scenarios in an IDE.
What to do if the key stops working
It happens rarely: the key is revoked, the balance runs out, or Anthropic updates the API and the proxy breaks. Checklist:
- Check your balance in the Telegram bot @liteaitech_bot — tap "Check balance". If the balance is 0, top up.
- Check environment variables —
echo $ANTHROPIC_BASE_URLandecho $ANTHROPIC_AUTH_TOKEN. If empty, re-export. - Check LiteAI status — @liteaitech_bot publishes notifications about incidents and planned maintenance.
- Update Claude Code —
npm install -g @anthropic-ai/claude-code@latest. Older versions sometimes break compatibility after Anthropic API updates. - If nothing helps — write to support@liteai.tech with the last 8 characters of your
sk-bf-…key and the time it broke. The LiteAI team will check the logs and reissue the key if needed.
Bottom line
Running Claude Code from anywhere in 2026 doesn't have to mean VPN + foreign card + foreign phone. Through LiteAI it's 30 seconds from payment to the first claude command in the terminal, $1 per 1M tokens on any model including Opus 4.8, and works without a VPN from anywhere.
If you specifically need chat with Claude in a browser (rather than the agentic CLI), that's a different scenario — claude.ai with a VPN, or a subscription through an intermediary. For development, Claude Code through LiteAI closes the loop at the lowest legal price.
Ready to try LiteAI?
An Anthropic API key for Claude Opus, Sonnet and Haiku — in 30 seconds, paid with USDT.