Llama Prompt Guard 2 86M API Pricing
As of October 10, 2026, Llama Prompt Guard 2 86M costs $0.04 per 1M input tokens and $0.04 per 1M output tokens on Groq. It has a 512-token context window and returns up to 512 tokens per response.
- Input
- $0.04 / 1M tokens
- Output
- $0.04 / 1M tokens
- Context window
- 512 tokens
- Max output
- 512 tokens
- Providers
- 1
- Added to LiteLLM
- August 13, 2026
Llama Prompt Guard 2 86M pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Groq | groq/meta-llama/llama-prompt-guard-2-86m | $0.04 | $0.04 | 512 |
What Llama Prompt Guard 2 86M costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Groq | $0.10 |
Use Llama Prompt Guard 2 86M with LiteLLM
Call Llama Prompt Guard 2 86M through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="groq/meta-llama/llama-prompt-guard-2-86m",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: llama-prompt-guard-2-86m
litellm_params:
model: groq/meta-llama/llama-prompt-guard-2-86m
api_key: os.environ/GROQ_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "llama-prompt-guard-2-86m",
"messages": [{"role": "user", "content": "Hello!"}]
}'Llama Prompt Guard 2 86M FAQ
How much does Llama Prompt Guard 2 86M cost?
Llama Prompt Guard 2 86M costs $0.04 per 1M input tokens and $0.04 per 1M output tokens on Groq.
What is the context window of Llama Prompt Guard 2 86M?
Llama Prompt Guard 2 86M has a 512-token context window and returns up to 512 tokens per response.
Which providers offer Llama Prompt Guard 2 86M?
Llama Prompt Guard 2 86M is available from Groq through LiteLLM, using the model name groq/meta-llama/llama-prompt-guard-2-86m.
How do I call Llama Prompt Guard 2 86M with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="groq/meta-llama/llama-prompt-guard-2-86m", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
When did LiteLLM add Llama Prompt Guard 2 86M?
Llama Prompt Guard 2 86M was added to LiteLLM's model price file on August 13, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Groq.
Provider pages: Groq.
