Gemini text-embedding-004 vs Qwen3 Embedding 8B

Detailed comparison between Gemini text-embedding-004 and Qwen3 Embedding 8B. See which embedding best meets your accuracy and performance needs. If you want to compare these models on your data, try Agentset.

Model Comparison

Qwen3 Embedding 8B takes the lead.

Both Gemini text-embedding-004 and Qwen3 Embedding 8B are powerful embedding models designed to improve retrieval quality in RAG applications. However, their performance characteristics differ in important ways.

Why Qwen3 Embedding 8B:

  • Qwen3 Embedding 8B has 144 higher ELO rating
  • Qwen3 Embedding 8B delivers better accuracy (nDCG@10: 0.718 vs 0.538)
  • Qwen3 Embedding 8B has a 20.4% higher win rate

Overview

Key metrics

ELO Rating

Overall ranking quality

Gemini text-embedding-004

1366

Qwen3 Embedding 8B

1510

Win Rate

Head-to-head performance

Gemini text-embedding-004

28.4%

Qwen3 Embedding 8B

48.8%

Accuracy (nDCG@10)

Ranking quality metric

Gemini text-embedding-004

0.538

Qwen3 Embedding 8B

0.718

Average Latency

Response time

Gemini text-embedding-004

16ms

Qwen3 Embedding 8B

41ms

Embedding Models Are Just One Piece of RAG

Agentset gives you a managed RAG pipeline with the top-ranked models and best practices baked in. No infrastructure to maintain, no embeddings to manage.

Trusted by teams building production RAG applications

5M+
Documents
1,500+
Teams
99.9%
Uptime

Visual Performance Analysis

Performance

ELO Rating Comparison

Win/Loss/Tie Breakdown

Accuracy Across Datasets (nDCG@10)

Latency Distribution (ms)

Breakdown

How the models stack up

MetricGemini text-embedding-004Qwen3 Embedding 8BDescription
Overall Performance
ELO Rating
1366
1510
Overall ranking quality based on pairwise comparisons
Win Rate
28.4%
48.8%
Percentage of comparisons won against other models
Pricing & Availability
Price per 1M tokens
$0.020
$0.050
Cost per million tokens processed
Dimensions
768
4096
Vector embedding dimensions (lower is more efficient)
Release Date
2024-05-14
2025-06-06
Model release date
Accuracy Metrics
Avg nDCG@10
0.538
0.718
Normalized discounted cumulative gain at position 10
Performance Metrics
Avg Latency
16ms
41ms
Average response time across all datasets

Build RAG in Minutes, Not Months

Agentset gives you a complete RAG API with top-ranked embedding models and smart retrieval built in. Upload your data, call the API, and get accurate results from day one.

import { Agentset } from "agentset";

const agentset = new Agentset();
const ns = agentset.namespace("ns_1234");

const results = await ns.search(
  "What is multi-head attention?"
);

for (const result of results) {
  console.log(result.text);
}

Dataset Performance

By field

Comprehensive comparison of accuracy metrics (nDCG, Recall) and latency percentiles for each benchmark dataset.

business reports

MetricGemini text-embedding-004Qwen3 Embedding 8BDescription
Accuracy Metrics
nDCG@5
0.000
0.000
Ranking quality at top 5 results
nDCG@10
0.000
0.000
Ranking quality at top 10 results
Recall@5
0.000
0.000
% of relevant docs in top 5
Recall@10
0.000
0.000
% of relevant docs in top 10
Latency Metrics
Mean
15ms
48ms
Average response time
P50
15ms
48ms
50th percentile (median)
P90
15ms
48ms
90th percentile

DBPedia

MetricGemini text-embedding-004Qwen3 Embedding 8BDescription
Accuracy Metrics
nDCG@5
0.747
0.806
Ranking quality at top 5 results
nDCG@10
0.737
0.797
Ranking quality at top 10 results
Recall@5
0.057
0.062
% of relevant docs in top 5
Recall@10
0.108
0.123
% of relevant docs in top 10
Latency Metrics
Mean
14ms
49ms
Average response time
P50
14ms
49ms
50th percentile (median)
P90
14ms
49ms
90th percentile

FiQa

MetricGemini text-embedding-004Qwen3 Embedding 8BDescription
Accuracy Metrics
nDCG@5
0.744
0.884
Ranking quality at top 5 results
nDCG@10
0.730
0.880
Ranking quality at top 10 results
Recall@5
0.647
0.736
% of relevant docs in top 5
Recall@10
0.752
0.818
% of relevant docs in top 10
Latency Metrics
Mean
16ms
30ms
Average response time
P50
16ms
30ms
50th percentile (median)
P90
16ms
30ms
90th percentile

SciFact

MetricGemini text-embedding-004Qwen3 Embedding 8BDescription
Accuracy Metrics
nDCG@5
0.728
0.739
Ranking quality at top 5 results
nDCG@10
0.729
0.744
Ranking quality at top 10 results
Recall@5
0.813
0.840
% of relevant docs in top 5
Recall@10
0.857
0.881
% of relevant docs in top 10
Latency Metrics
Mean
15ms
41ms
Average response time
P50
15ms
41ms
50th percentile (median)
P90
15ms
41ms
90th percentile

MSMARCO

MetricGemini text-embedding-004Qwen3 Embedding 8BDescription
Accuracy Metrics
nDCG@5
0.932
0.945
Ranking quality at top 5 results
nDCG@10
0.918
0.937
Ranking quality at top 10 results
Recall@5
0.117
0.123
% of relevant docs in top 5
Recall@10
0.208
0.223
% of relevant docs in top 10
Latency Metrics
Mean
18ms
39ms
Average response time
P50
18ms
39ms
50th percentile (median)
P90
18ms
39ms
90th percentile

ARCD

MetricGemini text-embedding-004Qwen3 Embedding 8BDescription
Accuracy Metrics
nDCG@5
0.021
0.851
Ranking quality at top 5 results
nDCG@10
0.027
0.857
Ranking quality at top 10 results
Recall@5
0.040
0.920
% of relevant docs in top 5
Recall@10
0.060
0.940
% of relevant docs in top 10
Latency Metrics
Mean
15ms
35ms
Average response time
P50
15ms
35ms
50th percentile (median)
P90
15ms
35ms
90th percentile

Explore More

Compare more embeddings

See how all embedding models stack up. Compare OpenAI, Cohere, Jina AI, Voyage, and more. View comprehensive benchmarks, compare performance metrics, and find the perfect embedding for your RAG application.