sentence-transformers: All-MiniLM-L6-v2

sentence-transformers: All-MiniLM-L6-v2

bysentence-transformers

All-MiniLM-L6-v2 is an embedding model from sentence-transformers released on Aug 30, 2021. It reads text and writes vectors, with a 256 token context window.

Show more

It costs $0.009 per million input tokens, with no charge for output.

Its weights are open, so you can host it yourself.

Modalities
In / out price
$0.009 / $0 per 1M
Context
256
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-L6-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.009 / 1M tokens
Output$0 / 1M tokens

What All-MiniLM-L6-v2 costs per month

Pick a workload close to yours or type your own volumes.

All-MiniLM-L6-v2 per month
$0.675
Without caching
$0.675
Per request
$0.00

Alternatives to All-MiniLM-L6-v2

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

  • Turns text into vectors for search and retrieval.

    by sentence-transformersAug 23, 2021$0.009/M input tokens

  • Turns text into vectors for search and retrieval. Served by 3 providers.

    by qwenJun 5, 2025$0.01/M input tokens3 providers

  • Turns text into vectors for search and retrieval. Served by 9 providers.

    by qwenJun 5, 2025$0.01/M input tokens9 providers

  • Turns text into vectors for search and retrieval. Served by 3 providers.

    by qwenJun 3, 2025$0.01/M input tokens$0.01/M output tokens3 providers

  • BAAI: BGE M3

    Embeddings

    Turns text into vectors for search and retrieval. Served by 3 providers.

    by baaiJan 30, 2024$0.02/M input tokens3 providers

  • Turns text into vectors for search and retrieval. Served by 5 providers.

    by openaiJan 25, 2024$0.02/M input tokens5 providers

More from sentence-transformers

All sentence-transformers models

All-MiniLM-L6-v2 questions

How much does the All-MiniLM-L6-v2 API cost?

$0.009 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-L6-v2?

256 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-L6-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-L6-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.