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

# Azure OpenAI

Azure OpenAI — это сервис моделей OpenAI, размещённый Microsoft в Azure, подходящий для команд, которым нужны корпоративное соответствие требованиям, гарантии хранения данных в регионе или экосистема Microsoft.

## Подготовка

* Подписка Azure уже активирована
* В Azure Portal уже подана заявка и получено одобрение доступа к Azure OpenAI Service
* Создан как минимум один **ресурс (Resource)** и **развертывание (Deployment)**

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

* Azure Portal → ваш ресурс Azure OpenAI → `Ключи и конечная точка`
* Копировать `Ключ 1` или `Ключ 2`，запишите `Endpoint`(в виде `https://<your-name>.openai.azure.com/`）

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

* После того как `Настройки → Сервисы моделей`，найдите **Azure OpenAI** Provider, чтобы перейти на страницу подробностей
* **Ключ API**: вставьте скопированный KEY
* **адрес API**: укажите Endpoint ресурса (без конечного пути)
* **Версия API**: в специальное поле введите версию API вашего развертывания (например `2024-08-01-preview`）
* Нажмите **Получить список моделей**или вручную добавьте имя модели, уже развернутой вами в Azure (то есть Deployment Name, а не исходный ID модели OpenAI)

{% hint style="warning" %}
**Deployment Name vs Model ID**: в Azure используется имя, которое вы дали развертыванию (например `gpt-4o-prod`), а не `gpt-4o` . Если указать неверно, будет 404.
{% endhint %}

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

* **gpt-4o / gpt-4o-mini**: универсальные диалоги, Agent
* **gpt-4 turbo**: длинный контекст
* **text-embedding-3-**\*: модель эмбеддингов, можно использовать для базы знаний

## Частые вопросы

* **401 Unauthorized**: проверьте, правильно ли указан Key, и нет ли лишнего слэша в конце Endpoint
* **404 Not Found**: проверьте, совпадает ли Deployment Name с тем, что задан в Azure, и указана ли версия API
* **429 Throttled**: проверьте квоту Azure (страница Quota & Limits)

***

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

Если в процессе настройки или использования у вас возникнут вопросы, баги или предложения по улучшению функций, пожалуйста, обратитесь к [Обратная связь и предложения](/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/azure-openai.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.
