Llama Guard 2 8b
This safeguard model has 8B parameters and is based on the Llama 3 family. Just like is predecessor, [LlamaGuard 1](https://huggingface.co/meta-llama/LlamaGuard-7b), it can do both prompt and response classification. LlamaGuard 2 acts as a normal LLM would, generating text that indicates whether the given input/output is safe/unsafe. If deemed unsafe, it will also share the content categories violated. For best results, please use raw prompt input or the `/completions` endpoint, instead of the chat API. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, [click here](https://ai.meta.com/blog/meta-llama-3/). Usage of this model is subject to [Meta's Acceptable Use Policy](https://llama.meta.com/llama3/use-policy/).
料金
💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22
Technical specifications
クイックスタート
BazaarLink API経由でLlama Guard 2 8bを使用 — base_urlを変更するだけ:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="llama-guard-2-8b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "llama-guard-2-8b",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);なぜBazaarLink経由でLlama Guard 2 8bを使うのか?
- ✓台湾ドル請求+統一発票 — 台湾チームは海外クレジットカード不要
- ✓OpenAI互換API — コード変更ゼロ
- ✓自動フェイルオーバー — 同一モデルのマルチプロバイダー冗長性
- ✓中国語サポート — ローカルチームによる即時サポート
よくある質問
Llama Guard 2 8bとは何ですか?
This safeguard model has 8B parameters and is based on the Llama 3 family. Just like is predecessor, [LlamaGuard 1](https://huggingface.co/meta-llama/LlamaGuard-7b), it can do both prompt and response classification. LlamaGuard 2 acts as a normal LLM would, generating text that indicates whether the given input/output is safe/unsafe. If deemed unsafe, it will also share the content categories violated. For best results, please use raw prompt input or the `/completions` endpoint, instead of the chat API. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, [click here](https://ai.meta.com/blog/meta-llama-3/). Usage of this model is subject to [Meta's Acceptable Use Policy](https://llama.meta.com/llama3/use-policy/).
Llama Guard 2 8b APIの料金はいくらですか?
BazaarLink経由のLlama Guard 2 8bは入力1Kトークンあたり$0.2000、出力1Kトークンあたり$0.2000です。モデル料金への上乗せはありません。
Llama Guard 2 8bをOpenAI SDKで使うには?
base_urlを「https://bazaarlink.ai/api/v1」に設定し、モデルIDに「llama-guard-2-8b」を指定するだけです。chat.completions・embeddings・streamingなどOpenAI SDKのメソッドはコード変更なしで動作します。
請求書(インボイス)は発行されますか?経費精算に使えますか?
台湾の事業者が発行する正式な請求書(外銷サービス憑証)を発行します。社内の請求・支払い・調達・経費計上の証憑としてご利用いただけます。ただし日本のインボイス制度上の「適格請求書」ではないため、日本の消費税の仕入税額控除には使用できません。JPY見積もりとクレジットカード決済に対応しています。
Llama Guard 2 8bのコンテキストウィンドウはどのくらいですか?
Llama Guard 2 8bは8,192トークンのコンテキストウィンドウに対応しています。
Llama Guard 2 8bは無料で使えますか?
Llama Guard 2 8bは有料モデルです。登録時に無料トライアルクレジットを付与するため、クレジットカードなしでお試しいただけます。