Sentence Transformers
Sentence Transformers: all-MiniLM-L12-v2
sentence-transformers/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 semantic embeddings optimized for tasks such as semantic search, clustering, and similarity-scoring.
Input
$0.005
/ 1M tokens · Token reference
Output
$0
/ 1M tokens · Token reference
Context window
512
tokens
Embeddings output · Token reference fields do not establish an output-unit price.
Limits
Context
512
tokens
Max output
460
90% of the context window
Parameters
33,360,512
Model facts
Author
Sentence Transformers
Tokenizer
Other
Modality
Text -> Embeddings
License
Apache-2.0
Created
Nov 18, 2025
Hugging Face
sentence-transformers/all-MiniLM-L12-v2
Publication status
Hugging Face: verifiedLicense: publishedParameter count: published
Modalities
Input · TextOutput · Embeddings