LiteLLMLiteLLM/ MODELS

Llama Prompt Guard 2 86M API Pricing

By Meta · 1 providergroq/meta-llama/llama-prompt-guard-2-86mCompare
Input / output
$0.04 / $0.04 per 1M tokens
Context
512 tokens
Max output
512 tokens

As of November 24, 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.

Prices updated Checked

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.

Llama Prompt Guard 2 86M prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputContext
Groqgroq/meta-llama/llama-prompt-guard-2-86m$0.04$0.04512

What Llama Prompt Guard 2 86M costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Groq$0.10

Llama Prompt Guard 2 86M cost calculator

At Groq's price ($0.04 input, $0.04 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $0.60 a day, about $18.00 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.00006
Per day
$0.60
Per month (30 days)
$18.00

Llama Prompt Guard 2 86M features

Input: text. Output: text.

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.

Python SDK
from litellm import completion

response = completion(
    model="groq/meta-llama/llama-prompt-guard-2-86m",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
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_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Groq.

Provider pages: Groq.