Qwen3 Embedding 4B API

Qwen3 Embedding 4B: multilingual text embeddings for search

qwen/qwen3-embedding-4b
QwenVectors

About this model

Qwen3-Embedding-4B is a text embedding model from the Qwen team, part of the Qwen3 Embedding series released in June 2025 under the Apache 2.0 license. According to the model card it has a 32K sequence length, an embedding dimension of 2560, flexible output sizes and instruction-aware queries, and supports over 100 languages including programming languages.

The 4B model is the mid-size option between 0.6B and 8B. Qwen’s card lists a 69.45 mean task score on MTEB multilingual versus 70.58 for the 8B, with a smaller 2560-dimension vector. Pick it when you want smaller vectors and lower cost than the 8B.

In this catalog the context window is 32,768 tokens. It converts text to vectors for retrieval and does not generate text; the model card recommends writing query instructions in English.

Use cases

  • Semantic search and retrieval
  • Document clustering and classification
  • Code and cross-language retrieval

Input and output

Input
Text
Output
Embedding vectors

Developer

Developer
Qwen
Type
Vectors
Context
32,768 tokens

Qwen3 Embedding 4B request example

This model type has a request format of its own; see the API documentation for details.