BAAI/bge-m3 vs Gemini Embedding 2

Detailed comparison between BAAI/bge-m3 and Gemini Embedding 2. See which embedding best meets your accuracy and performance needs. If you want to compare these models on your data, try Agentset.

Model Comparison

Gemini Embedding 2 takes the lead.

Both BAAI/bge-m3 and Gemini Embedding 2 are powerful embedding models designed to improve retrieval quality in RAG applications. However, their performance characteristics differ in important ways.

Why Gemini Embedding 2:

  • Gemini Embedding 2 has 125 higher ELO rating
  • BAAI/bge-m3 delivers better accuracy (nDCG@10: 0.674 vs 0.628)
  • BAAI/bge-m3 is 400ms faster on average
  • Gemini Embedding 2 has a 15.2% higher win rate

Overview

Key metrics

ELO Rating

Overall ranking quality

BAAI/bge-m3

1480

Gemini Embedding 2

1605

Win Rate

Head-to-head performance

BAAI/bge-m3

44.3%

Gemini Embedding 2

59.5%

Accuracy (nDCG@10)

Ranking quality metric

BAAI/bge-m3

0.674

Gemini Embedding 2

0.628

Average Latency

Response time

BAAI/bge-m3

34ms

Gemini Embedding 2

435ms

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

MetricBAAI/bge-m3Gemini Embedding 2Description
Overall Performance
ELO Rating
1480
1605
Overall ranking quality based on pairwise comparisons
Win Rate
44.3%
59.5%
Percentage of comparisons won against other models
Pricing & Availability
Price per 1M tokens
$0.010
$0.000
Cost per million tokens processed
Dimensions
1024
3072
Vector embedding dimensions (lower is more efficient)
Release Date
2024-01-27
2026-03-10
Model release date
Accuracy Metrics
Avg nDCG@10
0.674
0.628
Normalized discounted cumulative gain at position 10
Performance Metrics
Avg Latency
34ms
435ms
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

MetricBAAI/bge-m3Gemini Embedding 2Description
Accuracy Metrics
nDCG@5
0.000
0.091
Ranking quality at top 5 results
nDCG@10
0.000
0.084
Ranking quality at top 10 results
Recall@5
0.000
0.012
% of relevant docs in top 5
Recall@10
0.000
0.020
% of relevant docs in top 10
Latency Metrics
Mean
27ms
439ms
Average response time
P50
27ms
431ms
50th percentile (median)
P90
27ms
603ms
90th percentile

DBPedia

MetricBAAI/bge-m3Gemini Embedding 2Description
Accuracy Metrics
nDCG@5
0.801
0.788
Ranking quality at top 5 results
nDCG@10
0.785
0.792
Ranking quality at top 10 results
Recall@5
0.061
0.061
% of relevant docs in top 5
Recall@10
0.122
0.120
% of relevant docs in top 10
Latency Metrics
Mean
21ms
436ms
Average response time
P50
21ms
432ms
50th percentile (median)
P90
21ms
592ms
90th percentile

FiQa

MetricBAAI/bge-m3Gemini Embedding 2Description
Accuracy Metrics
nDCG@5
0.743
0.843
Ranking quality at top 5 results
nDCG@10
0.755
0.835
Ranking quality at top 10 results
Recall@5
0.608
0.763
% of relevant docs in top 5
Recall@10
0.667
0.816
% of relevant docs in top 10
Latency Metrics
Mean
22ms
466ms
Average response time
P50
22ms
454ms
50th percentile (median)
P90
22ms
605ms
90th percentile

SciFact

MetricBAAI/bge-m3Gemini Embedding 2Description
Accuracy Metrics
nDCG@5
0.571
0.871
Ranking quality at top 5 results
nDCG@10
0.599
0.871
Ranking quality at top 10 results
Recall@5
0.645
0.959
% of relevant docs in top 5
Recall@10
0.759
0.959
% of relevant docs in top 10
Latency Metrics
Mean
37ms
404ms
Average response time
P50
37ms
360ms
50th percentile (median)
P90
37ms
537ms
90th percentile

MSMARCO

MetricBAAI/bge-m3Gemini Embedding 2Description
Accuracy Metrics
nDCG@5
0.956
0.956
Ranking quality at top 5 results
nDCG@10
0.941
0.939
Ranking quality at top 10 results
Recall@5
0.121
0.122
% of relevant docs in top 5
Recall@10
0.219
0.221
% of relevant docs in top 10
Latency Metrics
Mean
51ms
441ms
Average response time
P50
51ms
446ms
50th percentile (median)
P90
51ms
584ms
90th percentile

ARCD

MetricBAAI/bge-m3Gemini Embedding 2Description
Accuracy Metrics
nDCG@5
0.879
0.868
Ranking quality at top 5 results
nDCG@10
0.879
0.875
Ranking quality at top 10 results
Recall@5
0.960
0.940
% of relevant docs in top 5
Recall@10
0.960
0.960
% of relevant docs in top 10
Latency Metrics
Mean
48ms
410ms
Average response time
P50
48ms
359ms
50th percentile (median)
P90
48ms
586ms
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.