meta-llama logo
meta-llama

Meta: Llama Guard 4 12B

Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification. $0.18 per million input tokens, $0.18 per million output tokens. 163,840 token context window, maximum output of 16,384 tokens.

模型概览

模型规格

上下文
163,840 tokens
最大输出
16,384 tokens
架构
text+image->text
分词器
Other
知识截止时间
2024-08-31
内容审核
OPENROUTER

完整价格

同步自 OpenRouter。Token 价格均按每百万 Token 展示。

输入
$0.18
/M tokens
输出
$0.18
/M tokens
API

快速调用

通过 OpenRouter 的 OpenAI 兼容 API 调用这个确切的模型 ID。

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"meta-llama/llama-guard-4-12b","messages":[{"role":"user","content":"Hello!"}]}'
能力与模态

输入输出

输入
imagetext
输出
text
API

支持的 API 参数

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstoptemperaturetop_ktop_p
可用提供方

1 提供方

在 OpenRouter 查看实时 Provider

Provider 可用性、延迟、吞吐量和路由会持续变化,请前往来源页面查看实时运行数据。

OpenRouter

DeepInfra

bf16
上下文
164K
最大输出
16K
输入
$0.180
输出
$0.180
缓存读取
暂未提供
缓存写入
暂未提供
meta-llama

个模型

全部模型