Llama Prompt Guard 2 22M

llama-prompt-guard-2-22m by Meta Released junio 22, 2026
Caché de prompts
Input from
$0.03 / 1M
Output from
$0.03 / 1M
Cached input from
$0.015 / 1M
Context window
512
Endpoints
1
from 1 providers
Regions
Estados Unidos

About Llama Prompt Guard 2 22M

Llama Prompt Guard 2 22M es un modelo de chat de Meta, disponible en Eden AI a través de 1 endpoint en 1 proveedor, desde 0,03 $ por millón de tokens de entrada y 0,03 $ por millón de tokens de salida, con una ventana de contexto de hasta 512 tokens.

Providers and prices

1 endpoints from 1 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Groq (Estados Unidos)groq/meta-llama/llama-prompt-guard-2-22m
Estados Unidos
512
$0.03
$0.03
$0.015
Caché

Performance

Performance figures appear here once Llama Prompt Guard 2 22M has enough traffic on Eden AI to report them without exposing any single customer.

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Llama Prompt Guard 2 22M with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "llama-prompt-guard-2-22m",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Llama Prompt Guard 2 22M

On Eden AI, prices for this model start at $0.03 per million input tokens and $0.03 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 512 tokens, depending on the endpoint.

1 endpoints from 1 providers, available in: Estados Unidos. All of them are called with the same Eden AI API key.