A Coding Agent Without Cursor or Claude Code: Cline with DeepSeek Costs $21 a Month
Cursor, Claude Code and Copilot are no longer available in Russia, but you can build a coding agent from the free Cline or OpenCode shell and DeepSeek's model. At 300 requests a day, that comes to about $21 a month (roughly 1,750 rubles), about what the old $20 subscription cost. Through Yandex AI Studio, the same volume costs 20,000–30,000 rubles, but the code stays in Russia. For personal projects, use DeepSeek; for work code, use Qwen3.6 35B or a local model.
AI-processed from Habr AI; edited by Hamidun News
In 2026, Russian developers lost almost all of their familiar AI coding assistants, but they can replace them for roughly the same price. A coding agent is a shell program (Cline, OpenCode) plus a language model (for example, the Chinese DeepSeek). The shell is free, and you pay for the model based on usage. Take a typical workday: 300 requests to the model, each with about 40,000 tokens of context (a token is a chunk of text, roughly a syllable). That comes to about $21 a month, or roughly 1,750 rubles. That is almost exactly what the old $20 subscription to Cursor or Claude Code cost.
What was shut down. Cursor stopped working from Russian addresses on September 4. Anthropic has been blocking Claude Code accounts in waves (on May 8 and October 1), and since October 29 it has asked for a passport. OpenAI's API for Codex has been closed since July 9, 2024. GitHub Copilot is not sold in Russia because of US export controls, JetBrains AI has also stopped sales, and Google does not allow the country to use Antigravity. Roo Code is a special case: its authors shut it down on May 15, the repository is archived, and they recommend switching to Cline or ZooCode. There is no direct data on Windsurf.
The shell and the model: what can be replaced
The shell is an ordinary program. It reads project files, shows changes, runs commands and tests, and asks for permission. The model decides which file to open and what to change. In Cursor, Copilot and Claude Code, both parts are sold together and tied to an account, so a block shuts everything down at once. In open agents, the shell is free, and you choose the model yourself, or run it on your own computer.
There are four open shells:
- Cline: a VS Code extension with plan and act modes. It shows every edit and command and waits for confirmation. It has checkpoints for rollback, supports MCP, and has a terminal version.
- Kilo Code: a former fork of Roo Code, rewritten in 2026 on top of OpenCode. It works in VS Code, JetBrains and the terminal, which makes it convenient for teams using different editors.
- OpenCode: a terminal agent, the most popular in its group by GitHub stars, and similar to Claude Code. DeepSeek connects via the /connect command in version 1.18.30 and later.
- Aider: a long-standing terminal agent that records each change as a separate git commit. Any edit is easy to undo, and it works with any OpenAI-format API.
Which model to connect
DeepSeek directly is cheap, strong at code, and has a context of up to one million tokens. The downsides: you need a foreign bank card, and the code goes to servers in China. Yandex AI Studio with DeepSeek V4.1 Flash and Qwen3.6 35B offers payment in rubles and data stored in Russia, but it is noticeably more expensive. GLM Coding Plan is a subscription with limits, designed for agents, but payment from Russia is not confirmed. A local model via Ollama or LM Studio is free and does not send code off your computer, but it requires a graphics card with at least 24 GB, and it is weaker on complex tasks.
The local option has a trap: with less than 24 GB of VRAM, Ollama defaults to a 4,000-token context, which is not even enough for an agent to describe its tools. The recommended minimum is 64,000 tokens. Set OLLAMA_CONTEXT_LENGTH=65536 and check it with the command ollama ps.
There is also a surprise in DeepSeek's own documentation: it explains how to run Claude Code and Codex on its models without Anthropic or OpenAI accounts. For Claude Code, it is enough to install the program from npm and point it to https://api.deepseek.com/anthropic with a DeepSeek key. For Codex CLI (version 0.164 and later), there is an installation script. Download it and read it first rather than running it through curl | bash. The authors warn that Claude Code belongs to Anthropic and the terms may change, so it is better to build the main workflow on an open shell.
Among Russian solutions, the article names GigaCode from Sber (version 3.0 with a multi-agent system was released in June; free for personal use, from 1,699 rubles for business) and SourceCraft Code Assistant from Yandex (500 neural credits per month for free, paid plans from 1,190 rubles). According to Habr, there are already 18 Russian coding assistants. There are no independent comparisons between open shells on DeepSeek, so you will have to test them on your own tasks.
Where the numbers come from and what to choose
Calculation: 300 requests a day, 40,000 tokens of context each (90% repeat from the previous request and come from the cache), a 1,500-token reply, 22 working days a month.
- DeepSeek directly: about $1 a day, $21 a month at peak hours and about $11 off-peak.
- DeepSeek V4.1 Flash in Yandex AI Studio: 1,395 rubles a day, about 30,700 rubles a month.
- Qwen3.6 35B in Yandex AI Studio: 915 rubles a day, about 20,100 rubles a month.
- Local model: electricity only.
The difference is more than 15-fold, and the reason is caching. At each step, the agent resends almost the entire history, and a cached token costs 2% of the regular price at DeepSeek and 25% at Yandex. To save money, give the agent narrow tasks and start new sessions more often. The figures are the authors' assumptions, and your usage will differ.
For personal projects, OpenCode or Cline with deepseek-flash will work. For work code that must stay in Russia, use Cline or Kilo Code with Qwen3.6 35B through Yandex, or GigaCode. For code that cannot be shared with anyone, use a local model with a context of at least 64,000 tokens.
The safety rules are simple. Commit before each major task. Do not enable automatic approval of commands. Check new dependencies, since models invent nonexistent packages and attackers register those names in advance. Install only trusted MCP servers, and store your API key like a password with a spending limit. Keep a second shell or a second model provider configured as well: in 2026, more than one tool has disappeared over a weekend.
- Dec 2, 2026Amazon Open-Sources Ergo Coding Model: 74.2% on DeepSWE, $3 per Million Tokens
- Dec 2, 2026Amazon Open-Sources Ergo, a 1.1T-Parameter Model Running at Up to 2,200 Tokens/s
- Dec 2, 2026Anthropic Speeds Up Attack on ML-KEM and ML-DSA Ciphers, But They Can't Be Broken Yet
- Dec 2, 2026Claude Opus 5.5 Agent Beat Paper Authors on 28 of 48 FrontierCS 2 Tasks
Key Questions Answered
What are the key details on The shell and the model: what can be replaced?
The shell is an ordinary program. It reads project files, shows changes, runs commands and tests, and asks for permission. The model decides which file to open and what to change. In Cursor, Copilot and Claude Code, both parts are sold together and tied to an account, so a block shuts everything down at once. In open agents, the shell is free, and you choose the model yourself, or run it on your own computer. There are four open shells: Cline: a VS Code extension with plan and act modes.
Which model to connect?
DeepSeek directly is cheap, strong at code, and has a context of up to one million tokens. The downsides: you need a foreign bank card, and the code goes to servers in China. Yandex AI Studio with DeepSeek V4.1 Flash and Qwen3.6 35B offers payment in rubles and data stored in Russia, but it is noticeably more expensive. GLM Coding Plan is a subscription with limits, designed for agents, but payment from Russia is not confirmed.
Where the numbers come from and what to choose?
Calculation: 300 requests a day, 40,000 tokens of context each (90% repeat from the previous request and come from the cache), a 1,500-token reply, 22 working days a month. DeepSeek directly: about $1 a day, $21 a month at peak hours and about $11 off-peak. DeepSeek V4.1 Flash in Yandex AI Studio: 1,395 rubles a day, about 30,700 rubles a month. Qwen3.6 35B in Yandex AI Studio: 915 rubles a day, about 20,100 rubles a month. Local model: electricity only.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
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.
