Why did we open-source our inference engine? Read the post

← Catalog

Qwen/Qwen3-Embedding-4B

Open comparison →

Primitive: /encode · Encode · Qwen3

The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks. Building upon the dense foundational models of the Qwen3 series, it provides a comprehensive range of text embeddings and reranking models in various sizes (0.6B, 4B, and 8B).

Long contextDense

Overview

Hardware: — drives latency, throughput & cost

Size4.0B params
Tasks /encode
Licenseapache-2.0
Latency464 ms
Throughput5.7K tok/s
Cost$0.039 /1M tok

Cost is approximate — computed from list GPU prices; your actual price depends on the provider you deploy SIE with.

Embedding

Output typesDense
Dimensionsdense: 2,560
Max sequence length32,768
Inputstext

Benchmarks

CQADupstackPhysicsRetrieval

scientific retrieval en

Duplicate question retrieval from StackExchange Physics

Corpus: 38,314 Queries: 1,039
Quality
ndcg at 10 0.5264
map at 10 0.4581
mrr at 10 0.5175
Reference →

CosQA

technology retrieval en

Code search with natural language queries

Corpus: 6,267 Queries: 500
Quality
ndcg at 10 0.4006
map at 10 0.3181
mrr at 10 0.3216
Reference →

FiQA2018

finance retrieval en

Financial opinion mining and question answering

Corpus: 57,599 Queries: 648
Quality
ndcg at 10 0.1433
map at 10 0.1111
mrr at 10 0.0320
Reference →

LegalBenchConsumerContractsQA

legal retrieval en

Question answering on consumer contracts

Corpus: 153 Queries: 396
Quality
ndcg at 10 0.8152
map at 10 0.7716
mrr at 10 0.7717
Reference →

NFCorpus

medical retrieval en

Biomedical literature search from NutritionFacts.org

Corpus: 3,593 Queries: 323
Quality
ndcg at 10 0.4121
map at 10 0.1599
mrr at 10 0.6225
Performance L4 b1 c16
Corpus 6.1K tok/s
Corpus p50 553.1ms
Query 333 tok/s
Query p50 150.1ms
Reference →

NanoFiQA2018Retrieval

finance retrieval en

Smaller subset of the FiQA financial QA dataset

Quality
ndcg at 10 0.6875
map at 10 0.6152
mrr at 10 0.7569
Performance L4 b1 c16
Corpus 5.2K tok/s
Corpus p50 375.9ms
Query 716 tok/s
Query p50 153.7ms
Reference →

SCIDOCS

scientific retrieval en

Citation prediction, document classification, and recommendation for scientific papers

Corpus: 25,656 Queries: 1,000
Quality
ndcg at 10 0.2992
map at 10 0.1874
mrr at 10 0.4734
Reference →

SciFact

scientific retrieval en

Scientific claim verification using research literature

Corpus: 5,183 Queries: 300
Quality
ndcg at 10 0.7813
map at 10 0.7308
mrr at 10 0.7391
Reference →

StackOverflowQA

technology retrieval en

Programming question answering from Stack Overflow

Corpus: 19,931 Queries: 1,994
Quality
ndcg at 10 0.9336
map at 10 0.9197
mrr at 10 0.9197
Reference →

Open source inference for agents

Open-source inference for the models behind your agents. Run it yourself, or let us run it for you.

Contact us

Tell us about your use case and we'll get back to you shortly.

Apply for an inference grant

Free capacity on our hosted cluster for selected projects. Tell us what you run and we reply by email.