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