# E5 Base v2

> E5 Base v2 is intfloat's open-weight English text embedding model that maps sentences and paragraphs to 768-dimensional vectors. It suits semantic search and similarity tasks. It accepts input of up to 512 tokens.

**ID**: `intfloat/e5-base-v2`  
**Creator**: intfloat  
**Category**: embedding  
**Context**: 512 tokens  
**Pricing**: $0.0050 / $0 per 1M · billed by your provider (BYOK)  
**Released**: 2023-05-19  
**Links**: [Weights on Hugging Face](https://huggingface.co/intfloat/e5-base-v2) · [Paper](https://arxiv.org/abs/2212.03533)  
**Web page**: https://anyrouter.dev/model/intfloat/e5-base-v2

**Input modalities**: text  
**Output modalities**: embeddings  

**Tokenizer**: Other

**Capabilities**: embedding

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/embeddings`

```bash
curl https://anyrouter.dev/api/v1/embeddings \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "intfloat/e5-base-v2",
  "input": "The quick brown fox jumps over the lazy dog"
}'
```

Pass `input` as a string or an array of strings to embed a batch in one call.

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| respan-byok | $0.0050/M (list) | $0 (list) |
| infron-byok | $0.0050/M (list) | $0 (list) |
| nousresearch-byok | $0.0050/M (list) | $0 (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Model card

- License: MIT, open weights (https://huggingface.co/intfloat/e5-base-v2) [1]

### Links

- announcement: https://huggingface.co/intfloat/e5-base-v2
- model card: https://huggingface.co/intfloat/e5-base-v2
- paper: https://arxiv.org/abs/2212.03533

### Sources

1. [E5 Base v2 model card](https://huggingface.co/intfloat/e5-base-v2) (accessed 2026-11-11)

## Source

- Upstream docs: https://huggingface.co/intfloat/e5-base-v2
