Skip to main content
POST
Embeddings
Convert text into high-dimensional vectors for semantic retrieval, clustering, recommendation and more.

Request

Parameters

Response

Python example

Dimension truncation

Truncated vectors preserve semantics while using less memory / compute.

Billing

Charged by prompt_tokens only — no output tokens. See Billing.