Skip to content

all-MiniLM-L6-v2

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

Embed · 512 context · Mar 2022 · 3 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, Nous Research or Infron. AnyRouter adds no fee.
max input
512
dimensions
—
input / 1M (list)
$0.0050
routes
3

Upstreams

6
  1. 1RespanPool$0.0050 / $0
  2. 2Nous ResearchPool$0.0050 / $0
  3. 3InfronPool$0.0050 / $0
  4. 4RespanBYOKBilled to your key
  5. 5Nous ResearchBYOKBilled to your key
  6. 6InfronBYOKBilled to your key

Compare

Compared with models of similar price and context window.

all-MiniLM-L6-v2$0.01$0512
BGE Base EN v1.5$0.01$0512
E5 Base v2$0.01$0512
GTE Base$0.01$0512
Multilingual E5 Large$0.01$0512
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