Skip to content
全部文章

All MiniLM Embeddings are free on Go and higher

Sentence-Transformers' All MiniLM compact embedding model is free on AnyRouter Go and higher, with $0 input/output and no daily cap on Go plans.


What is free

sentence-transformers/all-minilm:free is free on AnyRouter right now.

The catalog shows $0 for input and $0 for output, and credits are not deducted.

It is free on Go and every higher plan, with no credit spend and no daily cap.

Free-model requests share one per-account limit per minute: ${FREE_RPM_ZH}.

Free plan gets a 5-request lifetime trial on free models, then needs Go.

Go is $2 a month, or free when you donate one valid, unique provider key.

BYOK and top-ups work on every plan.

Why it is worth a try

All MiniLM returns a 384-dimension dense vector over a 256-token window.

It is the sentence-transformers MiniLM family (L6-v2 and L12-v1 cuts) for fast, compact text embedding, and is MIT-licensed.

The 256-token window is suitable for short prompts, and the 384-dimensional vectors are lightweight for quick similarity computation and RAG pipelines.

Try it

Add :free to pin the free route. The request never falls through to a paid one.

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:free",
    "input": "Your text here"
  }'
TypeScript / SDK
fetch("https://anyrouter.dev/api/v1/embeddings", {
  method: "POST",
  headers: {
    Authorization: "Bearer $ANYROUTER_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ model: "sentence-transformers/all-minilm:free", input: "Your text here" }),
}).then((r) => r.json())

Model page — live routes and price.

All free models — the full free list.

Official domain / clone

The model is also available via Ollama: pull all-minilm:latest from the Ollama library (tags: 22m/33m/latest). MIT-licensed weights.

Hugging Face model card: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2

两分钟发第一笔请求

用自己的 key 免费开始,或充值按 token 计费。Go 每月 $4 额度 — $2/月,或捐一把 provider key 免费开通。

开始使用