# E5-Base-v2 vs voyage-code-4

Source: https://openrouter.ai/compare/intfloat/e5-base-v2/mongodb/voyage-code-4

## Overview

| Attribute | E5-Base-v2 | voyage-code-4 |
| --- | --- | --- |
| Author | intfloat | MongoDB |
| 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.005/M tokens | $0.12/M tokens |
| Context window | Not applicable | Not applicable |
| Latency (p50) | 0.71 s | 0.56 s |
| Throughput (p50) | Not available | Not available |

## E5-Base-v2 or voyage-code-4: which should you choose?

### Choose voyage-code-4 for:

- faster embedding latency (0.56 s vs 0.71 s)

## Model pages

- [E5-Base-v2](https://openrouter.ai/intfloat/e5-base-v2) ([llms.txt](https://openrouter.ai/intfloat/e5-base-v2/llms.txt))
- [voyage-code-4](https://openrouter.ai/mongodb/voyage-code-4) ([llms.txt](https://openrouter.ai/mongodb/voyage-code-4/llms.txt))
