# GLM 5.2

GLM 5.2: где доступна модель, что она поддерживает и что тарифицируется.

GLM 5.2 — модель Z.ai. Идентификатор для поля `model`: `glm-5.2`.

## Характеристики

| Параметр           | Значение                                                                       |
| ------------------ | ------------------------------------------------------------------------------ |
| Вид                | Генеративные модели                                                            |
| Контекстное окно   | 272 000 токенов                                                                |
| Уровни рассуждений | `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, `max`; по умолчанию `max` |
| В меню Claude Code | нет                                                                            |
| В меню Codex       | нет                                                                            |

## Где доступна

| API                     | Путь                                                                                                                                                                                                                                         |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| OpenAI Chat Completions | [`/openai/api/v1/chat/completions`](https://coreinfra.ru/docs/reference/openai.md); [`/codex/api/v1/chat/completions`](https://coreinfra.ru/docs/use/codex.md); [`/xai/api/v1/chat/completions`](https://coreinfra.ru/docs/reference/xai.md) |
| Anthropic Messages      | [`/anthropic/api/v1/messages`](https://coreinfra.ru/docs/reference/anthropic.md); [`/claude/api/v1/messages`](https://coreinfra.ru/docs/use/claude.md); [`/xai/api/v1/messages`](https://coreinfra.ru/docs/reference/xai.md)                 |
| OpenAI Responses        | [`/openai/api/v1/responses`](https://coreinfra.ru/docs/reference/openai.md); [`/codex/api/v1/responses`](https://coreinfra.ru/docs/use/codex.md); [`/xai/api/v1/responses`](https://coreinfra.ru/docs/reference/xai.md)                      |
| Google Interactions     | [`/google/api/v1beta/interactions`](https://coreinfra.ru/docs/reference/google.md); [`/google/api/v1/interactions`](https://coreinfra.ru/docs/reference/google.md)                                                                           |

## Особенности

В OpenAI Chat Completions поддерживаются `max_completion_tokens` и `max_tokens` (с приоритетом `max_completion_tokens`) и игнорируются поля `user_id` и `inference_geo`.

## Что тарифицируется

Оплачиваются: входные токены, выходные токены, чтение кэша.

Актуальные цены в рублях — в разделе [«Тарифы»](https://hub.coreinfra.ai/pricing).
