All-MiniLM-L6-v2
by Sentence Transformers · Aug 30, 2021
All-MiniLM-L6-v2 is an open-weight embedding model from Sentence Transformers, released Aug 30, 2021. It has a 256-token context window. API pricing starts at $0.009 per million input tokens and Free per million output tokens.
- Provider
- Sentence Transformers
- Released
- Aug 30, 2021
- Type
- Embedding model
- Parameters
- Undisclosed
- Context window
- 256 tokens
- Max output
- 384 tokens
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- —
- Knowledge cutoff
- —
- Status
- Available via API
About All-MiniLM-L6-v2
Embedding model for semantic search, retrieval, clustering, and ranking pipelines
Where to run All-MiniLM-L6-v2 — API providers & pricing
| Provider | Input $/1M | Output $/1M | Cached input | Context |
|---|---|---|---|---|
| DigitalOcean | $0.009 | Free | — | 256 |
Open weights: you can also run All-MiniLM-L6-v2 locally with Ollama, LM Studio, llama.cpp or vLLM.
All-MiniLM-L6-v2 vs alternatives
- All-MiniLM-L6-v2 vs hubert-large-ll60k
- All-MiniLM-L6-v2 vs bart-base
- All-MiniLM-L6-v2 vs canine-c
- All-MiniLM-L6-v2 vs wavlm-large
- All-MiniLM-L6-v2 vs wavlm-base-plus
- All-MiniLM-L6-v2 vs Multi-QA-mpnet-base-dot-v1
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| hubert-large-ll60kopen | Meta | Mar 2022 | — | — | — | — | — |
| bart-baseopen | Meta | Mar 2022 | 139M | — | — | — | — |
| canine-copen | Google DeepMind | Mar 2022 | 132M | — | — | — | — |
| wavlm-largeopen | Microsoft | Mar 2022 | — | — | — | — | — |
| wavlm-base-plusopen | Microsoft | Mar 2022 | — | — | — | — | — |
| Multi-QA-mpnet-base-dot-v1open | Sentence Transformers | Aug 2021 | — | 512 | $0.009 | Free | — |
| All-MiniLM-L12-v2open | Sentence Transformers | Aug 2021 | — | 128 | — | — | — |
| bge-small-en-v1.5open | BAAI | Sep 2023 | 33M | — | — | — | — |
More models from Sentence Transformers
All Sentence Transformers models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Multi-QA-mpnet-base-dot-v1open | Aug 2021 | — | 512 | $0.009 | Free |
| All-MiniLM-L12-v2open | Aug 2021 | — | 128 | — | — |
Frequently asked questions
Who made All-MiniLM-L6-v2?
All-MiniLM-L6-v2 was developed by Sentence Transformers. It was released on Aug 30, 2021.
What is the context window of All-MiniLM-L6-v2?
All-MiniLM-L6-v2 supports a context window of 256 tokens (256) and can generate up to 384 output tokens per response.
How much does All-MiniLM-L6-v2 cost?
All-MiniLM-L6-v2 costs $0.009 per 1M input tokens and Free per 1M output tokens. Prices vary across the 1 providers that serve it.
Is All-MiniLM-L6-v2 open source?
Yes. All-MiniLM-L6-v2's weights are publicly available, so you can download and run it yourself.
Where can I use All-MiniLM-L6-v2?
All-MiniLM-L6-v2 is available via 1 API provider, and you can also self-host it with tools like vLLM, Ollama or LM Studio.
Sources: models.dev. Last updated 2026-11-22.