How to use Cline with Claude, DeepSeek and GPT via RuAPI
Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.
Cline is an AI coding agent for VS Code: it reads and edits your project files, runs terminal commands and sees a task through from start to finish. To do that, it needs a language model. RuAPI gives you access to all the major models — Claude, GPT, Gemini, DeepSeek, GLM, Qwen, Kimi — with a single API key, and works from Russia without a VPN. You top up your balance in USDT; no foreign-issued card required.For a short overview of why connecting Cline through RuAPI is the easier option from Russia, see www.ruapi.ai/cline-v-rossii; the setup steps are below.
Choosing a connection method
Cline talks to models through a provider, set in the API Provider field. Two providers work with RuAPI:
Prompt caching works: context the agent re-sends at every step costs at least 10× less
DeepSeek, GPT, Gemini, GLM, Qwen, Kimi and others
OpenAI Compatible
https://www.ruapi.ai/v1
One URL for every other model
You can also connect Claude through OpenAI Compatible, but in that mode Cline doesn’t add cache markers, so only RuAPI auto-caching applies: on the first step of a new task at most the system prompt and tools are cached, and after a gap of more than 5 minutes the cache expires. The agent re-sends the entire task context at every step, so caching through the Anthropic provider is more reliable and cheaper. For Claude, use Anthropic.
You can configure both — Claude via Anthropic and everything else via OpenAI Compatible — and switch between them in the settings.
Before you start
1
RuAPI API key
Sign up at www.ruapi.ai and top up your balance (how to top up). Then go to Console → API Keys and click Create API key. Keys start with sk-.
2
Latest version of Cline
Install Cline from the VS Code Marketplace (search for “Cline”) or update it to the latest version — older versions may not list the newest Claude models.
No bank card needed: you can top up your balance in USDT. If you don’t have USDT yet, follow our step-by-step guide to buying it with rubles. Foreign-issued cards are accepted too.
The quickest way is to copy ready-made settings from the Console. Open Console → API Keys, click Connect Claude Code, Cline & more and pick Cline: the RuAPI address and your key are already filled in. The steps below do the same by hand. To set up the second provider, pick a model of the other type in the window — for example, deepseek-flash instead of Claude, or vice versa.
Console → API Keys: the “Connect Claude Code, Cline & more” button
The “Connect an app” window with Cline selected: the address and key are filled in (key hidden in the screenshot)
Claude via the Anthropic provider
1
Open Cline settings
Click the Cline icon in the VS Code sidebar, then ⚙️ at the top of the panel.
2
Fill in the fields
Field
Value
API Provider
Anthropic
Anthropic API Key
your RuAPI key sk-...
Use custom base URL
check the box and enter https://www.ruapi.ai — without a trailing /v1
Model
claude-sonnet-5-5 for everyday work or claude-opus-5-5 for complex tasks
3
Save
Click Done — Cline is ready to go.
If the model you need isn’t in the Model list, update Cline: the list of Anthropic models is bundled with the extension and updated with each release.
DeepSeek, GPT and other models via OpenAI Compatible
1
Open Cline settings
Cline icon in the sidebar → ⚙️.
2
Fill in the fields
Field
Value
API Provider
OpenAI Compatible
Base URL
https://www.ruapi.ai/v1 — with the trailing /v1
API Key
your RuAPI key sk-...
Model ID
the exact model name, e.g. deepseek-flash, deepseek-v4-pro, gpt-5.4 or glm-5.3
3
Check the model settings
Further down, under Model Configuration, tell Cline what the model supports:
Supports Images — enable it for GPT, Gemini and deepseek-flash. deepseek-v4-pro doesn’t accept images, so leave it off for that model.
Context Window Size — the model’s context window. Don’t set it higher than the model actually supports; otherwise, on long tasks Cline will send oversized requests and get errors.
Input Price / Output Price — optional. Enter the per-1M-token prices from the pricing page and Cline will show an estimated cost for each task.
4
Save
Click Done.
You’ll find the exact names of all models on the pricing page. Enter them exactly as listed, including any prefix and capitalization (e.g. kimi/kimi-k3).
Different models for Plan and Act
In Plan mode, Cline discusses the task and drafts a plan; in Act mode, it edits files and runs commands. Each mode can use its own model: in the settings, enable Use different models for Plan and Act and choose a model for each.Combinations that work well:
Priority
Plan
Act
Best quality
claude-opus-5-5
claude-sonnet-5-5
Price/quality balance
claude-sonnet-5-5
deepseek-flash
Lowest cost
deepseek-flash
deepseek-flash
You can also mix models from both providers (Anthropic and OpenAI Compatible).
Your first task
Open a project folder in VS Code and give Cline a task, for example:
Add error handling to the parseConfig function in config.ts
Cline will show a plan and propose edits. To confirm that requests are going through RuAPI, open Console → Usage Logs: you’ll see an entry for each request with the model and cost. If Claude is connected via Anthropic, from the second or third step onward the entry details show how many tokens were read from the cache.
Keeping costs down
New topic, new task. The task context grows with every step and is sent in full each time. Start a new task when you move on to another part of the project.
Use a cheaper model for Act. Plan with a strong model and hand routine edits to deepseek-flash — DeepSeek caches automatically.
Use a separate key with a spending limit. Create a dedicated key for Cline and set a limit on it in Console → API Keys so the agent can’t drain your entire balance.
Make sure you pasted the full RuAPI key (sk-...) with no extra spaces.
For the Anthropic provider, the URL is https://www.ruapi.aiwithout/v1; for OpenAI Compatible, it’s https://www.ruapi.ai/v1with/v1.
Model not found (404 or 503)
The model name must match the one on RuAPI exactly — copy it from the pricing page. If you’re using the Anthropic provider and the model isn’t in the list, update Cline.
400: “enabled” is not supported for this model
The newest Claude models (Opus 4.7 and later, plus all fifth-generation models) only support adaptive thinking. If Enable Extended Thinking is checked in an older version of Cline, the request is rejected. Update Cline or uncheck that box.
400: The reasoning_content in the thinking mode must be passed back
This can happen with DeepSeek in reasoning mode if you switch models mid-task. In most cases RuAPI automatically fixes and retries the request. If the error persists, start a new task.
429: Too many requests
The limit is 600 requests per minute per account; a single agent won’t come close to it in normal use. If the error persists, wait a minute and check whether several agents are sharing the same key.
Your balance is draining faster than expected
Make sure Claude is connected via the Anthropic provider (with caching), not OpenAI Compatible. Console → Usage Logs shows which models your tasks use and how many tokens they consume.
What’s next
Kilo Code — a similar VS Code agent (the RuAPI URLs are entered differently there; see the guide).
Switching from Roo Code — Roo Code shut down on May 15, 2026; its GitHub repository is archived. That page shows how to switch to Cline.
Claude Code — Anthropic’s official terminal agent.
{"docsConfig":{"theme":"mint","$schema":"https://www.mintlify.com/docs.json","name":"RuAPI","colors":{"primary":"#1E40AF","light":"#3B82F6","dark":"#1E3A8A"},"logo":{"light":"https://mintcdn.com/no-d0cfaf14/1VmhF-J3miQLRTX3/logo/light.svg?fit=max\u0026auto=format\u0026n=1VmhF-J3miQLRTX3\u0026q=85\u0026s=1f94dc794b3a69a72b12786da6d4c4c7","dark":"https://mintcdn.com/no-d0cfaf14/1VmhF-J3miQLRTX3/logo/dark.svg?fit=max\u0026auto=format\u0026n=1VmhF-J3miQLRTX3\u0026q=85\u0026s=241a7e0f83696d465133dd24c440283a"},"favicon":"https://mintcdn.com/no-d0cfaf14/QzFnMRT4kSNQIgBQ/favicon.ico?fit=max\u0026auto=format\u0026n=QzFnMRT4kSNQIgBQ\u0026q=85\u0026s=01953194b79fd1b0848c6a79d971b473","navbar":{"links":[{"icon":"telegram","href":"https://t.me/ruapi_ai","label":"Telegram"},{"href":"mailto:support@ruapi.ai","label":"support@ruapi.ai"}],"primary":{"type":"button","label":"Get started","href":"https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=navbar"}},"footer":{"socials":{"telegram":"https://t.me/ruapi_ai","website":"https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=footer"}},"seo":{"metatags":{"yandex-verification":"978301833ca68565"}},"styling":{"latex":true},"navigation":{"languages":[{"language":"ru","navbar":{"links":[{"icon":"telegram","href":"https://t.me/ruapi_ai","label":"Канал в Telegram"},{"href":"mailto:support@ruapi.ai","label":"support@ruapi.ai"}],"primary":{"type":"button","label":"Начать","href":"https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=ru-navbar"}},"href":"ru/introduction"},{"language":"en","navbar":{"links":[{"icon":"telegram","href":"https://t.me/ruapi_ai","label":"Telegram channel"},{"href":"mailto:support@ruapi.ai","label":"support@ruapi.ai"}],"primary":{"type":"button","label":"Get started","href":"https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=en-navbar"}},"href":"en/introduction"},{"language":"zh","navbar":{"links":[{"icon":"telegram","href":"https://t.me/ruapi_ai","label":"Telegram 频道"},{"href":"mailto:support@ruapi.ai","label":"support@ruapi.ai"}],"primary":{"type":"button","label":"开始使用","href":"https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=zh-navbar"}},"href":"zh/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"no-d0cfaf14","hasAudioNarration":false,"actualSubdomain":"no-d0cfaf14","customDomains":["docs.ruapi.ai"],"gitSource":{"type":"github","owner":"rayray881188","repo":"ruapi-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b011e86e6c40135846af32b","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"en","tag":"Integrations","count":20},{"language":"ru","tag":"Интеграции","count":20},{"language":"zh","tag":"工具对接","count":20},{"language":"en","tag":"Model guides","count":19},{"language":"ru","tag":"Гайды по моделям","count":19},{"language":"zh","tag":"模型指南","count":19},{"language":"en","tag":"From Russia: step by step","count":8},{"language":"ru","tag":"Из России — пошагово","count":8},{"language":"zh","tag":"在俄罗斯怎么用","count":8},{"language":"en","tag":"Guides","count":6},{"language":"en","tag":"Recipes","count":6},{"language":"ru","tag":"Руководства","count":6},{"language":"ru","tag":"Рецепты","count":6},{"language":"zh","tag":"指南","count":6},{"language":"zh","tag":"实战教程","count":6},{"language":"en","tag":"Video: Seedance","count":5},{"language":"ru","tag":"Видео: Seedance","count":5},{"language":"zh","tag":"视频:Seedance","count":5},{"language":"en","tag":"Capabilities","count":4},{"language":"en","tag":"Gemini","count":4},{"language":"ru","tag":"Возможности","count":4},{"language":"ru","tag":"Gemini","count":4},{"language":"zh","tag":"能力进阶","count":4},{"language":"zh","tag":"Gemini","count":4},{"language":"en","tag":"API Reference","count":3},{"language":"en","tag":"DeepSeek","count":3},{"language":"ru","tag":"Справочник API","count":3},{"language":"ru","tag":"DeepSeek","count":3},{"language":"zh","tag":"API 参考","count":3},{"language":"zh","tag":"DeepSeek","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"en/integrations/cline","slug":"/en/integrations/cline","pageMetadata":{"title":"How to use Cline with Claude, DeepSeek and GPT via RuAPI","sidebarTitle":"Cline","description":"Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.","icon":"robot","keywords":["Cline API setup","Cline Claude Russia","Cline DeepSeek","Cline OpenAI Compatible","Cline custom base URL","Cline Plan Act different models"],"canonicalUrl":"https://docs.ruapi.ai/en/integrations/cline","href":"/en/integrations/cline"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Table,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://cline.bot`,children:`Cline`}),` is an AI coding agent for VS Code: it reads and edits your project files, runs terminal commands and sees a task through from start to finish. To do that, it needs a language model. RuAPI gives you access to all the major models — Claude, GPT, Gemini, DeepSeek, GLM, Qwen, Kimi — with a single API key, and works from Russia without a VPN. You top up your balance in USDT; no foreign-issued card required.`]}),`\n`,_jsxs(_components.p,{children:[`For a short overview of why connecting Cline through RuAPI is the easier option from Russia, see `,_jsx(_components.a,{href:`https://www.ruapi.ai/cline-v-rossii?lng=en\u0026utm_source=docs\u0026utm_campaign=en-cline`,children:`www.ruapi.ai/cline-v-rossii`}),`; the setup steps are below.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choosing-a-connection-method`,children:`Choosing a connection method`}),`\n`,_jsxs(_components.p,{children:[`Cline talks to models through a provider, set in the `,_jsx(_components.strong,{children:`API Provider`}),` field. Two providers work with RuAPI:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Models`}),_jsx(_components.th,{children:`API Provider`}),_jsx(_components.th,{children:`Base URL`}),_jsx(_components.th,{children:`Why`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Claude: `,_jsx(_components.code,{children:`claude-opus-5-5`}),`, `,_jsx(_components.code,{children:`claude-sonnet-5-5`}),`, `,_jsx(_components.code,{children:`claude-haiku-5-5`})]}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Anthropic`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://www.ruapi.ai`})}),_jsx(_components.td,{children:`Prompt caching works: context the agent re-sends at every step costs at least 10× less`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`DeepSeek, GPT, Gemini, GLM, Qwen, Kimi and others`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`OpenAI Compatible`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://www.ruapi.ai/v1`})}),_jsx(_components.td,{children:`One URL for every other model`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`You can also connect Claude through `,_jsx(_components.strong,{children:`OpenAI Compatible`}),`, but in that mode Cline doesn’t add cache markers, so only `,_jsx(_components.a,{href:`/en/prompt-caching#ruapi-auto-caching`,children:`RuAPI auto-caching`}),` applies: on the first step of a new task at most the system prompt and tools are cached, and after a gap of more than 5 minutes the cache expires. The agent re-sends the entire task context at every step, so caching through the Anthropic provider is more reliable and cheaper. For Claude, use `,_jsx(_components.strong,{children:`Anthropic`}),`.`]})}),`\n`,_jsx(_components.p,{children:`You can configure both — Claude via Anthropic and everything else via OpenAI Compatible — and switch between them in the settings.`}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`RuAPI API key`,children:_jsxs(_components.p,{children:[`Sign up at `,_jsx(_components.a,{href:`https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=en-cline`,children:`www.ruapi.ai`}),` and top up your balance (`,_jsx(_components.a,{href:`/en/topup`,children:`how to top up`}),`). Then go to Console → `,_jsx(_components.strong,{children:`API Keys`}),` and click `,_jsx(_components.strong,{children:`Create API key`}),`. Keys start with `,_jsx(_components.code,{children:`sk-`}),`.`]})}),_jsx(Step,{title:`Latest version of Cline`,children:_jsx(_components.p,{children:`Install Cline from the VS Code Marketplace (search for “Cline”) or update it to the latest version — older versions may not list the newest Claude models.`})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`No bank card needed: you can top up your balance in USDT. If you don’t have USDT yet, follow our `,_jsx(_components.a,{href:`/en/buy-usdt`,children:`step-by-step guide to buying it with rubles`}),`. Foreign-issued cards are accepted too.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`The quickest way is to copy ready-made settings from the Console.`}),` Open `,_jsx(_components.a,{href:`https://www.ruapi.ai/console/token?utm_source=docs\u0026utm_campaign=en-cline`,children:`Console → API Keys`}),`, click `,_jsx(_components.strong,{children:`Connect Claude Code, Cline \u0026 more`}),` and pick Cline: the RuAPI address and your key are already filled in. The steps below do the same by hand. To set up the second provider, pick a model of the other type in the window — for example, `,_jsx(_components.code,{children:`deepseek-flash`}),` instead of Claude, or vice versa.`]})}),`\n`,_jsx(Frame,{caption:`Console → API Keys: the “Connect Claude Code, Cline \u0026 more” button`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/no-d0cfaf14/EdBAaGrmUKLbdQ3l/images/console/en/connect-button.webp?fit=max\u0026auto=format\u0026n=EdBAaGrmUKLbdQ3l\u0026q=85\u0026s=90916d989923d46fb2ae09ef347166f7`,alt:`RuAPI API Keys page: the https://www.ruapi.ai address and the “Connect Claude Code, Cline \u0026 more” button`,width:`1232`,height:`112`,style:{width:`100%`,maxWidth:`620px`,height:`auto`},\"data-og-width\":`1232`,\"data-og-height\":`112`,\"data-path\":`images/console/en/connect-button.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/no-d0cfaf14/EdBAaGrmUKLbdQ3l/images/console/en/connect-button.webp?w=280\u0026fit=max\u0026auto=format\u0026n=EdBAaGrmUKLbdQ3l\u0026q=85\u0026s=a7e1eda65847802a83e14d53348b5787 280w, https://mintcdn.com/no-d0cfaf14/EdBAaGrmUKLbdQ3l/images/console/en/connect-button.webp?w=560\u0026fit=max\u0026auto=format\u0026n=EdBAaGrmUKLbdQ3l\u0026q=85\u0026s=1fd4a63254818698d13c2ee061b69dd6 560w, https://mintcdn.com/no-d0cfaf14/EdBAaGrmUKLbdQ3l/images/console/en/connect-button.webp?w=840\u0026fit=max\u0026auto=format\u0026n=EdBAaGrmUKLbdQ3l\u0026q=85\u0026s=3821c1d3ee27fdc6e398567adbdf3937 840w, https://mintcdn.com/no-d0cfaf14/EdBAaGrmUKLbdQ3l/images/console/en/connect-button.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=EdBAaGrmUKLbdQ3l\u0026q=85\u0026s=5809f11ae9b91d66fb2a8f5cf457078e 1100w, https://mintcdn.com/no-d0cfaf14/EdBAaGrmUKLbdQ3l/images/console/en/connect-button.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=EdBAaGrmUKLbdQ3l\u0026q=85\u0026s=1d4ad1abdf125835753111223c0a008d 1650w, https://mintcdn.com/no-d0cfaf14/EdBAaGrmUKLbdQ3l/images/console/en/connect-button.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=EdBAaGrmUKLbdQ3l\u0026q=85\u0026s=ed514838451f86021aa709da5c7b46f3 2500w`})}),`\n`,_jsx(Frame,{caption:`The “Connect an app” window with Cline selected: the address and key are filled in (key hidden in the screenshot)`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/no-d0cfaf14/ELbLDqfC2kUIQ2b6/images/console/en/connect-cline.webp?fit=max\u0026auto=format\u0026n=ELbLDqfC2kUIQ2b6\u0026q=85\u0026s=95f5096f0cdc5b0e123e49a16b4ea534`,alt:`The “Connect an app” window in the RuAPI Console with ready-made settings for Cline`,width:`1440`,height:`1182`,style:{width:`100%`,maxWidth:`600px`,height:`auto`},\"data-og-width\":`1440`,\"data-og-height\":`1182`,\"data-path\":`images/console/en/connect-cline.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/no-d0cfaf14/ELbLDqfC2kUIQ2b6/images/console/en/connect-cline.webp?w=280\u0026fit=max\u0026auto=format\u0026n=ELbLDqfC2kUIQ2b6\u0026q=85\u0026s=8457c87add02d38ab72fd1e9f67f93ef 280w, https://mintcdn.com/no-d0cfaf14/ELbLDqfC2kUIQ2b6/images/console/en/connect-cline.webp?w=560\u0026fit=max\u0026auto=format\u0026n=ELbLDqfC2kUIQ2b6\u0026q=85\u0026s=8cec331b5effa7b7b50366329d77d497 560w, https://mintcdn.com/no-d0cfaf14/ELbLDqfC2kUIQ2b6/images/console/en/connect-cline.webp?w=840\u0026fit=max\u0026auto=format\u0026n=ELbLDqfC2kUIQ2b6\u0026q=85\u0026s=a08a8eaeb15f101c5fcb7158aa71b35b 840w, https://mintcdn.com/no-d0cfaf14/ELbLDqfC2kUIQ2b6/images/console/en/connect-cline.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=ELbLDqfC2kUIQ2b6\u0026q=85\u0026s=88c830fdf05318625389b46cddd8c41a 1100w, https://mintcdn.com/no-d0cfaf14/ELbLDqfC2kUIQ2b6/images/console/en/connect-cline.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=ELbLDqfC2kUIQ2b6\u0026q=85\u0026s=a23d996981ad2c222135274285c0e0ea 1650w, https://mintcdn.com/no-d0cfaf14/ELbLDqfC2kUIQ2b6/images/console/en/connect-cline.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=ELbLDqfC2kUIQ2b6\u0026q=85\u0026s=0eca5db240b975249094ddc1ff02843e 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`claude-via-the-anthropic-provider`,children:`Claude via the Anthropic provider`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open Cline settings`,children:_jsx(_components.p,{children:`Click the Cline icon in the VS Code sidebar, then ⚙️ at the top of the panel.`})}),_jsx(Step,{title:`Fill in the fields`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`API Provider`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Anthropic`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Anthropic API Key`})}),_jsxs(_components.td,{children:[`your RuAPI key `,_jsx(_components.code,{children:`sk-...`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Use custom base URL`})}),_jsxs(_components.td,{children:[`check the box and enter `,_jsx(_components.code,{children:`https://www.ruapi.ai`}),` — `,_jsx(_components.strong,{children:`without`}),` a trailing `,_jsx(_components.code,{children:`/v1`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Model`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`claude-sonnet-5-5`}),` for everyday work or `,_jsx(_components.code,{children:`claude-opus-5-5`}),` for complex tasks`]})]})]})]})}),_jsx(Step,{title:`Save`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Done`}),` — Cline is ready to go.`]})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`If the model you need isn’t in the `,_jsx(_components.strong,{children:`Model`}),` list, update Cline: the list of Anthropic models is bundled with the extension and updated with each release.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`deepseek-gpt-and-other-models-via-openai-compatible`,children:`DeepSeek, GPT and other models via OpenAI Compatible`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open Cline settings`,children:_jsx(_components.p,{children:`Cline icon in the sidebar → ⚙️.`})}),_jsx(Step,{title:`Fill in the fields`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`API Provider`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`OpenAI Compatible`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Base URL`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`https://www.ruapi.ai/v1`}),` — `,_jsx(_components.strong,{children:`with`}),` the trailing `,_jsx(_components.code,{children:`/v1`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`API Key`})}),_jsxs(_components.td,{children:[`your RuAPI key `,_jsx(_components.code,{children:`sk-...`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Model ID`})}),_jsxs(_components.td,{children:[`the exact model name, e.g. `,_jsx(_components.code,{children:`deepseek-flash`}),`, `,_jsx(_components.code,{children:`deepseek-v4-pro`}),`, `,_jsx(_components.code,{children:`gpt-5.4`}),` or `,_jsx(_components.code,{children:`glm-5.3`})]})]})]})]})}),_jsxs(Step,{title:`Check the model settings`,children:[_jsxs(_components.p,{children:[`Further down, under `,_jsx(_components.strong,{children:`Model Configuration`}),`, tell Cline what the model supports:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Supports Images`}),` — enable it for GPT, Gemini and `,_jsx(_components.code,{children:`deepseek-flash`}),`. `,_jsx(_components.code,{children:`deepseek-v4-pro`}),` doesn’t accept images, so leave it off for that model.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Context Window Size`}),` — the model’s context window. Don’t set it higher than the model actually supports; otherwise, on long tasks Cline will send oversized requests and get errors.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Input Price / Output Price`}),` — optional. Enter the per-1M-token prices from the `,_jsx(_components.a,{href:`https://www.ruapi.ai/pricing?utm_source=docs\u0026utm_campaign=en-cline`,children:`pricing page`}),` and Cline will show an estimated cost for each task.`]}),`\n`]})]}),_jsx(Step,{title:`Save`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Done`}),`.`]})})]}),`\n`,_jsxs(_components.p,{children:[`You’ll find the exact names of all models on the `,_jsx(_components.a,{href:`https://www.ruapi.ai/pricing?utm_source=docs\u0026utm_campaign=en-cline`,children:`pricing page`}),`. Enter them exactly as listed, including any prefix and capitalization (e.g. `,_jsx(_components.code,{children:`kimi/kimi-k3`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`different-models-for-plan-and-act`,children:`Different models for Plan and Act`}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Plan`}),` mode, Cline discusses the task and drafts a plan; in `,_jsx(_components.strong,{children:`Act`}),` mode, it edits files and runs commands. Each mode can use its own model: in the settings, enable `,_jsx(_components.strong,{children:`Use different models for Plan and Act`}),` and choose a model for each.`]}),`\n`,_jsx(_components.p,{children:`Combinations that work well:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Priority`}),_jsx(_components.th,{children:`Plan`}),_jsx(_components.th,{children:`Act`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Best quality`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`claude-opus-5-5`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`claude-sonnet-5-5`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Price/quality balance`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`claude-sonnet-5-5`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`deepseek-flash`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Lowest cost`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`deepseek-flash`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`deepseek-flash`})})]})]})]}),`\n`,_jsx(_components.p,{children:`You can also mix models from both providers (Anthropic and OpenAI Compatible).`}),`\n`,_jsx(Heading,{level:`2`,id:`your-first-task`,children:`Your first task`}),`\n`,_jsx(_components.p,{children:`Open a project folder in VS Code and give Cline a task, for example:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Add error handling to the parseConfig function in config.ts`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Cline will show a plan and propose edits. To confirm that requests are going through RuAPI, open Console → `,_jsx(_components.strong,{children:`Usage Logs`}),`: you’ll see an entry for each request with the model and cost. If Claude is connected via Anthropic, from the second or third step onward the entry details show how many tokens were read from the cache.`]}),`\n`,_jsx(Heading,{level:`2`,id:`keeping-costs-down`,children:`Keeping costs down`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`New topic, new task.`}),` The task context grows with every step and is sent in full each time. Start a new task when you move on to another part of the project.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use a cheaper model for Act.`}),` Plan with a strong model and hand routine edits to `,_jsx(_components.code,{children:`deepseek-flash`}),` — DeepSeek caches automatically.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use a separate key with a spending limit.`}),` Create a dedicated key for Cline and set a limit on it in Console → `,_jsx(_components.strong,{children:`API Keys`}),` so the agent can’t drain your entire balance.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`More detail, with the math, in `,_jsx(_components.a,{href:`/en/claude-code-cline-costs`,children:`How to cut your Claude Code and Cline bill`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`401 / Unauthorized`,id:`401-unauthorized`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Make sure you pasted the full RuAPI key (`,_jsx(_components.code,{children:`sk-...`}),`) with no extra spaces.`]}),`\n`,_jsxs(_components.li,{children:[`For the `,_jsx(_components.strong,{children:`Anthropic`}),` provider, the URL is `,_jsx(_components.code,{children:`https://www.ruapi.ai`}),` `,_jsx(_components.strong,{children:`without`}),` `,_jsx(_components.code,{children:`/v1`}),`; for `,_jsx(_components.strong,{children:`OpenAI Compatible`}),`, it’s `,_jsx(_components.code,{children:`https://www.ruapi.ai/v1`}),` `,_jsx(_components.strong,{children:`with`}),` `,_jsx(_components.code,{children:`/v1`}),`.`]}),`\n`]})}),_jsx(Accordion,{title:`Model not found (404 or 503)`,id:`model-not-found-404-or-503`,children:_jsxs(_components.p,{children:[`The model name must match the one on RuAPI exactly — copy it from the `,_jsx(_components.a,{href:`https://www.ruapi.ai/pricing?utm_source=docs\u0026utm_campaign=en-cline`,children:`pricing page`}),`. If you’re using the Anthropic provider and the model isn’t in the list, update Cline.`]})}),_jsx(Accordion,{title:`400: “enabled” is not supported for this model`,id:`400-enabled-is-not-supported-for-this-model`,children:_jsxs(_components.p,{children:[`The newest Claude models (Opus 4.7 and later, plus all fifth-generation models) only support adaptive thinking. If `,_jsx(_components.strong,{children:`Enable Extended Thinking`}),` is checked in an older version of Cline, the request is rejected. Update Cline or uncheck that box.`]})}),_jsx(Accordion,{title:`400: The reasoning_content in the thinking mode must be passed back`,id:`400-the-reasoning-content-in-the-thinking-mode-must-be-passed-back`,children:_jsx(_components.p,{children:`This can happen with DeepSeek in reasoning mode if you switch models mid-task. In most cases RuAPI automatically fixes and retries the request. If the error persists, start a new task.`})}),_jsx(Accordion,{title:`429: Too many requests`,id:`429-too-many-requests`,children:_jsx(_components.p,{children:`The limit is 600 requests per minute per account; a single agent won’t come close to it in normal use. If the error persists, wait a minute and check whether several agents are sharing the same key.`})}),_jsx(Accordion,{title:`Your balance is draining faster than expected`,id:`your-balance-is-draining-faster-than-expected`,children:_jsxs(_components.p,{children:[`Make sure Claude is connected via the `,_jsx(_components.strong,{children:`Anthropic`}),` provider (with caching), not OpenAI Compatible. Console → `,_jsx(_components.strong,{children:`Usage Logs`}),` shows which models your tasks use and how many tokens they consume.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`what’s-next`,children:`What’s next`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/integrations/kilo-code`,children:`Kilo Code`}),` — a similar VS Code agent (the RuAPI URLs are entered differently there; see the guide).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://www.ruapi.ai/roo-code-alternativa?lng=en\u0026utm_source=docs\u0026utm_campaign=en-cline`,children:`Switching from Roo Code`}),` — Roo Code shut down on May 15, 2026; its GitHub repository is archived. That page shows how to switch to Cline.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/integrations/claude-code`,children:`Claude Code`}),` — Anthropic’s official terminal agent.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/models`,children:`Models and prices`}),` — the full list of available models.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"How to use Cline with Claude, DeepSeek and GPT via RuAPI","sidebarTitle":"Cline","description":"Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.","icon":"robot","keywords":["Cline API setup","Cline Claude Russia","Cline DeepSeek","Cline OpenAI Compatible","Cline custom base URL","Cline Plan Act different models"],"canonicalUrl":"https://docs.ruapi.ai/en/integrations/cline","href":"/en/integrations/cline"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choosing a connection method","slug":"choosing-a-connection-method","depth":2,"children":[]},{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Claude via the Anthropic provider","slug":"claude-via-the-anthropic-provider","depth":2,"children":[]},{"title":"DeepSeek, GPT and other models via OpenAI Compatible","slug":"deepseek-gpt-and-other-models-via-openai-compatible","depth":2,"children":[]},{"title":"Different models for Plan and Act","slug":"different-models-for-plan-and-act","depth":2,"children":[]},{"title":"Your first task","slug":"your-first-task","depth":2,"children":[]},{"title":"Keeping costs down","slug":"keeping-costs-down","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"What’s next","slug":"what’s-next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/no-d0cfaf14/b2182f172390a67d/metrica.js","/_mintlify/custom/no-d0cfaf14/dfdd861a128e4705/support-fab.js"],"subdomain":"no-d0cfaf14","siteName":"RuAPI","title":"How to use Cline with Claude, DeepSeek and GPT via RuAPI - RuAPI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"ru":{"href":"/ru/integrations/cline","matchLevel":1},"en":{"href":"/en/integrations/cline","matchLevel":0},"zh":{"href":"/zh/integrations/cline","matchLevel":1}}},"lastModified":"2026-11-20T03:15:12.790Z","originalFileLocation":"en/integrations/cline.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.\">\u003cmeta data-mint-head name=\"application-name\" content=\"RuAPI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"How to use Cline with Claude, DeepSeek and GPT via RuAPI - RuAPI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RuAPI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ruapi.ai/en/integrations/cline\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://no-d0cfaf14.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=How+to+use+Cline+with+Claude%2C+DeepSeek+and+GPT+via+RuAPI\u0026amp;description=Step-by-step+Cline+setup+in+VS+Code+with+RuAPI%3A+Claude+via+the+Anthropic+provider+with+prompt+caching%3B+DeepSeek%2C+GPT+and+Gemini+via+OpenAI+Compatible.+Works+fro\u0026amp;theme=c4de6659e60b8aa7f179d30a\u0026amp;signature=870cf4ae61deeeacd4ce378b5635f13c441819b78b556e8a3f51fad849928ee8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"How to use Cline with Claude, DeepSeek and GPT via RuAPI - RuAPI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://no-d0cfaf14.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=How+to+use+Cline+with+Claude%2C+DeepSeek+and+GPT+via+RuAPI\u0026amp;description=Step-by-step+Cline+setup+in+VS+Code+with+RuAPI%3A+Claude+via+the+Anthropic+provider+with+prompt+caching%3B+DeepSeek%2C+GPT+and+Gemini+via+OpenAI+Compatible.+Works+fro\u0026amp;theme=c4de6659e60b8aa7f179d30a\u0026amp;signature=870cf4ae61deeeacd4ce378b5635f13c441819b78b556e8a3f51fad849928ee8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/no-d0cfaf14/vv0-ZrOtX6-3EqF8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RuAPI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1E40AF\">\u003cmeta data-mint-head name=\"yandex-verification\" content=\"978301833ca68565\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ruapi.ai/en/integrations/cline\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/integrations/cline.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.ruapi.ai/en/integrations/cline\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.ruapi.ai/ru/integrations/cline\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.ruapi.ai/zh/integrations/cline\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.ruapi.ai/ru/integrations/cline\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ruapi.ai/#organization\",\"name\":\"RuAPI\",\"url\":\"https://docs.ruapi.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/no-d0cfaf14/1VmhF-J3miQLRTX3/logo/light.svg?fit=max\u0026auto=format\u0026n=1VmhF-J3miQLRTX3\u0026q=85\u0026s=1f94dc794b3a69a72b12786da6d4c4c7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ruapi.ai#website\",\"name\":\"RuAPI\",\"url\":\"https://docs.ruapi.ai\",\"publisher\":{\"@id\":\"https://docs.ruapi.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ruapi.ai/en/integrations/cline#webpage\",\"url\":\"https://docs.ruapi.ai/en/integrations/cline\",\"name\":\"How to use Cline with Claude, DeepSeek and GPT via RuAPI\",\"description\":\"Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.\",\"dateModified\":\"2026-11-20T03:15:12.790Z\",\"isPartOf\":{\"@id\":\"https://docs.ruapi.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ruapi.ai/en/integrations/cline#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ruapi.ai/en/integrations/cline#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://docs.ruapi.ai/en/integrations/ccswitch\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use Cline with Claude, DeepSeek and GPT via RuAPI\",\"item\":\"https://docs.ruapi.ai/en/integrations/cline\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ruapi.ai/en/integrations/cline#article\",\"headline\":\"How to use Cline with Claude, DeepSeek and GPT via RuAPI\",\"name\":\"How to use Cline with Claude, DeepSeek and GPT via RuAPI\",\"description\":\"Step-by-step Cline setup in VS Code with RuAPI: Claude via the Anthropic provider with prompt caching; DeepSeek, GPT and Gemini via OpenAI Compatible. Works from Russia without a VPN; pay in USDT.\",\"url\":\"https://docs.ruapi.ai/en/integrations/cline\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ruapi.ai/en/integrations/cline#webpage\"},\"dateModified\":\"2026-11-20T03:15:12.790Z\",\"keywords\":\"Cline API setup, Cline Claude Russia, Cline DeepSeek, Cline OpenAI Compatible, Cline custom base URL, Cline Plan Act different models\",\"publisher\":{\"@id\":\"https://docs.ruapi.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ruapi.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"RuAPI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"RuAPI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/integrations/cline.md","siteName":"RuAPI","nav":{"global":null,"languages":[{"language":"ru","navbar":{"links":[{"icon":"telegram","href":"https://t.me/ruapi_ai","label":"Канал в Telegram"},{"href":"mailto:support@ruapi.ai","label":"support@ruapi.ai"}],"primary":{"type":"button","label":"Начать","href":"https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=ru-navbar"}},"pages":[{"title":"ru","href":"/ru/integrations/cline"}]},{"language":"en","navbar":{"links":[{"icon":"telegram","href":"https://t.me/ruapi_ai","label":"Telegram channel"},{"href":"mailto:support@ruapi.ai","label":"support@ruapi.ai"}],"primary":{"type":"button","label":"Get started","href":"https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=en-navbar"}},"groups":[{"group":"Getting Started","pages":[{"title":"RuAPI Docs","mode":"wide","href":"/en/introduction"},{"title":"Quick Start","icon":"bolt","href":"/en/quickstart"}]},{"group":"From Russia: step by step","pages":[{"title":"Claude Code in Russia: how to install and use it without a VPN","sidebarTitle":"Claude Code in Russia","icon":"terminal","href":"/en/claude-code-russia"},{"title":"Claude Code without a subscription: API key and pay-per-token from Russia","sidebarTitle":"Claude Code without a subscription","icon":"coins","href":"/en/claude-code-without-subscription"},{"title":"How to pay for the DeepSeek API from Russia","sidebarTitle":"Paying for DeepSeek API","icon":"wallet","href":"/en/pay-deepseek-api-russia"},{"title":"OpenAI (ChatGPT) API key in Russia: where to get it and how to pay","sidebarTitle":"OpenAI API key","icon":"key","href":"/en/openai-api-key-russia"},{"title":"Claude API key in Russia: where to get it and how to buy one","sidebarTitle":"Claude API key","icon":"key","href":"/en/claude-api-key-russia"},{"title":"Google AI Studio in Russia: how to use it and get a Gemini key","sidebarTitle":"Google AI Studio in Russia","icon":"google","href":"/en/google-ai-studio-russia"},{"title":"Gemini API key in Russia: where to get one and how","sidebarTitle":"Gemini API key","icon":"key","href":"/en/gemini-api-key-russia"},{"title":"Why some sell AI APIs at 5% of the official price — and what it costs you","sidebarTitle":"Why so cheap?","icon":"shield-halved","href":"/en/cheap-api-risks"}]},{"group":"Guides","pages":[{"title":"Models","icon":"layer-group","href":"/en/models"},{"title":"Model updates","icon":"clock-rotate-left","href":"/en/changelog"},{"title":"How billing works","icon":"receipt","href":"/en/pricing"},{"title":"Top-up Guide","icon":"wallet","href":"/en/topup"},{"title":"How to buy USDT with rubles","icon":"ruble-sign","href":"/en/buy-usdt"},{"title":"API keys \u0026 security","icon":"key","href":"/en/authentication"}]},{"group":"API Reference","pages":[{"title":"API Reference","icon":"code","href":"/en/api-reference"},{"title":"API error codes and fixes","icon":"triangle-exclamation","href":"/en/errors"},{"title":"OpenAI or Anthropic format: which one to use for Claude","sidebarTitle":"OpenAI vs Anthropic format","icon":"code-compare","href":"/en/openai-vs-anthropic-format"}]},{"group":"Model guides","pages":[{"group":"Claude","expanded":true,"pages":[{"title":"Claude API: tiers, versions and how to connect","sidebarTitle":"Claude API","icon":"brain","href":"/en/claude-api"},{"title":"Claude: “Request not allowed” (403) and “not allowed from unsupported countries” — what they mean and how to fix them","sidebarTitle":"Claude: Request not allowed","icon":"location-crosshairs","href":"/en/claude-request-not-allowed"}]},{"group":"OpenAI GPT","expanded":true,"pages":[{"title":"OpenAI GPT via RuAPI: the model lineup and when to use each","sidebarTitle":"GPT API","icon":"robot","href":"/en/gpt-api"},{"title":"OpenAI API: “unsupported_country_region_territory” (403) — what it means and how to fix it","sidebarTitle":"OpenAI: unsupported_country_region_territory","icon":"location-crosshairs","href":"/en/openai-unsupported-country-region-territory"}]},{"group":"Gemini","expanded":true,"pages":[{"title":"Gemini API: the model lineup, long context and multimodality","sidebarTitle":"Gemini API","icon":"sparkles","href":"/en/gemini-api"},{"title":"How to get the Gemini API in Russia: no VPN, no foreign card","sidebarTitle":"Gemini API without a VPN","icon":"earth-europe","href":"/en/gemini-api-russia"},{"title":"Gemini 4 Carbon: API release date, price and what to use now","sidebarTitle":"Gemini 4 Carbon","icon":"atom","href":"/en/gemini-4-carbon"},{"title":"Gemini API: “User location is not supported for the API use” — what it means and how to fix it","sidebarTitle":"Gemini: User location is not supported","icon":"location-crosshairs","href":"/en/gemini-user-location-not-supported"}]},{"group":"DeepSeek","expanded":true,"pages":[{"title":"DeepSeek API: the budget pick for code and reasoning","sidebarTitle":"DeepSeek API","icon":"microchip","href":"/en/deepseek-api"},{"title":"DeepSeek Flash: review and tests from Russia","sidebarTitle":"DeepSeek Flash review","icon":"bolt","href":"/en/deepseek-flash-review"},{"title":"DeepSeek API error 402 “Insufficient Balance” — what it means and how to fix it","sidebarTitle":"DeepSeek: 402 Insufficient Balance","icon":"wallet","href":"/en/deepseek-402-insufficient-balance"}]},{"title":"GLM API: Zhipu's models and how to connect","sidebarTitle":"GLM API (Zhipu)","icon":"cube","href":"/en/glm-api"},{"group":"Video: Seedance","expanded":true,"pages":[{"title":"Video generation: Seedance 2.0 / 2.5","sidebarTitle":"Video generation","icon":"clapperboard","href":"/en/video-generation"},{"title":"How to use Seedance 2.5 and 2.0 online: generate video in your browser with no subscription or VPN","sidebarTitle":"Seedance online in the browser","icon":"film","href":"/en/seedance-online"},{"title":"Seedance 2.5 and 2.0 prompts: formula, storyboards, sound and ready-made examples","sidebarTitle":"Seedance prompts","icon":"wand-magic-sparkles","href":"/en/seedance-prompts"},{"title":"Seedance: “input image may contain real person” (PrivacyInformation) — what it means and how to fix it","sidebarTitle":"Seedance: real person","icon":"user-slash","href":"/en/seedance-real-person-error"},{"title":"Seedance: PolicyViolation and SensitiveContentDetected — why a prompt, photo or finished video was rejected","sidebarTitle":"Seedance: moderation","icon":"shield-halved","href":"/en/seedance-sensitive-content-error"}]},{"group":"Images","expanded":true,"pages":[{"title":"Image generation: Gemini Image and GPT Image","sidebarTitle":"Image generation","icon":"image","href":"/en/image-generation"},{"title":"GPT Image 2.6 API in Russia without a VPN: Flare vs Sunburst, pricing, GIF and SVG","sidebarTitle":"GPT Image 2.6","icon":"image","href":"/en/gpt-image-2-6"}]}]},{"group":"Integrations","pages":[{"title":"CC Switch: point Claude Code and Codex at RuAPI","sidebarTitle":"CC Switch (multi-tool switcher)","icon":"shuffle","href":"/en/integrations/ccswitch"},{"title":"How to connect Claude Code to RuAPI","sidebarTitle":"Claude Code","icon":"terminal","href":"/en/integrations/claude-code"},{"title":"Claude Code on DeepSeek: Flash and V4 Pro","icon":"terminal","href":"/en/integrations/claude-code-deepseek"},{"title":"How to connect Codex CLI to RuAPI","sidebarTitle":"Codex CLI","icon":"code","href":"/en/integrations/codex"},{"title":"How to use OpenCode with Claude, DeepSeek and GPT via RuAPI","sidebarTitle":"OpenCode","icon":"square-terminal","href":"/en/integrations/opencode"},{"title":"How to connect OpenClaw to RuAPI","sidebarTitle":"OpenClaw","icon":"shrimp","href":"/en/integrations/openclaw"},{"title":"How to connect Hermes Agent to RuAPI","sidebarTitle":"Hermes Agent","icon":"caduceus","href":"/en/integrations/hermes"},{"title":"DeepSeek Harness (dsh) + RuAPI: DeepSeek, Claude and GPT in one agent","sidebarTitle":"DeepSeek Harness (dsh)","icon":"terminal","href":"/en/integrations/deepseek-harness"},{"title":"Cherry Studio: connect to RuAPI with an API key","sidebarTitle":"Cherry Studio","icon":"cherries","href":"/en/integrations/cherry-studio"},{"title":"How to switch from Cursor to Cline, Kilo Code, Claude Code and other agents","sidebarTitle":"Switching from Cursor","icon":"arrow-right-arrow-left","href":"/en/integrations/cursor-alternatives"},{"title":"Cursor with your own API key: connect to RuAPI","sidebarTitle":"Cursor","description":"How to connect the Cursor AI editor to RuAPI by overriding the OpenAI Base URL — your own key, no subscription","icon":"i-cursor","href":"/en/integrations/cursor"},{"title":"How to use Cline with Claude, DeepSeek and GPT via RuAPI","sidebarTitle":"Cline","icon":"robot","href":"/en/integrations/cline"},{"title":"Roo Code (shut down): connect Claude, DeepSeek and GPT via RuAPI","sidebarTitle":"Roo Code (shut down)","description":"Connect Claude, DeepSeek and GPT via RuAPI in an installed Roo Code (Anthropic and OpenAI Compatible). It shut down on May 15, 2026, and won't get new versions.","icon":"code","href":"/en/integrations/roo-code"},{"title":"How to use Kilo Code with Claude, DeepSeek and GPT via RuAPI","sidebarTitle":"Kilo Code","icon":"bolt","href":"/en/integrations/kilo-code"},{"title":"n8n: use RuAPI models in workflows (OpenAI node)","sidebarTitle":"n8n","icon":"diagram-project","href":"/en/integrations/n8n"},{"title":"LangChain with RuAPI: ChatOpenAI and base_url","sidebarTitle":"LangChain","icon":"link","href":"/en/integrations/langchain"},{"title":"JetBrains AI Assistant with your own key: Claude, DeepSeek and GPT via RuAPI","sidebarTitle":"JetBrains AI Assistant","icon":"laptop-code","href":"/en/integrations/jetbrains-ai-assistant"},{"title":"Open WebUI: connect RuAPI (OpenAI API Base URL)","sidebarTitle":"Open WebUI","icon":"browser","href":"/en/integrations/open-webui"},{"title":"LibreChat: add RuAPI as a custom endpoint","sidebarTitle":"LibreChat","icon":"comments","href":"/en/integrations/librechat"},{"title":"How to use Continue with Claude, DeepSeek and GPT via RuAPI (VS Code, JetBrains)","sidebarTitle":"Continue (discontinued)","icon":"forward","href":"/en/integrations/continue"}]},{"group":"Capabilities","pages":[{"title":"Streaming responses","icon":"wave-square","href":"/en/streaming"},{"title":"Prompt caching: pay at least 10× less for repeated context","sidebarTitle":"Prompt caching","icon":"database","href":"/en/prompt-caching"},{"title":"Function calling (tool use)","icon":"screwdriver-wrench","href":"/en/function-calling"},{"title":"Image input (vision)","icon":"image","href":"/en/vision"}]},{"group":"Recipes","pages":[{"title":"DeepSeek vs Claude: what one day of work actually costs","icon":"scale-balanced","href":"/en/deepseek-vs-claude"},{"title":"How to cut your Claude Code and Cline bill: caching, models, context","sidebarTitle":"Saving on Claude Code and Cline","icon":"piggy-bank","href":"/en/claude-code-cline-costs"},{"title":"Claude auto-caching: cache prices without setting cache_control","sidebarTitle":"Claude auto-caching","icon":"coins","href":"/en/claude-auto-cache"},{"title":"Long context in the API: what it costs and how to cut it","sidebarTitle":"Long context: how to save","icon":"scroll","href":"/en/long-context-costs"},{"title":"AI Telegram bot without code: GPT, Claude, DeepSeek","sidebarTitle":"Your own Telegram bot","icon":"telegram","href":"/en/integrations/telegram-bot"},{"title":"A Telegram bot on an LLM (Claude/GPT)","icon":"paper-plane","href":"/en/recipes/telegram-bot"}]},{"group":"Legal","pages":[{"title":"Terms of Service","icon":"scale-balanced","href":"/en/legal/terms"},{"title":"Privacy Policy","icon":"lock","href":"/en/legal/privacy"},{"title":"Refund Policy","icon":"circle-xmark","href":"/en/legal/refund"}]}]},{"language":"zh","navbar":{"links":[{"icon":"telegram","href":"https://t.me/ruapi_ai","label":"Telegram 频道"},{"href":"mailto:support@ruapi.ai","label":"support@ruapi.ai"}],"primary":{"type":"button","label":"开始使用","href":"https://www.ruapi.ai/?utm_source=docs\u0026utm_campaign=zh-navbar"}},"pages":[{"title":"zh","href":"/zh/integrations/cline"}]}]},"basePath":"","title":"How to use Cline with Claude, DeepSeek and GPT via RuAPI - RuAPI","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["07c022d89b","a74be98ba7","a9bb46feb3"],"chunks":["Frame-D0FT0qQs.js","DynamicMarkdown-CQM9Bhbv.js","zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}