Skip to content
llmmodels
Embedding modelOpen weights

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.

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

ProviderInput $/1MOutput $/1MCached inputContext
DigitalOcean$0.009Free—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

Alternatives to All-MiniLM-L6-v2
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
hubert-large-ll60kopenMetaMar 2022—————
bart-baseopenMetaMar 2022139M————
canine-copenGoogle DeepMindMar 2022132M————
wavlm-largeopenMicrosoftMar 2022—————
wavlm-base-plusopenMicrosoftMar 2022—————
Multi-QA-mpnet-base-dot-v1openSentence TransformersAug 2021—512$0.009Free—
All-MiniLM-L12-v2openSentence TransformersAug 2021—128———
bge-small-en-v1.5openBAAISep 202333M————

More models from Sentence Transformers

All Sentence Transformers models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Multi-QA-mpnet-base-dot-v1openAug 2021—512$0.009Free
All-MiniLM-L12-v2openAug 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.