# pplx-embed v1 4B

> pplx-embed-v1-4b is Perplexity's larger text embedding model for web-scale dense retrieval, with 2560-dimension vectors. 32K-token input.

**ID**: `perplexity/pplx-embed-v1-4b`  
**Creator**: perplexity  
**Category**: embedding  
**Context**: 32K tokens  
**Pricing**: $0.03 / $0 per 1M · billed by your provider (BYOK)  
**Released**: 2026-01-20  
**Web page**: https://anyrouter.dev/model/perplexity/pplx-embed-v1-4b

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

**Tokenizer**: Other

**Capabilities**: embedding

**Supported parameters**: input, model, encoding_format

## 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": "perplexity/pplx-embed-v1-4b",
  "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.03/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.

## Source

- Upstream docs: https://huggingface.co/perplexity-ai/pplx-embed-v1-4b
