跳到主要内容

Embeddings model

All Minilm L6 V2

sentence-transformers/all-minilm-l6-v2

sentence-transformers/all-minilm-l6-v2 is a text embedding model from Sentence Transformers you can call on the OceanToken API at $0.005 per 1M input tokens, with a 1K-token context window.

At a glance

Model IDsentence-transformers/all-minilm-l6-v2
TypeEmbeddings
PublisherSentence Transformers
Context window512 tokens
Input price$0.005 per 1M tokens
Endpoint/v1/embeddings
API shapeOpenAI-compatible
In the catalog since2025-11-17

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

curl https://api.oceantoken.ai/v1/embeddings \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "sentence-transformers/all-minilm-l6-v2", "input": "The quick brown fox"}'

Compared with similar models

Embeddings models on OceanToken closest to sentence-transformers/all-minilm-l6-v2 in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per 1M tokens)
All Minilm L6 V2Sentence Transformers512$0.005
BGE Base En V1.5
baai/bge-base-en-v1.5
BAAI1K$0.005
E5 Base V2
intfloat/e5-base-v2
intfloat1K$0.005
Gte Base
thenlper/gte-base
Thenlper1K$0.005

More from Sentence Transformers

All Sentence Transformers models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.