Free Llama Guard 3 8b API
Cập nhật 29/8/2026
Llama Guard 3 is a Llama-3.1-8B pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM – it generates text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated.
Về Mô hình
为什么选择 Llama Guard 3 8b?
Llama Guard 3 is a Llama-3.1-8B pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM – it generates text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated.
核心优势与特性
- 每日 10,000 Neurons 免费算力:Cloudflare 为所有开发者提供每日免费额度,0 成本调用。
- 全球边缘网络超低延迟:部署于全球 300+ 城市边缘节点,享受 Serverless GPU 秒级冷启动。
- 开箱即用无缝集成:无需自行部署与管理硬件,支持 REST API 与 Cloudflare Workers 原生绑定直连。
- 支持 131,072 tokens 上下文窗口,适配长文本与复杂多轮任务。
- 核心特性能力:LoRA。
免费调用与开发者福利
Cloudflare Workers AI 为所有免费账户提供每天 10,000 Neurons 的免费额度(约合每日 10k Tokens、数十次图像生成或多段音频转录)。无需绑定海外信用卡,支持 GitHub 账号一键快捷登录,通过 Workers 绑定或统一 REST API 即可全球低延迟直接调用。
Dùng thử ngay trên trình duyệt
Chọn một mô hình, dán khóa miễn phí của riêng bạn và chạy. Khóa của bạn được gửi một lần để gọi nhà cung cấp và không bao giờ được lưu trên máy chủ của chúng tôi.
Chọn một mô hình, dán khóa miễn phí của riêng bạn và chạy. Khóa của bạn được gửi một lần để gọi nhà cung cấp và không bao giờ được lưu trên máy chủ của chúng tôi.
Cách gọi Llama Guard 3 8b
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/meta/llama-guard-3-8b \
-H "Authorization: Bearer $CF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello! How can I use Workers AI?"}
]
}'Chi tiết nhà cung cấp
Các nền tảng sau cung cấp quyền truy cập miễn phí vào Llama Guard 3 8b thông qua các gói miễn phí, tín dụng dùng thử hoặc hạn mức hàng ngày.
| Nhà cung cấp | Cửa sổ ngữ cảnh | Hạn mức miễn phí | Yêu cầu thẻ | Đánh giá | Hành động |
|---|---|---|---|---|---|
| Cloudflare Workers AI | 131K | 10000 yêu cầu mỗi ngày | Không | Details |
Phản hồi từ cộng đồng
Bình luận được liên kết với tài khoản GitHub của bạn — đăng nhập để tham gia thảo luận.