Last refreshed 2026-05-02. Next refresh: weekly.
Why use Llama Guard 2 8B on OctoAI API (Deprecated)?
OctoAI API (Deprecated) offers Llama Guard 2 8B with pay-as-you-go pricing at $0.15/1M input tokens. OctoAI is a powerful AI infrastructure platform designed to help developers run, tune, and scale generative AI applications efficiently.
Compare Llama Guard 2 8B across 3 providers to find the best fit for your use caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: llama-guard-2-8bllama-guard-2-8bRequest example
llama-guard-2-8b.Gotchas
No curated gotchas have been sourced for this exact provider/model route yet.
Compare Llama Guard 2 8B Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Fireworks AI | $0.20 | $0.20 |
| OctoAI API (Deprecated) | $0.15 | $0.15 |
| Replicate API | $0.05 | $0.25 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.15 |
| Output tokens | $0.15 |
Capabilities
No model capability flags are currently sourced.
About Llama Guard 2 8B
Llama Guard 2 is an 8B-parameter LLM built on the Llama 3 architecture, specifically designed for content moderation tasks. Released by Meta on April 18, 2024, it excels in classifying both inputs and outputs of LLMs across 11 safety categories. The model generates text outputs indicating whether content is safe or unsafe, providing detailed feedback on violations. It aims to enhance user experience by minimizing false positives while maintaining high accuracy in content moderation, supporting developers in creating safer AI applications .
FAQ
What does Llama Guard 2 8B cost on OctoAI API (Deprecated)?
On OctoAI API (Deprecated), Llama Guard 2 8B costs $0.15 per 1M input tokens and $0.15 per 1M output tokens.
What is the context window for Llama Guard 2 8B on OctoAI API (Deprecated)?
Llama Guard 2 8B supports a 8,000 token context window on OctoAI API (Deprecated).
How does OctoAI API (Deprecated) compare to other Llama Guard 2 8B providers?
Llama Guard 2 8B is available from 3 providers. The cheapest input pricing is $0.05/1M tokens from Replicate API.
Who created Llama Guard 2 8B?
Llama Guard 2 8B was created by AI at Meta as part of the Llama Guard model family.
Is Llama Guard 2 8B open source?
Llama Guard 2 8B is open source according to the seed data.