Skip to content
FluxCDNFluxCDN
esc

Meta: Llama Guard 4 12B

Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification.

Input
69,308 Toman/M tokens
Output
69,308 Toman/M tokens
Context
164K
Max output
16K
Published
Apr 30, 2025
Maker
Meta

Free plan prices, in Toman at today's rate. Plans and prices

Price by plan

Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.

PlanInputOutput
Free69,30869,308
Pro66,46866,468
Max63,62763,627

Capabilities

  • Text
  • Vision

What it takes and gives

Accepts
  • Text
  • Image
Creates
  • Text

Every input listed here works through the API and the playground: images and PDFs as data URLs or https links, audio as base64, video as a data URL or a link the model supports.

Call it

Pass meta-llama/llama-guard-4-12b as the model name, or let router/auto choose for you.

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://ai.fluxcdn.cloud/api/v1",
    api_key=os.environ["FLUXCDN_API_KEY"],
)

resp = client.chat.completions.create(
    model="router/auto",
    messages=[{"role": "user", "content": "Hello"}],
)

print(resp.choices[0].message.content)