Skip to content

Qwen3 Embedding 8B

Qwen3 Embedding 8B is Alibaba's 8B-tier text embedding model in the Qwen3 Embedding line, producing 4096-dimensional vectors and ranking first on the MTEB multilingual leaderboard at release, built for demanding cross-lingual retrieval and RAG workloads.

index.ts
import { embed } from 'ai';
const result = await embed({
model: 'alibaba/qwen3-embedding-8b',
value: 'Sunny day at the beach',
})

About Qwen3 Embedding 8B

Qwen3 Embedding 8B is purpose-built for retrieval workloads where accuracy is paramount. Qwen3 Embedding 8B ranked first on the MTEB multilingual leaderboard with a score of 70.58 at release. Its 4096-dimensional output space encodes fine-grained semantic distinctions that smaller embedding models flatten.

The architecture employs 36 transformer layers and derives from the Qwen3 foundation model. The resulting embeddings generalize across both in-domain and out-of-domain retrieval scenarios.

Coverage spans more than 100 natural languages and multiple programming languages, enabling truly multilingual vector indexes where documents in French, Japanese, or Python code can be searched using queries in any supported language. Matryoshka Representation Learning lets operators shorten vectors at inference time, helpful for tiered index architectures where a coarse first-pass retrieval uses short vectors and a reranking stage uses full-resolution representations.