# voyage-code-4 vs paraphrase-MiniLM-L6-v2

Source: https://openrouter.ai/compare/mongodb/voyage-code-4/sentence-transformers/paraphrase-minilm-l6-v2

## Overview

| Attribute | voyage-code-4 | paraphrase-MiniLM-L6-v2 |
| --- | --- | --- |
| Author | MongoDB | sentence-transformers |
| Reasoning | No | No |
| Input modalities | Text | Text |
| Output modalities | Embeddings | Embeddings |
| Input price | Not applicable | Not applicable |
| Output price | Not applicable | Not applicable |
| Price | $0.12/M tokens | $0.005/M tokens |
| Context window | Not applicable | Not applicable |
| Latency (p50) | 0.50 s | 0.60 s |
| Throughput (p50) | Not available | Not available |

## voyage-code-4 or paraphrase-MiniLM-L6-v2: which should you choose?

### Choose voyage-code-4 for:

- faster embedding latency (0.50 s vs 0.60 s)

## Model pages

- [voyage-code-4](https://openrouter.ai/mongodb/voyage-code-4) ([llms.txt](https://openrouter.ai/mongodb/voyage-code-4/llms.txt))
- [paraphrase-MiniLM-L6-v2](https://openrouter.ai/sentence-transformers/paraphrase-minilm-l6-v2) ([llms.txt](https://openrouter.ai/sentence-transformers/paraphrase-minilm-l6-v2/llms.txt))
