# All-MiniLM-L12-v2

> All-MiniLM-L12-v2 is an open-weight language model from Sentence Transformers, released on 30 Aug 2021. It accepts text and generates text, with a 128-token context window and up to 384 output tokens per response.

Source page: https://www.aimodel.directory/models/all-minilm-l12-v2
Last verified: 18 Nov 2026

## Specifications

- **Developer:** Sentence Transformers
- **Release date:** 30 Aug 2021 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)
- **Status:** Generally available (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)
- **Weights:** Open weights (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)
- **Context window:** 128 (128 tokens) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)
- **Max output:** 384 tokens (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)
- **Input:** Text (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)
- **Output:** Text (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)
- **Reasoning mode:** No (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)
- **Tool calling:** No (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/infomaniak/models/mini_lm_l12_v2.toml)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|

## FAQ

### What is the context window of All-MiniLM-L12-v2?

All-MiniLM-L12-v2 has a context window of 128 tokens (128) and can generate up to 384 tokens in a single response, according to models.dev.

### Is All-MiniLM-L12-v2 open source?

All-MiniLM-L12-v2 is an open-weight model. Check the license terms before commercial use.

### When was All-MiniLM-L12-v2 released?

Sentence Transformers released All-MiniLM-L12-v2 on 30 Aug 2021, according to models.dev.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "All-MiniLM-L12-v2", https://www.aimodel.directory/models/all-minilm-l12-v2