All-MiniLM-L6-v2
Summary
All-MiniLM-L6-v2 is an open-weight language model from Sentence Transformers, released on 30 Aug 2021. It accepts text and generates text, with a 256-token context window and up to 384 output tokens per response.
Embedding model for semantic search, retrieval, clustering, and ranking pipelines
Last verified 18 Nov 2026. Every figure on this page links to its source.
Specifications
| Developer | Sentence Transformers |
|---|---|
| Release date | 30 Aug 2021 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Open weights [models.dev] |
| Context window | 256 (256 tokens) [models.dev] |
| Max output | 384 tokens [models.dev] |
| Input | Text [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | No [models.dev] |
| Tool calling | No [models.dev] |
All-MiniLM-L6-v2 API pricing by provider
USD per million tokens. Sorted by input price.
We do not currently track a paid API listing for this model.
Frequently asked questions
What is the context window of All-MiniLM-L6-v2?
All-MiniLM-L6-v2 has a context window of 256 tokens (256) and can generate up to 384 tokens in a single response, according to models.dev.
Is All-MiniLM-L6-v2 open source?
All-MiniLM-L6-v2 is an open-weight model. Check the license terms before commercial use.
When was All-MiniLM-L6-v2 released?
Sentence Transformers released All-MiniLM-L6-v2 on 30 Aug 2021, according to models.dev.
Similar models from other labs
Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.
| Model | Lab | Released | Context | Input $/1M | Output $/1M | Weights |
|---|---|---|---|---|---|---|
| E5 Large v2 | Intfloat | May 2023 | 512 | – | – | Open |
| Whisper Large v3 | OpenAI | 6 Nov 2023 | 448 | – | – | Open |
| Whisper Large V3 Turbo | OpenAI | 1 Oct 2024 | 448 | – | – | Open |
| MythoMax L2 13B | Gryphe | 10 Aug 2023 | 4K | $0.08 | $0.09 | Open |
| Llama Prompt Guard 2 22Mpreview | Meta | 29 Apr 2025 | 512 | $0.03 | $0.03 | Open |
| Prompt Guard 2 86Mpreview | Meta | 29 Apr 2025 | 512 | $0.04 | $0.04 | Open |
Change history
- Added to the directory