---
title: "Create completion"
method: POST
path: "/openai/v1/completions"
---

# Create completion

`POST /openai/v1/completions`

## Request

- Base URL: `https://api.novita.ai`
- URL: `https://api.novita.ai/openai/v1/completions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/novita/apis/novita-api/docs/openai/v1/completions/post.ts> (a function with typed inputs; its response is checked against the schema)

Create an OpenAI-compatible text completion.

## Response `200`

Completion response

---

[API](https://skmtc.dev/novita/apis/novita-api.md) - [All operations](https://skmtc.dev/novita/apis/novita-api/llms.txt) - [OpenAPI document](https://skmtc.dev/novita/apis/novita-api/revisions/9172b007386e?raw)
