Meta: Llama Guard 4 12BWork with me

Meta: Llama Guard 4 12B

byMeta

Llama Guard 4 12B is a language model from Meta released on Apr 30, 2025. It reads text and images and writes text, with a 164K token context window and up to 16K tokens per reply.

Show more

It costs $0.18 per million input tokens and $0.18 per million output tokens.

Modalities
In / out price
$0.18 / $0.18 per 1M
Context
164K
Max output
16K
Released
Apr 30, 2025
Knowledge cutoff
n/a
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

Llama Guard 4 12B pricing

USD, as listed on Oct 15, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$0.18 / 1M tokens
Output$0.18 / 1M tokens

What Llama Guard 4 12B costs per month

Pick a workload close to yours or type your own volumes.

Llama Guard 4 12B per month
$15.39
Without caching
$15.39
Per request
$0.0005

Supported request parameters

What you can set when you call Llama Guard 4 12B through an OpenAI compatible API.

  • Temperaturetemperature

Alternatives to Llama Guard 4 12B

Models that take the same inputs, closest in price, cheaper ones first.

  • Reads text and images. Tool calling, structured output. Served by 4 providers.

    by metaJan 1, 2025328K context$0.085/M input tokens$0.46/M output tokens4 providers

  • Reads text, images, audio and video. Tool calling, structured output, reasoning. Served by 17 providers.

    by xiaomiSep 22, 20261.05M context$0.14/M input tokens$0.28/M output tokens17 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 23 providers.

    by googleJun 17, 2025$0.10/M input tokens$0.40/M output tokens23 providers

  • Reads text, images, audio and video. Tool calling. Served by 2 providers.

    by googleDec 11, 2024$0.10/M input tokens$0.42/M output tokens2 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 2 providers.

    by bytedanceApr 28, 2026$0.10/M input tokens$0.40/M output tokens2 providers

  • Reads text, images, audio and video. Tool calling, structured output, reasoning. Served by 21 providers.

    by xiaomiApr 22, 2026$0.14/M input tokens$0.28/M output tokens21 providers

More from Meta

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 7 providers.

    by metaOct 12, 2026$4/M input tokens$20/M output tokens7 providers

  • Index 48.1

    Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 13 providers.

    by metaSep 2, 20261.05M context$1.25/M input tokens$4.25/M output tokens13 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 4 providers.

    by metaSep 2, 2026$0.10/M input tokens$0.20/M output tokens4 providers

  • Generates images from text and images.

    by metaAug 26, 2026

  • Index 17.5

    Reads text and images. Reasoning.

    by metaAug 10, 2026128K context

  • Reads text and images. Tool calling, structured output, reasoning. Served by 12 providers.

    by metaAug 10, 2026$0.35/M input tokens$1.50/M output tokens12 providers

All Meta models

Llama Guard 4 12B questions

How much does the Llama Guard 4 12B API cost?

$0.18 per million input tokens and $0.18 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of Llama Guard 4 12B?

163,840 tokens of input, and it can write up to 16,384 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Does Llama Guard 4 12B support tool calling?

Not through the standard tools parameter. For an agent that calls your APIs, pick a model from the alternatives below that does.

Is Llama Guard 4 12B open source?

No. Meta serves it through an API only, so you cannot download the weights or host it yourself.

When was Llama Guard 4 12B released?

Apr 30, 2025.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.

Building on Llama Guard 4 12B?

I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.

Book Meeting