Llama Guard 4 12B 对比 Phi 4

比较 Llama Guard 4 12B,来自 Meta Llama和Phi 4,来自 Microsoft 在基准测试、价格、上下文长度及其他模型功能等关键指标上的表现。 访问 两个模型 及数百种其他模型,可通过 OpenRouter API。

meta-llama 的网站图标
Llama Guard 4 12B
microsoft 的网站图标
Phi 4

概览

Llama Guard 4 12B
作者
Meta Llama
Phi 4
作者
Microsoft
Llama Guard 4 12B
上下文长度
164Ktoken
Phi 4
上下文长度
16Ktoken
Llama Guard 4 12B
推理
否
Phi 4
推理
否
Llama Guard 4 12B
输入模态
文本, 图像
Phi 4
输入模态
文本
Llama Guard 4 12B
输出模态
文本
Phi 4
输出模态
文本

分析

Llama Guard 4 12B 与 Phi 4 对比概览

指数和基准测试得分来自 Artificial Analysis。 每个分数都是该模型在 Artificial Analysis 评估的所有配置中已公布的最佳结果。

Llama Guard 4 12B
输入价格
US$0.18/M tokens
Phi 4
输入价格
US$0.07/M tokens
Llama Guard 4 12B
输出价格
US$0.18/M tokens
Phi 4
输出价格
US$0.14/M tokens
Llama Guard 4 12B
上下文窗口
163,840 token
Phi 4
上下文窗口
16,384 token
Llama Guard 4 12B
开放性指数 Artificial Analysis,已公布的最佳结果
不可用
Phi 4
开放性指数 Artificial Analysis,已公布的最佳结果
50.0
Llama Guard 4 12B
GPQA Diamond 分数 Artificial Analysis,已公布的最佳结果
不可用
Phi 4
GPQA Diamond 分数 Artificial Analysis,已公布的最佳结果
57.5%
Llama Guard 4 12B
延迟(p50)
0.64 秒
Phi 4
延迟(p50)
0.98 秒
Llama Guard 4 12B
吞吐量(p50)
44.0 tok/s
Phi 4
吞吐量(p50)
86.0 tok/s
Llama Guard 4 12B
提供方
Meta Llama
Phi 4
提供方
Microsoft

基准测试数据已更新

常见问题

Llama Guard 4 12B 比 Phi 4 更便宜吗?

在 OpenRouter 上,Phi 4 比 Llama Guard 4 12B 更便宜:Phi 4 的输入费用为 US$0.07/M tokens,输出费用为 US$0.14/M tokens,而 Llama Guard 4 12B 的输入费用为 US$0.18/M tokens,输出费用为 US$0.18/M tokens。

Llama Guard 4 12B 和 Phi 4,哪个的上下文窗口更长?

Llama Guard 4 12B 的上下文窗口更长,为 163,840 个 token,而 Phi 4 的上下文窗口为 16,384 个 token。

Llama Guard 4 12B 和 Phi 4 哪个更快?

Phi 4 在 OpenRouter 上速度更快,每秒生成 token 数的中位数为 86.0,而 Llama Guard 4 12B 为每秒 44.0 个 token。