Dense 384-dim vectors
Each text becomes a fixed 384-dimensional vector, normalized so cosine similarity is a simple dot product.
Send a list of texts and get back one 384-dimensional vector per text, along with
Learn more about Text EmbeddingsResults show up here
The sample input is ready — just hit Run.
Send a list of texts and get back one 384-dimensional vector per text, along with the vector dimensions and the model identifier. Use the vectors for semantic search indexing, clustering, duplicate detection, or as features for your own ML. Responses are synchronous, and you can embed many texts in a single request.
Pricing is per request, not per text — embedding 100 texts in one call costs the same $0.002 as embedding one.
Each text becomes a fixed 384-dimensional vector, normalized so cosine similarity is a simple dot product.
Embed any number of texts in a single call and pay one per-request fee.
Texts in different languages are mapped into the same vector space.
Each response includes the vector dimensions and model identifier so you can sanity-check vectors before storing them.
Search indexing
Embed documents and store the vectors in a vector database for similarity search.
Clustering
Group documents, users, or products by vector similarity.
Duplicate detection
Compare vectors to find near-duplicate content.
Feature input
Use embeddings as features for classification, recommendation, or other ML pipelines.
input
A texts array of strings.
output
One vector per text, plus the vector dimensions and model identifier.
embeddings is always a list of vectors — embeddings[i] is the vector for texts[i] — even when you send a single text.textsrequiredarray<string>The texts to embed. Always send an array — even one text needs a one-element array.
embeddingsarray<array<number>>A list of vectors. embeddings[i] corresponds to texts[i] in your request. Each vector has 384 floats.
dimensionsintegerThe length of each vector (384).
modelstringIdentifier of the embedding model used to produce the vectors.
Billed per request.
| Service | Unit | Price |
|---|---|---|
| Text Embeddings | item | $0.002/request |
Cost is per request, not per text. Batch as many texts as fit in your payload to make the most of each call.