Compare Granite 4.0 Micro from ibm-granite and all-MiniLM-L12-v2 from sentence-transformers on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Granite 4.0 Micro and all-MiniLM-L12-v2 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Granite 4.0 Micro, from ibm-granite, has a 131,000-token context window and is priced at $0.017/M tokens input, $0.112/M tokens output on OpenRouter.
all-MiniLM-L12-v2, from sentence-transformers, is priced at $0.005/M tokens on OpenRouter.
| Attribute | Granite 4.0 Micro | all-MiniLM-L12-v2 |
|---|---|---|
| Input price | $0.017/M tokens | Not applicable |
| Output price | $0.112/M tokens | Not applicable |
| Context window | 131,000 tokens | Not applicable |
| Intelligence Index | 5.1 | Not available |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | 0.42 s | Not available |
| Throughput (p50) | 35.0 tok/s | Not available |
Benchmark data updated