LLM Reference
OctoAI API (Deprecated)

Llama Guard 2 8B on OctoAI API (Deprecated)

Llama Guard · AI at Meta

Open Weights

Last refreshed 2026-07-11. Next refresh: weekly.

Why use Llama Guard 2 8B on OctoAI API (Deprecated)?

OctoAI API (Deprecated) offers Llama Guard 2 8B with competitive pricing. OctoAI was a hosted inference platform for running third-party foundation models.

Compare Llama Guard 2 8B across 3 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: llama-guard-2-8b
Model ID
llama-guard-2-8b

Request example

Curated snippets for this provider have not been sourced yet.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare Llama Guard 2 8B Across Providers

ProviderInput (per 1M)Output (per 1M)
Fireworks AI$0.20$0.20
OctoAI API (Deprecated)
Replicate API$0.05$0.25

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 is the context window for Llama Guard 2 8B on OctoAI API (Deprecated)?

Llama Guard 2 8B supports a 8k 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 has open weights under Llama 2 Community according to the seed data, but that does not necessarily mean an OSI-approved open-source license.

Get Started

Model Specs

Released2024-04-18
Parameters8B
Context8k
ArchitectureDecoder Only
Knowledge cutoff2023-03