384-dimension embeddings — the smallest vector on the shelf, and the default of the sentence-transformers library, so an enormous amount of existing code expects exactly this shape. Twelve layers where the L6 has six: better recall, still tiny.
Modalities
Text → Text
Input
$0.00675 /1M
Output
$0.00 /1M
Cached input
$0.00068 /1M90% off
Context
1K
Speed
fast
Pricing
Pay per token. Cached input is billed at 10% of the input rate.
+ Estimate your workload− Estimate your workload
Estimated monthly cost
$0.2956
$0.0099 / day on all-MiniLM-L12-v2
Same workload on:
Estimates use list pricing with cached input billed at the 90%-discount rate. Actual bills depend on real token counts — every response includes its exact cost.
How it compares
Against the peers people actually weigh it against.
| Spec | all-MiniLM-L12-v2 | all-MiniLM-L6-v2 | EmbeddingGemma 300M |
|---|---|---|---|
| Input /1M | $0.00675 | $0.00675 | $0.0027 |
| Output /1M | $0.00 | $0.00 | $0.00 |
| Context | 1K | 1K | 2K |
| Tools | Yes | Yes | Yes |
| Reasoning | No | No | No |
| Speed | fast | fast | fast |
Quick start
Up and running in under two minutes.
- 1
Create an API key
Sign up and grab a key from the dashboard — $0.50 free credit, no card required.
Get API key → - 2
Make your first request
Drop in your key and send a chat completion — fully OpenAI-compatible.
curl https://kymaapi.com/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "all-minilm-l12", "messages": [ {"role": "user", "content": "Explain prompt caching in one paragraph."} ] }' - 3
Stream responses
Add
"stream": trueto receive tokens as they arrive.curl https://kymaapi.com/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "all-minilm-l12", "stream": true, "messages": [{"role": "user", "content": "Hello!"}] }'
FAQ
Common questions about this model.
What is the context window of all-MiniLM-L12-v2?
How much does the all-MiniLM-L12-v2 API cost?
Does all-MiniLM-L12-v2 support function calling?
How do I use all-MiniLM-L12-v2?
More models by Sentence Transformers
| Model | Context | Input | Output |
|---|---|---|---|
| 1K | $0.00675 | $0.00 |