Skip to content

all-MiniLM-L6-v2

Embeddings
sentence-transformers/all-minilm-l6-v2

Embed · 512 context · Mar 2022 · 2 upstreams

all-MiniLM-L6-v2 is an open-weight embedding model that maps sentences and short paragraphs to 384-dimensional vectors for retrieval, clustering and semantic similarity. 512-token input.

Needs your own keyTo use all-MiniLM-L6-v2, add a key from Respan or Nous Research. AnyRouter adds no fee.
max input
512
dimensions
—
input / 1M (list)
$0.0050
routes
2

Upstreams

2
  1. 1RespanYour keynot addedBilled to your key
  2. 2Nous ResearchYour keynot addedBilled to your key

Quick start

POST /api/v1/embeddings
curl https://anyrouter.dev/api/v1/embeddings \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sentence-transformers/all-minilm-l6-v2",
    "input": "The quick brown fox jumps over the lazy dog"
  }'

Details

Owner
Sentence Transformers
Kind
Embeddings
Released
Mar 2022
Context
512
Data policy
Provider retention
Endpoint
/api/v1/embeddings