> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/russian/pre-basic/providers/openrouter.md).

# OpenRouter

OpenRouter — это**унифицированный шлюз**，с помощью одного ключа подключаются диалоговые модели более чем 200 поставщиков (GPT, Claude, Gemini, Llama, DeepSeek и т. д.), тарификация по токенам, подходит для сравнения нескольких моделей / пользователей, которые не могут регистрировать отдельные аккаунты у каждого провайдера.

## Получить API Key

* Перейдите в [OpenRouter](https://openrouter.ai/) Регистрация аккаунта
* `Настройки → Ключи` → `Создать ключ`，скопируйте `sk-or-...` ключ
* Пополните на любую сумму (минимум $1)

## Настройте в Cherry Studio

* Открыть `Настройки → Сервис моделей`и найдите **OpenRouter** Provider, чтобы перейти на страницу с подробностями
* **Ключ API** Введите `sk-or-...`
* **адрес API** По умолчанию `https://openrouter.ai/api`, без необходимости изменять
* Нажмите **Получить список моделей**，OpenRouter вернёт сотни доступных моделей

## Рекомендуемое использование

ID модели OpenRouter имеет вид `<vendor>/<model>`：

| Примеры ID модели                   | Кто это на самом деле     |
| ----------------------------------- | ------------------------- |
| `openai/gpt-4o`                     | OpenAI GPT-4o             |
| `anthropic/claude-sonnet-4`         | Anthropic Claude Sonnet 4 |
| `google/gemini-2.0-flash`           | Google Gemini Flash       |
| `meta-llama/llama-3.3-70b-instruct` | Meta Llama 3.3 70B        |
| `deepseek/deepseek-chat`            | DeepSeek V3               |
| `x-ai/grok-4`                       | xAI Grok                  |

## Сценарии применения

* **A/B-сравнение нескольких моделей**：в одном и том же провайдере Cherry Studio можно свободно переключать модели, не меняя провайдера
* **Избежать регистрации по одному**：одного ключа и одного счёта достаточно, чтобы использовать 200+ моделей
* **Редкие модели**：многие небольшие поставщики доступны только в OpenRouter (например, Cohere, Reka и т. д.)

## Связь с протоколом Anthropic

OpenRouter по умолчанию оборачивает все исходные модели в формат протокола OpenAI. Это означает:

* ✅ Обычные диалоги, базы знаний и быстрые помощники — всё работает
* ⚠️ [Cherry Agent](/docs/russian/cherry-studio/preview/agent.md) **Рекомендуется напрямую использовать** Anthropic / CherryIN, не используйте OpenRouter (Agent требует нативный протокол Anthropic)

{% hint style="info" %}

* OpenRouter добавляет небольшую наценку к цене производителя (обычно 5–10%), взамен получаете «один аккаунт для всего»
* Некоторые модели доступны в версии «free» (бесплатно, но с ограничением скорости); при фильтрации обращайте внимание на `(free)` элементы с суффиксом
* Подробный прайс-лист см. [Модели OpenRouter](https://openrouter.ai/models)
  {% endhint %}

***

### 💡 Получить помощь и отправить отзыв

Если вы в процессе настройки или использования столкнётесь с любыми вопросами, багами или предложениями по улучшению функций, пожалуйста, обратитесь к [Обратная связь и предложения](/docs/russian/question-contact/suggestions.md) официальным каналам, указанным там.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/russian/pre-basic/providers/openrouter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
