Gemini Embedding 2 Preview 对比 all-MiniLM-L12-v2

比较 Gemini Embedding 2 Preview,来自 Google和all-MiniLM-L12-v2,来自 sentence-transformers 在基准测试、价格、上下文长度及其他模型功能等关键指标上的表现。 访问 两个模型 及数百种其他模型,可通过 OpenRouter API。

google 的网站图标
Gemini Embedding 2 Preview
sentence-transformers 的网站图标
all-MiniLM-L12-v2

概览

Gemini Embedding 2 Preview
作者
Google
all-MiniLM-L12-v2
作者
sentence-transformers
Gemini Embedding 2 Preview
上下文长度
—
all-MiniLM-L12-v2
上下文长度
—
Gemini Embedding 2 Preview
推理
否
all-MiniLM-L12-v2
推理
否
Gemini Embedding 2 Preview
输入模态
文本, 图像, 音频, 视频, 文件
all-MiniLM-L12-v2
输入模态
文本
Gemini Embedding 2 Preview
输出模态
嵌入
all-MiniLM-L12-v2
输出模态
嵌入

分析

Gemini Embedding 2 Preview 与 all-MiniLM-L12-v2 对比概览

Gemini Embedding 2 Preview
输入价格
不适用
all-MiniLM-L12-v2
输入价格
不适用
Gemini Embedding 2 Preview
输出价格
不适用
all-MiniLM-L12-v2
输出价格
不适用
Gemini Embedding 2 Preview
价格
US$0.20/M tokens
all-MiniLM-L12-v2
价格
US$0.005/M tokens
Gemini Embedding 2 Preview
上下文窗口
不适用
all-MiniLM-L12-v2
上下文窗口
不适用
Gemini Embedding 2 Preview
延迟(p50)
0.27 秒
all-MiniLM-L12-v2
延迟(p50)
0.63 秒
Gemini Embedding 2 Preview
吞吐量(p50)
不可用
all-MiniLM-L12-v2
吞吐量(p50)
不可用
Gemini Embedding 2 Preview
提供方
Google
all-MiniLM-L12-v2
提供方
sentence-transformers

常见问题

Gemini Embedding 2 Preview 比 all-MiniLM-L12-v2 更便宜吗?

Gemini Embedding 2 Preview 在 OpenRouter 上的价格为 定价为 US$0.20/M tokens,而 all-MiniLM-L12-v2 的价格为 定价为 US$0.005/M tokens。

Gemini Embedding 2 Preview 和 all-MiniLM-L12-v2,哪个支持更长的输入?

Gemini Embedding 2 Preview 支持更长的输入,最高可达 8,192 token,而 512 token 是 all-MiniLM-L12-v2 的输入上限。

Gemini Embedding 2 Preview 和 all-MiniLM-L12-v2 支持对哪些输入类型进行嵌入?

Gemini Embedding 2 Preview 在 OpenRouter 上对 文本、图像、PDF 等文件、音频和视频 进行嵌入,而 all-MiniLM-L12-v2 对 文本 进行嵌入。

Gemini Embedding 2 Preview 和 all-MiniLM-L12-v2 哪个更快?

Gemini Embedding 2 Preview 在 OpenRouter 上速度更快,嵌入延迟中位数为 0.27 秒,而 all-MiniLM-L12-v2 为 0.63 秒。