Skip to main content

POST Chat Completions

POST /v1/chat/completions Основной endpoint для генерации текста и диалогов.

Авторизация

Параметры

model, messages, temperature, max_tokens, stream, tools, response_format, reasoning, provider, plugins.

Пример

Ошибки

400 — неверный запрос; 401 — auth; 403 — права; 404 — объект не найден; 429 — лимит; 5xx — временная ошибка сервиса/provider.