Skip to content

All MiniLM

Free
sentence-transformers/all-minilm

Embed · 384 dimensions · Dec 2022 · 1 upstreams

All MiniLM is the sentence-transformers MiniLM family (L6-v2 and L12-v1 cuts) for fast, compact text embedding. Returns a 384-dimension dense vector over a 256-token window. MIT-licensed. AnyRouter exposes the text path via /embeddings on the user's own paired device running Ollama.

max input
256
dimensions
384
input / 1M
$0
routes
1

Upstreams

1
  1. 1OllamaRelayFree

Quick start

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

Details

Owner
Sentence Transformers
Kind
Embeddings
Released
Dec 2022
Context
256
Data policy
Zero retention
Endpoint
/api/v1/embeddings