← All models
Sentence Transformers · Embedding model
all-MiniLM-L6-v2
sentence-transformers/all-minilm-l6-v2- Embedding
The all-MiniLM-L6-v2 embedding model maps sentences and short paragraphs into a 384-dimensional dense vector space, enabling high-quality semantic representations that are ideal for downstream tasks such as information retrieval, clustering,...
Specifications
- Input
- text
- Output
- vector per input (float array; base64 on request)
- Batch
- up to 512 inputs per call
- Billing
- per input token
Use it
POST /api/v1/embeddings · MCP embed · full reference
curl https://omnirail.org/api/v1/embeddings \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"sentence-transformers/all-minilm-l6-v2","input":["brass lever espresso machine","coffee grinder"]}'