all-MiniLM-L6-v2

Sentence Transformers

Cost/1M tokens

input
$0.005
output
$0.00
Context
512tokens
Released
5y ago
Size
22.71Mparameters

Sentence Transformers' all-MiniLM-L6-v2 is a sentence embedding model fine-tuned from the pretrained nreimers/MiniLM-L6-H384-uncased base model on more than one billion sentence pairs using a contrastive learning objective. The maker describes it as a general-purpose model that runs five times faster than all-mpnet-base-v2 while retaining good quality. It is built to encode sentences and short paragraphs as dense vectors for semantic search, clustering, and sentence-similarity tasks.

How it compares

Vs. your stack

Add the models you use to see how this one compares.

Sign in
Vs. what you use
Is all-MiniLM-L6-v2 better than what you use?BetterSameWorse

No verdicts yet

Discussion

Sign in to join the discussion

No comments yet

Be the first to share your thoughts.

Frequently asked questions

Running locally

Run all-MiniLM-L6-v2 locally

API and pricing

Generated from Vertical Tabs data, updated November 22, 2026.

To give you the best experience, we use cookies for personalization, insights, and performance. Learn more.