---
title: "Create chat completion"
method: POST
path: "/v1/chat/completions"
tags: ["Inference"]
---

# Create chat completion

`POST /v1/chat/completions`

Generates a chat completion response for the provided model and chat history.

## Response `200`

## Other responses

- `400`
- `401`
- `404`
- `429`
- `500`
- `502`
- `503`

---

[API](https://skmtc.net/nscale/apis/region-service-api.md) · [All operations](https://skmtc.net/nscale/apis/region-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nscale/region-service-api/versions/c2991b23da6e/schema)
