> 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/newapi.md).

# NewAPI

Cherry Studio уже встроил провайдера New API. Один адрес New API может одновременно подключаться к протоколам OpenAI Chat, OpenAI Responses, Anthropic Messages и Gemini, не нужно отдельно добавлять провайдера для каждого протокола.

## Шаги настройки

1. Создайте и скопируйте токен в панели управления New API;
2. Откройте Cherry Studio【Настройки】→【Сервисы моделей】→【New API】;
3. Заполните【API-ключ】;
4. В【API-адрес】укажите корневой адрес New API, например `https://api.example.com`；
5. Получите модель или добавьте её вручную, после завершения【Проверки】включите переключатель активации в правом верхнем углу.

Cherry Studio автоматически будет использовать соответствующий путь версии в зависимости от выбранного протокола, например `/v1` или `/v1beta`。Обычно достаточно один раз указать корневой адрес, не вставляйте `/chat/completions` и другие полные пути к API.

{% hint style="warning" %}
Если вы ранее использовали бета-версию и сохранили в адресах других протоколов `localhost:3000` и другие старые значения, перейдите в настройки New API, один раз очистите старые адреса для протоколов, отличных от стандартного, и затем повторно выполните проверку. Иначе некоторые модели могут по-прежнему обращаться к старому адресу.
{% endhint %}

<details>

<summary>Что делать, если прокси-станция использует путь без версии?</summary>

Только если прокси-станция явно требует использовать путь без `/v1` или `/v1beta` версии `#`。`#` Это означает, что версия пути больше не будет автоматически добавляться; для обычного развёртывания New API не используйте.

</details>

{% hint style="info" %}
В адресе обязательно должен быть указан корректный `http://` или `https://`。При использовании IP и порта можно указать корневой адрес в формате `http://127.0.0.1:3000` 。
{% endhint %}

***

### Получение помощи и отправка отзывов

Если у вас во время настройки или использования возникнут какие-либо вопросы, ошибки или предложения по улучшению функций, пожалуйста, обратитесь к [Обратная связь и предложения](https://docs.cherryai.com.cn/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
