One email each morning — yesterday's AI, sortedGet it in your inbox

METAL LAB

The Embedder's Dilemma: LLMs Are Better, but at What Cost?

arXiv:2608.128752026-08-12

LLMs now match top embedding models on average, but cost up to 1,431x more

The paper runs a controlled, cost-aware comparison of ten large language models (LLMs) against 26 text embedding models across 37 tasks covering classification, semantic similarity, clustering, pair classification, and retrieval. The best LLM (Gemini 3.1 Pro, 77.6) and the best embedding model (77.2) tie in aggregate, but LLMs only lead on reasoning-heavy retrieval while embedding models win classification by a wide margin. Reaching that tie costs up to 1,431x more with an LLM ($154 vs $0.11 per benchmark pass) and runs up to 736x slower on the same GPU.

What they did

  1. Compared ten frontier LLMs (used as zero-shot generators, with no dedicated embedding training) against 26 specialized embedding models (118M-14B parameters) on identical data
  2. Built MTEB(LLM), a 37-task benchmark spanning five categories, and measured exact dollar cost (API usage) and GPU throughput for every model, not just accuracy
  3. Overall scores are statistically tied (77.6 vs 77.2, difference within noise), but the advantage flips by task: LLMs lead retrieval (64.5 vs 56.0), embeddings dominate classification (90.8 vs 85.2)
  4. Gemini 3.1 Pro costs $154 per benchmark pass versus $0.11 for a comparably scoring embedding model -- up to 1,431x more expensive, and this gap holds across five hardware/pricing scenarios
  5. 28-81% of LLM cost comes from internal 'reasoning' tokens; cutting that reasoning budget preserved or improved retrieval quality for most models tested
Figure 1: Cost vs. performance across 36 models on MTEB(LLM). The frontier contains the leading embedding models and Gemini 3.1 Pro, which extends it by 0.4 points at 1,431× the cost of a comparable embedding.
Figure 1: Cost vs. performance across 36 models on MTEB(LLM). The frontier contains the leading embedding models and Gemini 3.1 Pro, which extends it by 0.4 points at 1,431× the cost of a comparable embedding.
Table 1: Model overview and per-category results. All ten LLMs and the ten highest-scoring embedding models. Scores are category means on a 0–100 scale; Overall is their mean. Cost is one MTEB(LLM) pass using API rates for LLMs and H100 throughput at $2.49/hr for embeddings (§3.3). Bold = best shown; full results are in Appendix B.2.
ModelParamsCls (8)Clust (9)STS (10)PairCls (4)Retr (6)Overall (37)Cost
LLMGemini 3.1 Pro85.266.688.583.264.577.6$154
Gemini 3 Flash84.165.787.686.352.375.2$56
Qwen3.6-27B84.853.684.983.662.473.9$103
Qwen3.6-35B-A3B83.855.384.082.960.473.3$34
Kimi-K2.684.555.483.978.056.771.7$111
DeepSeek-V4-Flash81.943.782.281.653.368.5$3
MiniMax-M2.780.948.681.082.848.068.2$25
GLM-4.784.236.583.579.754.467.7$63
Gemini 3.1 Flash Lite82.921.785.183.749.064.5$7
DeepSeek-R182.531.383.779.544.764.3$57
EmbeddingOcten-8B7.6B90.165.188.786.156.077.2$0.11
Qwen3-E-8B7.6B90.165.988.586.554.277.0$0.11
Qwen3-E-4B4.0B89.364.688.886.550.375.9$0.07
Nemotron-8B7.5B84.864.186.286.754.775.3$0.11
KaLM-12B11.8B88.863.484.687.149.974.8$0.16
Jina-v5-S596M90.461.586.985.148.074.4$0.03
SFR-27.1B90.866.777.985.348.873.9$0.14
Jina-v5-Nano212M89.660.487.085.047.473.9$0.01
F2LLM-14B14.0B77.766.584.186.352.173.3$0.22
GTE-Qwen2-7B7.1B86.765.281.686.045.873.1$0.09
Figure 2: Cost vs. performance by task category. Each panel plots score (0–100) against cost per benchmark pass (log scale) for all 36 models; the line is the Pareto frontier over all models and the star marks the best LLM in that category. Pro extends the retrieval frontier; embedding models define the frontiers for classification, clustering, STS, and pair classification.
Figure 2: Cost vs. performance by task category. Each panel plots score (0–100) against cost per benchmark pass (log scale) for all 36 models; the line is the Pareto frontier over all models and the star marks the best LLM in that category. Pro extends the retrieval frontier; embedding models define the frontiers for classification, clustering, STS, and pair classification.
Table 2: Statistical significance. Paired bootstrap test (10,000 resamples, seed 42). Δ = Gemini 3.1 Pro − best embedding; significance at α = 0.05. Pair classification uses Pro for consistency, although Flash scores higher.
ComparisonΔ95% CIpSig.
Overall (Gemini 3.1 Pro vs. Octen-8B, MTEB(LLM))
All tasks+0.3[−2.4, +3.1]0.85No
Per category (Gemini 3.1 Pro vs. best embedding)
Retrieval+8.5[+0.2, +16.8]<0.05Yes
Clustering−0.2[−5.6, +5.1]0.96No
STS−0.3[−2.2, +1.8]0.75No
Pair Classification−3.9[−13.6, +5.9]0.50No
Classification−5.6[−9.2, −2.4]<0.01Yes
Figure 3: Retrieve-then-rerank. LLM listwise reranking improves every first stage on BRIGHT. On BEIR, a strong embedding first stage outperforms all reranked configurations.
Figure 3: Retrieve-then-rerank. LLM listwise reranking improves every first stage on BRIGHT. On BEIR, a strong embedding first stage outperforms all reranked configurations.
Table 3: Complete model listing with mean (macro) scores across 37 MTEB(LLM) tasks, total benchmark costs, and references. LLM costs reflect actual API usage; embedding costs from H100 throughput benchmarking ($2.49/hr).
ModelParamsScoreCostReference
LLM Models
Gemini 3.1 Pro77.6$154.14
Gemini 3 Flash75.2$55.87
Qwen3.6-27B73.9$103.43
Qwen3.6-35B-A3B73.3$34.06
Kimi-K2.671.7$110.70
DeepSeek-V4-Flash68.5$3.16
MiniMax-M2.768.2$24.52
GLM-4.767.7$63.31
Gemini 3.1 Flash Lite64.5$6.85
DeepSeek-R164.3$57.38
Embedding Models (ranked by score)
Octen-8B7.6B77.2$0.108
Qwen3-E-8B7.6B77.0$0.10878
Qwen3-E-4B4.0B75.9$0.06978
Nemotron-8B7.5B75.3$0.11537
KaLM-12B11.8B74.8$0.15880
Jina-v5-S596M74.4$0.0343
SFR-27.1B73.9$0.13647
Jina-v5-Nano212M73.9$0.0103
F2LLM-14B14.0B73.3$0.21579
GTE-Qwen2-7B7.1B73.1$0.08942
Linq-Mistral7.1B72.8$0.13815
Qwen3-E-0.6B596M72.5$0.01878
EmbGemma-300M308M72.2$0.00839
F2LLM-8B7.6B72.2$0.12279
F2LLM-4B4.0B71.9$0.07979
F2LLM-1.7B1.7B71.7$0.03079
GTE-Qwen2-1.5B1.5B70.8$0.02442
F2LLM-0.6B596M69.9$0.01779
Figure 4: The thinking-token tax: what reasoning costs, and what it buys. (a) API cost per benchmark pass by token type for all ten LLMs. (b) Mean retrieval score with default vs. disabled reasoning for six models from five families; labels show the reduction in generated tokens. Four models preserve or improve retrieval with 54–96% fewer generated tokens; the two Qwen models lose ground.
Figure 4: The thinking-token tax: what reasoning costs, and what it buys. (a) API cost per benchmark pass by token type for all ten LLMs. (b) Mean retrieval score with default vs. disabled reasoning for six models from five families; labels show the reduction in generated tokens. Four models preserve or improve retrieval with 54–96% fewer generated tokens; the two Qwen models lose ground.
Table 4: Category-level performance (best LLM vs. best embedding per category). Δ = best LLM − best embedding; bold = winner; task counts in parentheses.
CategoryGemini 3.1 ProGemini 3 FlashBest Emb.Best ModelΔ
Retrieval (6)64.552.356.0Octen-8B+8.5
Clustering (9)66.665.766.7SFR-2−0.2
STS (10)88.587.688.8Qwen3-E-4B−0.3
PairCls (4)83.286.387.1KaLM-12B−3.9
Classification (8)85.284.190.8SFR-2−5.6
Figure 5: How many documents each architecture reads jointly with the query. Top: the pipeline. Bottom: its attention mask, drawn over the same N documents at the same scale in every panel so the four are directly comparable. Each row is a token and each column a token it may read. The red region is what one forward pass reads jointly with the query; it cannot be computed before the query arrives, so cost grows with it.
Figure 5: How many documents each architecture reads jointly with the query. Top: the pipeline. Bottom: its attention mask, drawn over the same N documents at the same scale in every panel so the four are directly comparable. Each row is a token and each column a token it may read. The red region is what one forward pass reads jointly with the query; it cannot be computed before the query arrives, so cost grows with it.
Table 5: Complete per-category results for all 36 complete models, ranked by overall (macro) score. Bold = best in column.
RankModelTypeCls (8)Clust (9)STS (10)PairCls (4)Retr (6)Overall
1Gemini 3.1 ProLLM85.266.688.583.264.577.6
2Octen-8BEmb90.165.188.786.156.077.2
3Qwen3-E-8BEmb90.165.988.586.554.277.0
4Qwen3-E-4BEmb89.364.688.886.550.375.9
5Nemotron-8BEmb84.864.186.286.754.775.3
6Gemini 3 FlashLLM84.165.787.686.352.375.2
7KaLM-12BEmb88.863.484.687.149.974.8
8Jina-v5-SEmb90.461.586.985.148.074.4
9SFR-2Emb90.866.777.985.348.873.9
10Jina-v5-NanoEmb89.660.487.085.047.473.9
11Qwen3.6-27BLLM84.853.684.983.662.473.9
12F2LLM-14BEmb77.766.584.186.352.173.3
13Qwen3.6-35B-A3BLLM83.855.384.082.960.473.3
14GTE-Qwen2-7BEmb86.765.281.686.045.873.1
15Linq-MistralEmb82.561.383.486.151.072.8
16Qwen3-E-0.6BEmb85.460.985.786.144.172.5
17EmbGemma-300MEmb86.559.382.186.047.372.2
18F2LLM-8BEmb75.265.883.986.150.072.2
19F2LLM-4BEmb75.364.783.685.949.971.9
20Kimi-K2.6LLM84.555.483.978.056.771.7
21F2LLM-1.7BEmb74.765.183.886.148.571.7
22GTE-Qwen2-1.5BEmb83.360.080.386.643.970.8
23F2LLM-0.6BEmb72.562.983.185.845.469.9
24mE5-L-InstEmb74.459.183.986.144.869.7
25DeepSeek-V4-FlashLLM81.943.782.281.653.368.5
26MiniMax-M2.7LLM80.948.681.082.848.068.2
27GLM-4.7LLM84.236.583.579.754.467.7
28BGE-M3Emb76.245.980.485.944.366.5
29mE5-LEmb73.348.380.383.943.665.9
30Arctic-L-v2Emb71.449.777.283.944.665.3
Figure 6: Per-task performance. Horizontal bars show the full embedding score range (min to max across 26 models) for each MTEB(LLM) task, grouped by category. Circle = best embedding; diamond = best LLM on that task, taken over all ten (six different LLMs hold it across the suite, Gemini 3.1 Pro on 21 of 37 tasks). Where the diamond falls inside the bar, some embedding model already matches the best LLM: this holds on 7 of 8 classification tasks and 7 of 10 STS tasks, but on only 1 of 6 retrieval tasks.
Figure 6: Per-task performance. Horizontal bars show the full embedding score range (min to max across 26 models) for each MTEB(LLM) task, grouped by category. Circle = best embedding; diamond = best LLM on that task, taken over all ten (six different LLMs hold it across the suite, Gemini 3.1 Pro on 21 of 37 tasks). Where the diamond falls inside the bar, some embedding model already matches the best LLM: this holds on 7 of 8 classification tasks and 7 of 10 STS tasks, but on only 1 of 6 retrieval tasks.
Table 6: Per-task scores for representative models across all 37 MTEB(LLM) tasks. Bold = best in row (incl. best embedding). Metric per category in italics.
TaskCat.Gemini 3.1 ProGemini 3 FlashQwen3.6-27BOcten-8BQwen3-E-8BBest Emb.
Classification (Accuracy)
AmazonCounterfactualClassificationCls84.881.290.193.092.993.0
Banking77ClassificationCls85.083.180.587.387.291.6
ImdbClassificationCls98.097.697.497.797.897.8
MTOPDomainClassificationCls95.596.496.998.298.199.2
MassiveIntentClassificationCls84.985.484.685.785.888.9
MassiveScenarioClassificationCls79.475.976.489.389.493.0
ToxicConversationsClassificationCls89.690.089.291.992.094.4
TweetSentimentExtractionClassificationCls64.263.063.277.977.878.9
Clustering (V-measure)
ArxivClusteringP2PClust60.160.354.561.962.564.1
ArxivClusteringS2SClust62.560.141.660.561.161.5
BiorxivClusteringP2PV2Clust62.560.849.961.665.377.3
MedrxivClusteringP2PV2Clust52.550.648.055.955.960.7
MedrxivClusteringS2SV2Clust54.050.342.753.355.257.5
RedditClusteringP2PClust93.990.560.178.779.880.8
StackExchangeClusteringP2PV2Clust42.949.046.159.759.560.7
StackExchangeClusteringV2Clust91.890.273.685.886.386.3
TwentyNewsgroupsClusteringV2Clust78.779.966.368.567.673.8
STS (Spearman ρ)
BIOSSESSTS89.688.785.084.482.088.8
SICKRSTS86.186.876.487.988.491.1
STS12STS82.679.577.187.387.387.4
STS13STS91.991.590.693.994.094.6
STS14STS90.589.388.090.991.091.4
STS15STS94.493.991.894.394.294.5
STS16STS89.088.587.192.592.592.9
STS17STS94.294.191.893.693.793.7
STS22v2STS73.671.772.069.568.969.5
STSBenchmarkSTS92.691.789.693.293.494.9
Figure 7: Same-hardware inference throughput. Two open-weight LLMs and seven representative embedding models (118M–14B) served on one H100 (tokens/second, log scale); the full 26-model embedding throughput is in Table 18. Even the slowest embedding runs ∼2.5× faster than the fastest LLM; the fastest runs ∼736× faster.
Figure 7: Same-hardware inference throughput. Two open-weight LLMs and seven representative embedding models (118M–14B) served on one H100 (tokens/second, log scale); the full 26-model embedding throughput is in Table 18. Even the slowest embedding runs ∼2.5× faster than the fastest LLM; the fastest runs ∼736× faster.
Table 7: Per-task scores: Classification (Accuracy).
ModelAmazonCFBanking77IMDBMTOPDomainMassiveIntentMassiveScenarioToxicConvsTweetSentMean
LLMs
Gemini 3.1 Pro84.885.098.095.584.979.489.664.285.2
Gemini 3 Flash81.283.197.696.485.475.990.063.084.1
Qwen3.6-27B90.180.597.496.984.676.489.263.284.8
Qwen3.6-35B-A3B88.777.897.496.879.876.691.062.483.8
Kimi-K2.689.382.897.496.683.276.588.861.684.5
DeepSeek-V4-Flash82.478.596.895.882.477.580.461.281.9
MiniMax-M2.783.678.497.095.275.167.087.663.080.9
GLM-4.788.780.497.296.883.077.187.663.284.2
Gemini 3.1 FLite79.778.797.695.983.276.288.663.482.9
DeepSeek-R186.978.997.096.182.776.678.263.482.5
Embedding models
Octen-8B93.087.397.798.285.789.391.977.990.1
Qwen3-E-8B92.987.297.898.185.889.492.077.890.1
Qwen3-E-4B92.686.397.497.685.286.092.377.189.3
Nemotron-8B83.883.697.196.583.583.588.362.184.8
KaLM-12B90.487.796.398.584.686.790.276.188.8
Jina-v5-S91.891.595.999.288.992.694.468.590.4
SFR-292.790.197.698.386.390.591.978.990.8
Jina-v5-Nano91.390.295.598.088.493.094.466.389.6
F2LLM-14B64.184.791.298.877.689.458.756.777.7
GTE-Qwen2-7B86.884.996.798.083.785.788.270.086.7
Linq-Mistral83.987.794.997.082.784.570.259.282.5
Qwen3-E-0.6B90.580.896.395.880.183.881.974.385.4
EmbGemma-300M89.691.691.998.685.691.683.459.886.5
F2LLM-8B63.183.687.399.072.285.859.351.475.2
F2LLM-4B61.382.286.499.072.386.560.754.275.3
F2LLM-1.7B61.277.683.498.374.687.561.154.374.7
GTE-Qwen2-1.5B81.679.795.895.377.979.884.971.383.3
F2LLM-0.6B59.573.879.797.373.487.359.749.072.5
Figure 8: Capability profiles across five task categories. Gemini 3.1 Pro (red), Qwen3.6-27B (amber), and Octen-8B (blue). The LLMs lead on retrieval, while Octen-8B leads on classification and remains competitive across categories.
Figure 8: Capability profiles across five task categories. Gemini 3.1 Pro (red), Qwen3.6-27B (amber), and Octen-8B (blue). The LLMs lead on retrieval, while Octen-8B leads on classification and remains competitive across categories.
Table 8: Per-task scores: STS (Spearman ρ).
ModelBIOSSESSICK-RSTS12STS13STS14STS15STS16STS17STS22v2STSBenchMean
LLMs
Gemini 3.1 Pro89.686.182.691.990.594.489.094.273.692.688.5
Gemini 3 Flash88.786.879.591.589.393.988.594.171.791.787.6
Qwen3.6-27B85.076.477.190.688.091.887.191.872.089.684.9
Qwen3.6-35B-A3B84.075.575.189.685.191.485.192.773.487.884.0
Kimi-K2.686.482.172.289.385.191.183.990.170.987.883.9
DeepSeek-V4-Flash78.575.375.687.384.589.282.491.569.287.982.2
MiniMax-M2.787.779.765.486.581.988.481.187.166.785.781.0
GLM-4.782.376.073.188.585.791.984.990.473.288.583.5
Gemini 3.1 FLite89.878.076.090.586.391.486.591.471.290.385.1
DeepSeek-R185.079.771.988.785.689.984.291.571.489.283.7
Embedding models
Octen-8B84.487.987.393.990.994.392.593.669.593.288.7
Qwen3-E-8B82.088.487.394.091.094.292.593.768.993.488.5
Qwen3-E-4B84.887.787.494.691.494.592.993.267.793.788.8
Nemotron-8B86.385.483.491.587.992.188.791.464.390.886.2
KaLM-12B87.081.981.489.285.990.686.789.065.189.184.6
Jina-v5-S85.390.486.689.288.992.687.489.165.094.986.9
SFR-287.576.774.681.480.687.584.685.038.282.677.9
Jina-v5-Nano87.491.186.289.989.293.185.488.464.994.287.0
F2LLM-14B88.282.882.486.984.891.385.688.963.487.084.1
GTE-Qwen2-7B83.079.778.188.683.489.585.587.154.786.281.6
Linq-Mistral86.184.477.687.884.191.287.489.956.189.083.4
Qwen3-E-0.6B84.684.683.692.187.091.789.787.964.691.385.7
EmbGemma-300M83.281.979.185.584.589.284.786.657.388.882.1
F2LLM-8B88.882.481.386.683.891.385.489.363.286.583.9
F2LLM-4B87.581.982.386.183.891.585.287.962.887.183.6
F2LLM-1.7B88.581.382.686.784.591.385.287.862.987.683.8
GTE-Qwen2-1.5B81.480.772.984.481.788.784.686.156.685.680.3
F2LLM-0.6B87.880.082.786.784.190.684.984.062.387.683.1
Figure 9: Cross-model task-behaviour correlation. Pearson correlations based on per-task MTEB(LLM) scores. LLMs and embedding models form visually distinct clusters: LLMs are strongly intercorrelated while embedding models cluster by architecture family. Lower inter-paradigm correlations are consistent with their different category profiles.
Figure 9: Cross-model task-behaviour correlation. Pearson correlations based on per-task MTEB(LLM) scores. LLMs and embedding models form visually distinct clusters: LLMs are strongly intercorrelated while embedding models cluster by architecture family. Lower inter-paradigm correlations are consistent with their different category profiles.
Table 9: Per-task scores: Clustering (V-measure).
ModelArxivP2PArxivS2SBioP2PMedP2PMedS2SRedditSE-P2PSE-Cl20NewsMean
LLMs
Gemini 3.1 Pro60.162.562.552.554.093.942.991.878.766.6
Gemini 3 Flash60.360.160.850.650.390.549.090.279.965.7
Qwen3.6-27B54.541.649.948.042.760.146.173.666.353.6
Qwen3.6-35B-A3B48.560.453.249.446.269.242.272.755.755.3
Kimi-K2.652.644.251.950.639.157.452.181.868.955.4
DeepSeek-V4-Flash37.445.529.327.040.955.240.353.564.443.7
MiniMax-M2.736.440.638.339.842.467.439.475.157.948.6
GLM-4.723.628.633.237.537.840.637.949.539.836.5
Gemini 3.1 FLite14.718.917.419.721.628.521.525.827.221.7
DeepSeek-R122.025.332.431.733.426.633.142.134.931.3
Embedding models
Octen-8B61.960.561.655.953.378.759.785.868.565.1
Qwen3-E-8B62.561.165.355.955.279.859.586.367.665.9
Qwen3-E-4B62.660.364.055.554.177.158.883.965.364.6
Nemotron-8B59.259.165.252.952.679.758.784.665.264.1
KaLM-12B61.657.464.154.753.276.158.583.362.063.4
Jina-v5-S60.057.563.653.752.670.558.976.859.961.5
SFR-261.859.665.658.957.580.859.383.273.866.7
Jina-v5-Nano59.155.461.654.652.167.457.376.859.760.4
F2LLM-14B63.160.675.657.756.777.957.281.168.866.5
GTE-Qwen2-7B64.161.566.757.054.180.560.784.558.165.2
Linq-Mistral58.055.761.351.552.877.056.278.461.161.3
Qwen3-E-0.6B60.257.661.852.951.169.956.077.361.760.9
EmbGemma-300M57.953.962.854.451.075.951.973.751.859.3
F2LLM-8B61.760.975.559.254.475.358.281.265.865.8
F2LLM-4B61.359.274.259.854.774.455.279.963.964.7
F2LLM-1.7B62.659.677.360.756.174.455.275.564.265.1
GTE-Qwen2-1.5B58.557.562.153.252.371.152.373.659.160.0
F2LLM-0.6B61.758.671.158.754.569.756.076.059.962.9
Figure 10: Overall rankings. Pro (77.6) narrowly leads Octen-8B (77.2); the difference lies within statistical noise (p = 0.85). Flash-Lite (64.5) ranks near the bottom.
Figure 10: Overall rankings. Pro (77.6) narrowly leads Octen-8B (77.2); the difference lies within statistical noise (p = 0.85). Flash-Lite (64.5) ranks near the bottom.
Table 10: Per-task scores: Pair Classification (AP / Accuracy).
ModelLegalPCRTE3SprintDupTwtURLMean
LLMs
Gemini 3.1 Pro72.295.482.282.883.2
Gemini 3 Flash77.496.783.487.686.3
Qwen3.6-27B71.692.984.685.283.6
Qwen3.6-35B-A3B69.493.685.283.482.9
Kimi-K2.669.288.878.875.478.0
DeepSeek-V4-Flash67.290.486.682.081.6
MiniMax-M2.771.891.582.885.082.8
GLM-4.769.690.082.276.879.7
Gemini 3.1 FLite72.495.086.680.883.7
DeepSeek-R168.890.079.679.679.5
Embedding models
Octen-8B70.085.499.489.486.1
Qwen3-E-8B70.485.799.690.286.5
Qwen3-E-4B72.084.899.889.486.5
Nemotron-8B72.684.899.489.886.7
KaLM-12B73.685.299.889.687.1
Jina-v5-S68.085.299.687.485.1
SFR-267.484.899.889.085.3
Jina-v5-Nano68.885.099.486.685.0
F2LLM-14B72.084.899.688.686.3
GTE-Qwen2-7B71.285.299.688.086.0
Linq-Mistral71.084.899.888.686.1
Qwen3-E-0.6B70.484.899.889.486.1
EmbGemma-300M71.084.899.688.686.0
F2LLM-8B72.084.899.688.086.1
F2LLM-4B70.684.899.888.485.9
F2LLM-1.7B71.084.899.689.086.1
GTE-Qwen2-1.5B73.084.899.489.286.6
F2LLM-0.6B70.885.099.488.085.8
Figure 11: Classification rankings. SFR-2 ranks first (90.8); Pro scores 85.2 and ranks below ten embedding models.
Figure 11: Classification rankings. SFR-2 ranks first (90.8); Pro scores 85.2 and ranks below ten embedding models.
Table 11: Per-task scores: Retrieval (Recall@1).
ModelAILAFQuADHC3FinConsumerQAPubHealthTwtHjerneMean
LLMs
Gemini 3.1 Pro14.592.071.086.090.033.464.5
Gemini 3 Flash5.788.060.079.049.032.452.3
Qwen3.6-27B14.296.057.088.086.033.062.4
Qwen3.6-35B-A3B12.995.055.086.083.030.560.4
Kimi-K2.613.291.056.080.067.033.056.7
DeepSeek-V4-Flash13.383.050.076.064.033.453.3
MiniMax-M2.79.782.042.067.059.028.248.0
GLM-4.713.078.056.078.070.031.654.4
Gemini 3.1 FLite10.284.046.077.045.031.949.0
DeepSeek-R111.957.043.062.064.030.644.7
Embedding models
Octen-8B23.269.066.067.081.029.956.0
Qwen3-E-8B21.868.059.070.078.028.654.2
Qwen3-E-4B21.061.056.064.075.024.850.3
Nemotron-8B9.172.067.070.080.029.954.7
KaLM-12B10.370.055.063.071.030.249.9
Jina-v5-S14.764.048.059.077.025.548.0
SFR-211.267.057.056.074.027.648.8
Jina-v5-Nano12.665.044.061.074.027.647.4
F2LLM-14B12.263.067.054.085.031.552.1
GTE-Qwen2-7B9.164.051.055.077.019.045.8
Linq-Mistral10.668.054.066.078.029.151.0
Qwen3-E-0.6B20.255.036.063.068.022.444.1
EmbGemma-300M5.572.042.062.078.024.247.3
F2LLM-8B8.963.063.051.085.028.950.0
F2LLM-4B8.164.062.053.083.029.449.9
F2LLM-1.7B5.466.055.054.082.028.848.5
GTE-Qwen2-1.5B5.358.044.059.076.021.243.9
F2LLM-0.6B3.656.052.054.080.026.745.4
Figure 12: Clustering rankings. Statistical tie; SFR-2 (66.7) edges Pro (66.6). Flash-Lite scores 21.7.
Figure 12: Clustering rankings. Statistical tie; SFR-2 (66.7) edges Pro (66.6). Flash-Lite scores 21.7.
Table 12: MTEB(LLM) task suite (37 tasks). N = held-out test samples (summed over languages for multilingual tasks); Q = queries, C = corpus documents. Multilingual tasks are evaluated per language and averaged. Held-out subsets (seed 42) derived from MTEB and MMTEB tasks (49; 23), hosted at mteb/llm-eval-*. Token counts: Table 13.
TaskLang.NCls.MetricSource
Classification (8 tasks)
ImdbClsen5002Acc.45
Banking77Clsen3k77Acc.11
AmazonCounterfactualClsen, de, ja8092Acc.54
MTOPDomainClsen, de, fr2k11Acc.41
MassiveIntentClsen, de, fr, ja4k60Acc.24
MassiveScenarioClsen, de, fr, ja3k18Acc.24
ToxicConversationsClsen5002Acc.8
TweetSentimentClsen5003Acc.49
Semantic Textual Similarity (10 tasks)
STSBenchmarken500Spearman12
SICK-Ren500Spearman46
STS12en500Spearman2
STS13en500Spearman2
STS14en500Spearman2
STS15en500Spearman1
STS16en500Spearman1
BIOSSESen100Spearman60
STS17en, de, es, fr1kSpearman12
STS22v2en, de, es, fr, ru, zh2kSpearman14
Clustering (9 tasks)
RedditClustP2Pen1kV-meas.49
TwentyNewsgroupsV2en1kV-meas.49
StackExchangeClustP2PV2en1kV-meas.49
StackExchangeClustV2en1kV-meas.49
ArxivClustP2Pen1kV-meas.49
ArxivClustS2Sen1kV-meas.49
BiorxivClustP2PV2en1kV-meas.49
MedrxivClustP2PV2en1kV-meas.49
MedrxivClustS2SV2en1kV-meas.49
Table 13: Token budget per task (GPT-4o tokenizer; raw text). Actual counts vary by ±15–40% across model vocabularies. *Train split is the kNN reference corpus processed only by embedding models; LLMs process only the test split. Corpus-in-context formatting adds ∼20 tokens per document for LLM retrieval.
Classification
TaskTestTrain (kNN)*
ImdbCls132k7,281k
Banking77Cls38k134k
AmazonCounterfactualCls22k258k
MTOPDomainCls23k393k
MassiveIntentCls37k433k
MassiveScenarioCls30k433k
ToxicConversationsCls33k3,239k
TweetSentimentCls9k483k
STS
STSBenchmark12k
SICK-R10k
STS1214k
STS1312k
STS1412k
STS1512k
STS1614k
BIOSSES7k
STS1721k
STS22v21,866k
Clustering
RedditClustP2P178k
TwentyNewsgroupsV28k
StackExchangeClustP2PV2276k
StackExchangeClustV213k
ArxivClustP2P226k
ArxivClustS2S16k
BiorxivClustP2PV2313k
MedrxivClustP2PV2401k
MedrxivClustS2SV223k
Table 14: Reduced-thinking ablation (Gemini 3 Flash with reasoning_effort=low vs. default) on the MTEB(LLM) retrieval tasks. Think ↓ = reduction in thinking tokens vs. default. Reducing thinking by 54–94% improves all six retrieval scores in this ablation.
TaskGemini 3 FlashGemini 3 Flash (low)ΔThink ↓Best Emb.
Retrieval
AILAStatutes5.712.0+6.323.2
FQuADRetrieval88.092.0+4.054%72.0
HC3FinanceRetrieval60.066.0+6.087%67.0
LegalBenchConsumerContractsQA79.083.0+4.085%70.0
PublicHealthQA49.066.0+17.094%85.0
TwitterHjerneRetrieval32.433.4+1.131.5
Table 15: Few-shot classification ablation (Flash, 5 in-context examples vs. zero-shot). Bold = best score per task across all methods. Five-shot prompting matches zero-shot performance on the 2–3 class tasks and lowers Banking77 performance, where the prompt contains five examples for 77 labels.
TaskClassesZero-shot5-shotΔBest Emb.
IMDB20.9760.974−0.0020.976
ToxicConversations20.9000.838−0.0620.810
TweetSentiment30.7000.682−0.0180.710
Banking77770.8310.165−0.6660.960
Table 16: Retrieve-then-rerank matrix. Average nDCG@10 for first-stage retrievers crossed with cross-encoder and LLM listwise (†) rerankers over 7 BRIGHT and 5 BEIR tasks. Bold = best per row. An LLM reranker improves Qwen3-E-8B on BRIGHT (22.3→35.1); on BEIR, the embedding alone scores highest (63.1).
First stagePureBGE-GemmaQwen3-RR-4BQwen3-RR-8BQwen3.6-27B†Qwen3.6-35B†
BRIGHT (reasoning)
BM2510.218.222.021.924.223.5
BGE-large15.918.922.721.527.626.1
GTE-MC-v115.919.223.923.028.827.9
Qwen3-E-8B22.320.626.424.635.133.6
BEIR (semantic)
BM2539.850.553.252.552.151.1
BGE-large52.755.358.657.657.656.2
GTE-MC-v153.755.058.558.557.556.9
Qwen3-E-8B63.156.860.359.558.958.9
Table 17: Detailed LLM token usage and cost across all MTEB(LLM) tasks. Innc = non-cached input (cached billed at 10% of input rate); Think = reasoning tokens (billed at output rate); Out+Th combines standard output and thinking cost.
Tokens (M)Cost (USD)
ModelInncCachedOutThinkInncCachedOut+ThTotal
Gemini 3.1 Pro12.227.71.88.6$24.39$5.54$124.21$154.14
Gemini 3 Flash12.427.51.814.3$6.19$1.38$48.30$55.87
Qwen3.6-27B39.50.02.726.1$11.46$0.00$91.97$103.43
Qwen3.6-35B-A3B39.50.02.526.0$5.53$0.00$28.52$34.06
Kimi-K2.640.10.02.621.7$27.43$0.00$83.27$110.70
DeepSeek-V4-Flash16.822.62.14.5$1.65$0.22$1.29$3.16
MiniMax-M2.737.90.01.610.0$10.58$0.00$13.93$24.52
GLM-4.738.80.02.424.9$15.54$0.00$47.77$63.31
Gemini 3.1 Flash Lite16.526.91.40.0$4.13$0.67$2.05$6.85
DeepSeek-R139.60.01.210.6$27.73$0.00$29.65$57.38
Table 18: Embedding throughput on a single NVIDIA H100 80GB (median tokens/s over the benchmark), per-MTok cost at $2.49/hr spot, and mean (macro) MTEB(LLM) score.
ModelParamsTok/s$/MTokScore
mE5-S118M4,314,7960.000263.1
mE5-B278M1,910,0050.000464.4
mE5-L-Inst560M640,8420.001169.7
BGE-M3568M640,4250.001166.5
Arctic-L-v2568M640,4050.001165.3
mE5-L560M640,1260.001165.9
EmbGemma-300M308M374,9880.001872.2
Jina-v5-Nano212M327,7900.002173.9
F2LLM-0.6B596M189,6530.003669.9
Qwen3-E-0.6B596M175,6920.003972.5
GTE-Qwen2-1.5B1.5B133,5670.005270.8
F2LLM-1.7B1.7B106,4060.006571.7
Jina-v5-S596M91,6580.007574.4
Qwen3-E-4B4.0B46,0800.015075.9
F2LLM-4B4.0B40,1570.017271.9
GTE-Qwen2-7B7.1B35,4190.019573.1
Octen-8B7.6B29,3130.023677.2
Qwen3-E-8B7.6B29,2620.023677.0
SFR-27.1B28,1960.024573.9
Nemotron-8B7.5B27,8080.024975.3
GritLM-7B7.2B27,7300.024951.2
Linq-Mistral7.1B27,6770.025072.8
E5-Mistral-7B7.1B27,5220.025152.2
F2LLM-8B7.6B25,9570.026672.2
KaLM-12B11.8B19,2440.035974.8
F2LLM-14B14.0B14,6650.047273.3
Table 19: Cost sensitivity analysis. LLM-to-embedding cost ratio under alternative hardware and pricing scenarios. Costs compare Octen-8B with Gemini 3.1 Pro at fixed API pricing; ratios range from 338–2,424×.
Hardware / Pricing ScenarioEmb. CostLLM CostRatio
H100 spot $2.49/hr (our setup)$0.108$154.141,431×
H100 on-demand $3.99/hr$0.173$154.14893×
A100 spot $1.49/hr (est. 1.5× slower)$0.097$154.141,594×
L4 spot $0.49/hr (est. 3× slower)$0.064$154.142,424×
Commercial API $0.10/MTok$0.457$154.14338×

Why it matters

Anyone building search, recommendation, or classification systems has to choose between cheap specialized embedding models and expensive general-purpose LLMs, and this study gives concrete cost-performance numbers to make that call. It shows that chasing top accuracy scores alone can hide enormous, orders-of-magnitude differences in real deployment cost.

Terms in this paper

  • embedding model · a model that converts text into numeric vectors for similarity comparison, classification, or clustering
  • LLM (large language model) · a model trained to generate text; here used via prompting with no dedicated embedding training
  • reasoning/thinking tokens · extra text an LLM generates internally before answering, which is billed as part of inference cost
  • Pareto frontier · the set of models that offer the best possible trade-off between cost and performance, with none dominated by another
  • kNN (k-nearest neighbors) · a simple classification method that labels new data based on its closest matches in existing labeled data

Original abstract (English)

Should you replace your text-embedding pipeline with a large language model? We answer this with a controlled, cost-aware comparison of ten LLMs across six families and 26 embedding models (118M to 14B parameters) on 37 tasks spanning classification, semantic textual similarity (STS), clustering, pair classification, and retrieval. In aggregate the two paradigms are effectively tied: the best LLM (Gemini 3.1 Pro, 77.6) and the best embedding model (77.2) differ by 0.4 points. Their strengths differ by task: LLMs lead on reasoning-heavy retrieval, embedding models lead on classification, and the two match on clustering, STS, and pair classification. Reaching that parity is expensive. An LLM costs up to 1,431x more than an embedding model of comparable quality (USD 154 vs. USD 0.11 per benchmark pass), and the open LLMs tested process tokens 2.5 to 736x more slowly on the same GPU. Reasoning tokens account for 28 to 81% of LLM inference cost; lower reasoning budgets preserve or improve retrieval quality for most models in our ablation. The Pareto frontier contains the leading embedding models and one LLM, Gemini 3.1 Pro. These results support a division of labour: use embedding models for similarity, classification, and clustering, and reserve LLMs for reasoning-intensive retrieval. Our code, datasets, and results are publicly available at https://github.com/embeddings-benchmark/embedders-dilemma.

Authors · Adnan El Assadi

Read on arXiv

Latest papers

All papers →

Latest from METAL LAB

Figures: Adnan El Assadi et al., arXiv:2608.12875, CC BY 4.0