Embeddings model
All Minilm L12 V2
sentence-transformers/all-minilm-l12-v2
sentence-transformers/all-minilm-l12-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 ID | sentence-transformers/all-minilm-l12-v2 |
|---|---|
| Type | Embeddings |
| Publisher | Sentence Transformers |
| Context window | 512 tokens |
| Input price | $0.005 per 1M tokens |
| Endpoint | /v1/embeddings |
| API shape | OpenAI-compatible |
| In the catalog since | 2025-11-18 |
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-l12-v2", "input": "The quick brown fox"}'
Compared with similar models
Embeddings models on OceanToken closest to sentence-transformers/all-minilm-l12-v2 in price. Every price is what you pay, in US dollars, with no platform fee on top.
| Model | Publisher | Context | Price (per 1M tokens) |
|---|---|---|---|
| All Minilm L12 V2 | Sentence Transformers | 512 | $0.005 |
BGE Base En V1.5baai/bge-base-en-v1.5 | BAAI | 1K | $0.005 |
E5 Base V2intfloat/e5-base-v2 | intfloat | 1K | $0.005 |
Gte Basethenlper/gte-base | Thenlper | 1K | $0.005 |
More from Sentence Transformers
- All Minilm L6 V2
sentence-transformers/all-minilm-l6-v2 - All Mpnet Base V2
sentence-transformers/all-mpnet-base-v2 - Multi Qa Mpnet Base Dot V1
sentence-transformers/multi-qa-mpnet-base-dot-v1 - Paraphrase Minilm L6 V2
sentence-transformers/paraphrase-minilm-l6-v2
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.