sentence-transformers: All-MiniLM-L12-v2
All-MiniLM-L12-v2 is an embedding model from sentence-transformers released on Aug 30, 2021. It reads text and writes vectors, with a 128 token context window.
Show moreShow less
It costs $0 per million input tokens, with no charge for output.
Its weights are open, so you can host it yourself.
- Modalities
- In / out price
- $0 / $0 per 1M
- Context
- 128
- Max output
- 384
- Released
- Aug 30, 2021
- Knowledge cutoff
- n/a
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
All-MiniLM-L12-v2 pricing
USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0 / 1M tokens | |
|---|---|---|
| Output | $0 / 1M tokens |
What All-MiniLM-L12-v2 costs per month
Pick a workload close to yours or type your own volumes.
Alternatives to All-MiniLM-L12-v2
Models that take the same inputs, closest in price, cheaper ones first.
NVIDIA: llama-nemotron-embed-vl-1b-v2
Embeddings33K contextTurns text and images into vectors for search and retrieval.
by nvidiaFeb 10, 2026$0/M input tokens
- 33K context
Turns text into vectors for search and retrieval.
by nvidiaJul 24, 2025$0/M input tokens
NVIDIA: nv-embedcode-7b-v1
Embeddings33K contextTurns text into vectors for search and retrieval.
by nvidiaMar 17, 2025$0/M input tokens
NVIDIA: nv-embed-v1
Embeddings33K contextTurns text into vectors for search and retrieval.
by nvidiaJun 7, 2024$0/M input tokens
sentence-transformers: All-MiniLM-L6-v2
Embeddings256 contextTurns text into vectors for search and retrieval.
by sentence-transformersAug 30, 2021$0.009/M input tokens
- 512 context
Turns text into vectors for search and retrieval.
by sentence-transformersAug 23, 2021$0.009/M input tokens
More from sentence-transformers
All-MiniLM-L6-v2
Embeddings256 contextTurns text into vectors for search and retrieval.
by sentence-transformersAug 30, 2021$0.009/M input tokens
Multi-QA-mpnet-base-dot-v1
Embeddings512 contextTurns text into vectors for search and retrieval.
by sentence-transformersAug 23, 2021$0.009/M input tokens
All-MiniLM-L12-v2 questions
How much does the All-MiniLM-L12-v2 API cost?
$0 per million input tokens and $0 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of All-MiniLM-L12-v2?
128 tokens of input, and it can write up to 384 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Is All-MiniLM-L12-v2 open source?
Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.
When was All-MiniLM-L12-v2 released?
Aug 30, 2021.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.