Skip to main content

POST /v1/embeddings

OpenAI-compatible embeddings with the same keys and billing as the rest of the API.
Where the model supports embeddings, vectors are returned and usage is billed at the catalog rate. Models without embedding support return 404 model_not_found — nothing is billed.

Request

Response

Example

Errors

400 missing model/input · 401 bad key · 402 out of credits · 404 unknown model or no embedding support on this model · 429 busy/warming · 503 model unavailable.