# Qwen3 Embedding 4B

> Qwen3 Embedding 4B is the open-weight 4B size in the Qwen3 embedding and reranking family. It embeds text over a 32,768-token window at 2,560 dimensions, and supports 100+ languages and Matryoshka truncation from 32 to 2,560 dimensions.

**ID**: `qwen/qwen3-embedding-4b`  
**Creator**: Qwen  
**Category**: embedding  
**Context**: 33K tokens  
**Pricing**: $0.02 / $0 per 1M · billed by your provider (BYOK)  
**Released**: 2025-10-28  
**Links**: [Weights on Hugging Face](https://huggingface.co/Qwen/Qwen3-Embedding-4B) · [Announcement](https://qwenlm.github.io/blog/qwen3-embedding/)  
**Web page**: https://anyrouter.dev/model/qwen/qwen3-embedding-4b

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

**Tokenizer**: Qwen

**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": "qwen/qwen3-embedding-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 |
| --- | --- | --- |
| openrouter-byok | $0.02/M (list) | $0 (list) |
| nousresearch-byok | $0.02/M (list) | $0 (list) |
| siliconflow-byok | $0.02/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: Apache-2.0, open weights (https://huggingface.co/Qwen/Qwen3-Embedding-4B) [1]

### Links

- announcement: https://qwenlm.github.io/blog/qwen3-embedding/
- model card: https://huggingface.co/Qwen/Qwen3-Embedding-4B

### Sources

1. [Qwen3-Embedding-4B model card](https://huggingface.co/Qwen/Qwen3-Embedding-4B) (accessed 2026-11-11)
2. [Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models](https://qwenlm.github.io/blog/qwen3-embedding/) (accessed 2026-11-11)

## Source

- Upstream docs: https://openrouter.ai/qwen/qwen3-embedding-4b
