---
title: "Create embeddings"
method: POST
path: "/v1/embeddings"
tags: ["LLM"]
---

# Create embeddings

`POST /v1/embeddings`

OpenAI-compatible embeddings endpoint.

## Request body

- object
  - `model` string, required
  - `input` union, required
    - string
    - string[]
  - `dimensions` integer

## Response `200`

Embedding response

## Other responses

- `400` — Invalid request
- `401` — Authentication required
- `429` — Rate limit exceeded
- `500` — Provider error

---

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