# all-MiniLM-L12-v2

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/model/all-minilm-l12-v2. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/model/all-minilm-l12-v2.

The all-MiniLM-L12-v2 embedding model maps sentences and short paragraphs into a 384-dimensional dense vector space, producing efficient and high-quality...

Canonical URL: https://lmspeed.net/model/all-minilm-l12-v2
Last updated: 2026-10-17

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

The all-MiniLM-L12-v2 embedding model maps sentences and short paragraphs into a 384-dimensional dense vector space, producing efficient and high-quality semantic embeddings optimized for tasks such as semantic search, clustering, and...

Embeddings

Quality[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

#16of 17

0.3

Official API price

Not published

## Specifications

[[2]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-2)

Model weights

Open weights

License

[Apache 2.0](https://lmspeed.net/model/license/apache-2-0)[[1]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-1)

Context window

512tokens

512 tokens · [[2]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-2)

≈ 0.6 pages of text

OpenRouter-reported max output

460tokens

460 tokens · [[2]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-2)

8K128K1M4M

512

### Technical Details

Input

Output

Released

Nov 2025

Documentation

[OpenRouter](https://openrouter.ai/sentence-transformers/all-minilm-l12-v2)[HuggingFace](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2)[Ollama](https://ollama.com/search?q=all-MiniLM-L12-v2)

Tokenizer

Other

Architecture

text->embeddings

Moderated

No

## Detailed scores

Updated: Dec 3, 2026

#### Overall

21 metrics

RTEB(Law, beta) · RTEB Legal0.3#16 / 17RTEB(Health, beta) · RTEB Healthcare0.4#12 / 14

Benchmark

Score

LMSpeed rank

Updated

Confidence

RTEB(Law, beta) · RTEB Legal[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.3

LMSpeed rank#16/17

UpdatedDec 3, 2026

Confidence-

RTEB(Health, beta) · RTEB Healthcare[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.4

LMSpeed rank#12/14

UpdatedDec 3, 2026

Confidence-

RTEB(deu, beta) · RTEB German[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.1

LMSpeed rank#16/17

UpdatedDec 3, 2026

Confidence-

RTEB(fra, beta) · RTEB French[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.1

LMSpeed rank#14/17

UpdatedDec 3, 2026

Confidence-

RTEB(fin, beta) · RTEB Finance[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.4

LMSpeed rank#12/13

UpdatedDec 3, 2026

Confidence-

VN-MTEB (vie, v1) · Vietnamese[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.3

LMSpeed rank#3/4

UpdatedDec 3, 2026

Confidence-

VN-MTEB (vie, v1) · Vietnamese · mean task type (source_score, source_published_aggregate)[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.4

LMSpeed rank#3/4

UpdatedDec 3, 2026

Confidence-

MTEB(Medical, v1) · Medical[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.3

LMSpeed rank#8/9

UpdatedDec 3, 2026

Confidence-

MTEB(Medical, v1) · Medical · mean task type (source_score, source_published_aggregate)[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.3

LMSpeed rank#8/9

UpdatedDec 3, 2026

Confidence-

MTEB(Law, v1) · Legal[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.3

LMSpeed rank#13/13

UpdatedDec 3, 2026

Confidence-

MTEB(Law, v1) · Legal · mean task type (source_score, source_published_aggregate)[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.3

LMSpeed rank#13/13

UpdatedDec 3, 2026

Confidence-

MTEB(nld, v1) · Dutch[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.4

LMSpeed rank#8/10

UpdatedDec 3, 2026

Confidence-

MTEB(nld, v1) · Dutch · mean task type (source_score, source_published_aggregate)[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.5

LMSpeed rank#8/10

UpdatedDec 3, 2026

Confidence-

MTEB(deu, v1) · German[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.4

LMSpeed rank#9/10

UpdatedDec 3, 2026

Confidence-

MTEB(deu, v1) · German · mean task type (source_score, source_published_aggregate)[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.4

LMSpeed rank#9/10

UpdatedDec 3, 2026

Confidence-

LongEmbed · Long-context Retrieval[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.3

LMSpeed rank#14/14

UpdatedDec 3, 2026

Confidence-

LongEmbed · Long-context Retrieval · mean task type (source_score, source_published_aggregate)[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.3

LMSpeed rank#14/14

UpdatedDec 3, 2026

Confidence-

ChemTEB · Chemical[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.7

LMSpeed rank#11/14

UpdatedDec 3, 2026

Confidence-

ChemTEB · Chemical · mean task type (source_score, source_published_aggregate)[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.5

LMSpeed rank#9/14

UpdatedDec 3, 2026

Confidence-

BEIR[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.4

LMSpeed rank#13/14

UpdatedDec 3, 2026

Confidence-

BEIR · mean task type (source_score, source_published_aggregate)[[3]](https://lmspeed.net/model/all-minilm-l12-v2#model-source-3)

Score0.4

LMSpeed rank#13/14

UpdatedDec 3, 2026

Confidence-

## OpenRouter endpoints

1 endpoints

Third-party OpenRouter endpoint data, shown separately from LMSpeed measurements. Some 30-minute live performance fields only appear after syncing with an OpenRouter API key.

|  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- |
| DeepInfra deepinfra/us | $0.0050/M | $0/M | 100% | — | — | 512 tokens / 460 tokens |

## Frequently Asked Questions

### What is the all-MiniLM-L12-v2 API price?

Not published

## Sources & notes

- [1]

[Model license](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2)Checked: 2026-10-17

- [2]

[OpenRouter-reported; not official](https://openrouter.ai/sentence-transformers/all-minilm-l12-v2)

- [3]

[Benchize](https://benchize.com/)Checked: 2026-12-03

- [4]

[LMSpeed methodology](https://lmspeed.net/methodology)

Benchmark data comes from Benchize (benchize.com). Category scores are calculated by LMSpeed.

Download benchmark evidence (JSON)

---
Cite as: all-MiniLM-L12-v2 — LMSpeed, https://lmspeed.net/model/all-minilm-l12-v2 (retrieved 2026-12-04)
