---
title: "Post Cloud Llm Chat Completions"
method: POST
path: "/api/llm/cloud/chat/completions"
---

# Post Cloud Llm Chat Completions

`POST /api/llm/cloud/chat/completions`

OpenAI-compatible chat-completions proxy over the shared key. Auth
accepts a user OR process token (omicos-core calls with the latter).
Quota is checked BEFORE proxying so a failed upstream call can't burn
budget; tokens are recorded AFTER the call inside cloud_llm.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omicos/omicos-server/revisions/a00b94573ffe/schema)
