OpenAI and Claude Are Closed to Russia: DeepSeek Direct Costs 11x Less Than Through Yandex
By the end of 2026, OpenAI, Claude, Gemini, and OpenRouter are closed to Russia, while DeepSeek, Yandex, GigaChat, and local models still work directly. A support bot handling 2,000 conversations a month costs 660 ₽ on DeepSeek directly and 7,200 ₽ with the same model through Yandex, which is 11 times more expensive. You pay that difference for rubles and for data residency in Russia. So choose a provider based on your data requirements and budget, and keep a backup.
AI-processed from Habr AI; edited by Hamidun NewsEarlier in 2026, many Russian projects still reached models through a single OpenRouter key. Over the summer that route closed completely, and in the autumn other Western providers tightened their rules too. If a product depends on a single API, a decision by someone else's legal department can stop it within a day. The question is now twofold: which APIs you can actually connect to from Russia, and what they cost. The answer is not obvious. The same DeepSeek V4.1 Flash model is priced several times differently across providers. Take a support bot handling 2,000 conversations a month: directly through DeepSeek it costs about 660 ₽, while through Yandex it costs 7,200 ₽, which is 11 times more.
What is closed
OpenAI has returned a 403 error to requests from Russia since July 9, 2024. A key bought through acquaintances abroad does not help, because the address the request comes from is checked.
Anthropic does not include Russia in its list of supported countries. Starting November 12, 2026, a new version of the rules explicitly prohibits using Claude while located in an unsupported region, and this applies to Russian companies and their employees. In 2026, accounts of Russian users were blocked in waves: on May 8, October 1, and from October 29, by passport.
Gemini API: Russia is not on the list of regions where Google opens access.
OpenRouter stopped accepting payments from Russian accounts on May 11, closed its API to them on June 27, and from August 31 its terms prohibit circumventing restrictions through VPNs or proxies. Technically, you can reach closed APIs through your own server abroad, but that violates the terms, and the key can be disabled on any day. For production, such a dependency is too fragile.
What is open and what it costs
All five options understand the OpenAI format (GigaChat with caveats), so one openai client in the code is enough, and the provider is set with three lines: the address, the key, and the model name.
DeepSeek is the cheapest and strongest option, if you can pay for it. There are two models: deepseek-flash for everyday tasks and deepseek-v4-pro for complex ones, with context up to one million tokens. Flash costs $0.
30 per million input tokens and $1.20 per million output tokens during peak hours. The full price applies on weekdays from 04:00 to 07:00 and from 09:00 to 13:00 Moscow time; at other times it is half that, so it pays to schedule batch processing for the evening.
Cached input is 50 times cheaper than regular input, and the cache is triggered by a matching beginning of the request. So put the long system prompt and unchanging instructions first, and the variable text last. The main limitation: Russian cards are not accepted.
Error 402 means the balance has run out, and retrying will not help.
Yandex AI Studio offers payment in rubles, data stored in Russia, and closing documents. The catalog includes Yandex's models (Alice AI LLM, Alice AI LLM Flash, YandexGPT Pro 5.1), as well as DeepSeek V4.
1 Flash and Qwen3.6 35B. You pay a premium for the jurisdiction.
At the Central Bank rate on 24.11.2026 (82.
15 ₽ per dollar), DeepSeek directly costs about 25 ₽ per million input tokens and 99 ₽ per million output tokens during peak hours. On Yandex, the same model costs 300 ₽ and 500 ₽: 12 times more on input and 5 times more on output. Cached input there costs 75 ₽ versus 0.
49 ₽ at DeepSeek, a difference of more than 150 times. The model is specified with a full URI of the form gpt://<catalog ID>/deepseek-v4.1-flash, and the same catalog ID is passed as the project.
Chat Completions is only partially supported, so check function calling and structured output on your own requests. The catalog changes: gpt-oss and YandexGPT Lite have disappeared from the base list.
GigaChat API gives individuals a free Freemium package: 365 million tokens for 12 months for personal non-commercial use, with generation running in a single stream. For side projects, this will last a long time. Instead of a permanent key, you need a token that lives for 30 minutes, and OpenAI compatibility is partial. It is simpler to run the official gpt2giga proxy: it obtains the token itself and accepts requests in the OpenAI format. If Python complains about SSL, install the root certificate of the Russian Ministry of Digital Development's National Certification Center, but do not disable verification.
Ollama and LM Studio run a server with an OpenAI-compatible API on your own computer for free. This is the last line of defense: it works even if every cloud service is closed. Ollama has a trap: the default context length depends on video memory, and with less than 24 GB it is only 4,000 tokens. A long request will be silently truncated, so set OLLAMA_CONTEXT_LENGTH explicitly and check it with the ollama ps command.
The switch and the real cost
The author proposes a switch of about 40 lines of Python. The provider list is ordered from cheap and fast to reliable backup. Requests go to the first provider, and on errors 401, 402, 403, 404, 408, 409, 429, 5xx, or a lost connection, they move to the next one. Errors 400 and 422 do not trigger a switch: the request is malformed, and the neighbor will produce the same error.
The approach has limits. A timeout does not mean the request failed, so switching can mean paying twice. Response formats differ between models, so tests must run on every provider. And if your requests contain clients' personal data, keep a separate list that includes only Russian or local options.
For the estimate, the author used a support bot: 2,000 conversations a month, 6 requests each, 3,000 input tokens (2,000 of them cached), and 300 output tokens. The result was about 660 ₽ a month for DeepSeek directly, 7,200 ₽ for DeepSeek through Yandex, 4,680 ₽ for Qwen3.6 through Yandex, and 2,520 ₽ for Alice AI LLM Flash, which has a 64,000-token context. The spread is nearly tenfold, and the choice depends on the task and on where client data is allowed to be stored.
- Nov 29, 2026Stargate Data Center in Abilene Is Poaching Electricians: Paying at Least Three Times More
- Nov 29, 2026Google Is Not Banning Your Entire Account Over T3 Code: Only Antigravity Gets Shut Off for Gray-Area Plugins
- Nov 29, 202632 free skills for Claude from 9 GitHub repositories with 252K stars
- Nov 29, 2026Claude Code, Codex and OpenCode Wire Up MCP Differently: The Registry Holds 50,000 Servers
Key Questions Answered
What is closed?
OpenAI has returned a 403 error to requests from Russia since July 9, 2024. A key bought through acquaintances abroad does not help, because the address the request comes from is checked. Anthropic does not include Russia in its list of supported countries. Starting November 12, 2026, a new version of the rules explicitly prohibits using Claude while located in an unsupported region, and this applies to Russian companies and their employees.
What is open and what it costs?
All five options understand the OpenAI format (GigaChat with caveats), so one openai client in the code is enough, and the provider is set with three lines: the address, the key, and the model name. DeepSeek is the cheapest and strongest option, if you can pay for it. There are two models: deepseek-flash for everyday tasks and deepseek-v4-pro for complex ones, with context up to one million tokens. Flash costs $0.30 per million input tokens and $1.20 per million output tokens during peak hours.
What are the key details on The switch and the real cost?
The author proposes a switch of about 40 lines of Python. The provider list is ordered from cheap and fast to reliable backup. Requests go to the first provider, and on errors 401, 402, 403, 404, 408, 409, 429, 5xx, or a lost connection, they move to the next one. Errors 400 and 422 do not trigger a switch: the request is malformed, and the neighbor will produce the same error. The approach has limits. A timeout does not mean the request failed, so switching can mean paying twice.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
