sentence-transformers: All-MiniLM-L12-v2

sentence-transformers: All-MiniLM-L12-v2

bysentence-transformers

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 more

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.

All-MiniLM-L12-v2 per month
$0
Without caching
$0
Per request
$0

Alternatives to All-MiniLM-L12-v2

Models that take the same inputs, closest in price, cheaper ones first.

More from sentence-transformers

All sentence-transformers models

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.