Dense 384-dim vectors
Each text is encoded to a fixed 384-dimensional float array on the live model. Vectors are L2-normalised.
Encode one or more texts into 384-dimensional dense vectors
You send a `texts` array; the service returns one 384-dim float vector per input plus the `dimensions` count and a `model` identifier. Use the vectors for semantic search indexing, clustering, duplicate detection, or as features for downstream ML. Synchronous; batch input is supported. Pricing note: cost is **per request**, not per text in the batch — sending 100 texts in one call still costs $0.002.
Each text is encoded to a fixed 384-dimensional float array on the live model. Vectors are L2-normalised.
Send any number of texts in `texts` and pay one per-request fee.
Texts in different languages are mapped into the same vector space.
The response includes `dimensions` and a `model` identifier so you can sanity-check vectors before storing them.
Embed documents and store vectors in a vector database for similarity search.
Cluster documents, users, or products by embedding similarity.
Compare embeddings to find near-duplicate content.
Use embeddings as features for classification, recommendation, or other ML pipelines.
Input
texts: array of strings
Output
embeddings (array of float arrays), dimensions (int), model (string)
Prerequisites
Even for one input, send a 1-element texts array.
{
"texts": ["Machine learning is a subset of artificial intelligence."]
}Response
{
"status": "success",
"data": {
"embeddings": [[-0.0344, 0.0310, 0.0067, "...384 floats..."]],
"dimensions": 384,
"model": "unknown"
}
}Send all texts in one request. Cost is per-request — same price for 1 or 100 texts.
{
"texts": [
"First document to embed.",
"Second document to embed."
]
}Response
{
"status": "success",
"data": {
"embeddings": [
[-0.0344, 0.0310, "...384 floats..."],
[ 0.0157, -0.0421, "...384 floats..."]
],
"dimensions": 384,
"model": "unknown"
}
}embeddings is always a list of vectors (even for 1 text). The single-text legacy `embedding` field is NOT returned.
Encode a list of texts into 384-dim float vectors. Always batch-shaped output.
/v1/proxy/text-embeddings
Billed per request.
| Service | Unit | Price |
|---|---|---|
| Text Embeddings | item | $0.002/request |
A: By design — embeddings are billed per request. Batch aggressively to keep cost down.
A: 384 on the live model. The response also includes a `dimensions` field for sanity checking.
A: The upstream currently returns `"model": "unknown"`. The vectors are stable across calls, so it's safe to store and reuse them — just refresh if the model field changes in the future.
1.2 (2026-04-29)
1.1 (2026-02-23)
1.0 (2026-01-26)