On November 12, 2026, Anthropic's updated usage policy took effect, and it is the strictest eligibility framework the platform has published so far. If your access path to the Claude API depended on a shell company, a reseller, a shared subscription, or anything else that now sits on the wrong side of the rules, you are probably re-evaluating your options this week.
This post does one thing: it documents a compliant, direct alternative — calling DeepSeek V4 models through an endpoint that speaks the native Anthropic Messages API format, so your existing Anthropic SDK code, Claude Code setup, and tool-calling agents keep working with almost no changes.
One boundary note up front: nothing here is advice on circumventing regional restrictions, and we will not suggest any. If Anthropic's rules disqualify your access path, the clean answer is to route that workload to a model you can access directly and legitimately — which is exactly what this guide covers.
What actually changed on November 12
The new Supported Regions Policy defines three categories of entities that are no longer eligible to use Claude, and it applies them across every product surface: Claude.ai, Claude Code, Cowork, the API, and any access through third-party clouds or resellers.
- Personal location: a user physically in an unsupported region is ineligible, even if they work for a company in a supported region.
- Company registration and headquarters: a company registered or headquartered in an unsupported region is ineligible, even if its employees sit in a supported region.
- Ownership and control: a company majority-owned or controlled, directly or indirectly, by entities in unsupported regions is ineligible regardless of where it is registered or where its staff work.
Alongside the eligibility rules, the update explicitly prohibits reselling and proxying consumer subscriptions, and introduces 30-day retention of security-monitoring data. Risk decisions are no longer based on a single IP check — time zone, language patterns, and multi-account concurrency are all fed into retrospective reviews. Anthropic's own transparency data shows roughly 11.4 million accounts banned in the first half of 2026, with about a 10% appeal success rate.
To be fair about who is affected: if you are a developer in a supported region, paying Anthropic directly with your own account, none of this touches you. The pressure lands on restricted-region users, companies with tangled ownership structures, and the resale and relay chains that served them — which is precisely the group that needs a legitimate replacement rather than another workaround.
The compliant alternative: DeepSeek V4 behind an Anthropic-format endpoint
AiCredits sells prepaid credits for DeepSeek V4 models. Our stack has no Claude channel in it — no upstream accounts to get flagged, no resale layer, no regional gray zone. DeepSeek V4 comes in two tiers: deepseek-v4-flash for high-volume, latency-sensitive work, and deepseek-v4-pro for heavier reasoning and tool-heavy agents.
The part that makes migration painless is our compatibility layer. The endpoint https://api.aicreditsapi.com/v1/messages accepts requests in Anthropic's native Messages API format — content blocks, system prompts, tool definitions and all — translates them on the fly to the wire format DeepSeek expects, and translates the response back into Anthropic-shaped blocks your code already parses.
What the compatible endpoint supports
- Tools end to end:
tools,tool_choice,tool_useandtool_resultblocks are translated bidirectionally, including streaminginput_json_deltachunks — agent loops built on the Anthropic SDK keep working.
- Tools end to end:
- Images: image blocks in user messages are converted to the upstream image format (base64 or URL).
- Streaming: full SSE streaming with the same event sequence the Anthropic SDK expects (
content_block_start,content_block_delta,message_delta, and friends).
- Streaming: full SSE streaming with the same event sequence the Anthropic SDK expects (
- Thinking blocks: reasoning-model output is carried in thinking-style blocks, so clients that render reasoning content keep working.
- Finish reasons: upstream stop conditions are mapped back to Anthropic's
stop_reasonvocabulary (tool_use,end_turn,max_tokens, and so on).
- Finish reasons: upstream stop conditions are mapped back to Anthropic's
One honest limitation: if a
tool_resultblock contains images, the image content degrades to a text placeholder on the way through. Text-only tool results — the overwhelming majority — pass through untouched.
The migration, in practice
Point the Anthropic SDK at our endpoint and swap the model name. That is the whole change for most codebases:
Authentication accepts both header styles — the SDK's default x-api-key header and Authorization: Bearer — so any client that works with either convention works here.
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.aicreditsapi.com",
api_key="your-aicredits-api-key",
)
message = client.messages.create(
model="deepseek-v4-pro",
max_tokens=4096,
messages=[{"role": "user", "content": "Summarize this repo's architecture."}],
)Claude Code users can switch the same way, with two environment variables:
If you are calling the endpoint directly over HTTP, the request body is exactly what you would send to Anthropic today — the model name is the only field you need to change.
export ANTHROPIC_BASE_URL=https://api.aicreditsapi.com
export ANTHROPIC_AUTH_TOKEN=your-aicredits-api-key
claudecurl https://api.aicreditsapi.com/v1/messages \
-H "x-api-key: your-aicredits-api-key" \
-H "content-type: application/json" \
-d '{
"model": "deepseek-v4-flash",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello"}]
}'Model mapping: what to use instead of what
| You were using | Switch to | Best for |
|---|---|---|
| Claude Haiku-class models (fast, cheap tier) | deepseek-v4-flash | High-volume calls, classification, drafting, latency-sensitive paths |
| Claude Sonnet-class models (balanced tier) | deepseek-v4-flash or deepseek-v4-pro | Everyday coding assistance and moderate agent workloads |
| Claude Opus-class models (frontier tier) | deepseek-v4-pro | Deep reasoning, long documents, tool-heavy agent loops |
| Batch / background jobs | deepseek-v4-flash | Cost-sensitive throughput where latency is not critical |
A practical rollout pattern: move a shadow traffic slice to deepseek-v4-flash first, compare output quality on your real workload, then promote the paths that pass and step the demanding ones up to deepseek-v4-pro. Migration does not have to be a flag day.
What it costs
AiCredits uses prepaid credits: 1 USD buys 500,000 credits, deducted per request, with no subscription and no expiry. Three packs cover most needs:
- Standard — $9: 4.5M credits for deepseek-v4-flash
- Professional — $19: 9.5M credits for deepseek-v4-pro
- Scale — $29: 14.5M credits for deepseek-v4-pro
You pay once, the key is issued immediately after checkout, and credits never expire. Grab one at the AiCredits buy page. Prices exclude tax where applicable.
Honest limitations
We will not tell you DeepSeek V4 matches Claude's newest flagship on every frontier-agentic benchmark — on some of the hardest coding and agentic tasks, a capability gap remains. The migration math works best where cost and reliability dominate: high-volume pipelines, background agents, production features where a strong open-weight model is already good enough.
The other honest caveat is structural: you are trading one vendor relationship for another. Our upstream is DeepSeek, and upstream capacity or policy changes on that side would affect us the same way Anthropic's changes affect Claude users. The difference is that prepaid credits with no expiry mean an interruption costs you nothing — the balance simply waits.
Related guides
- Use DeepSeek API with the OpenAI SDK: Three-Line Migration Guide — if your other codebase speaks OpenAI format instead
- DeepSeek API Pricing vs OpenAI & Anthropic: The Cost Showdown — the full cost comparison
- DeepSeek V4-Pro vs Claude Opus: Which Should You Actually Use? — a candid capability comparison