Llama Guard 4 12B
openrouter The API that serves this model and sets the prices shown here. meta-llama/llama-guard-4-12b The model identifier to send in API requests. LLM Generates text from a prompt, so it can be compared with other LLMs on price and capability. Small The fast, low-latency tier of a model family, suited to high-volume or simple tasks.Provider: meta · served via OpenRouter
Knowledge cutoff: August 2024
Nothing to act on today. The cost is the checking: someone has to remember to look again next month, and the month after. Coolhand watches this model for you and automatically updates your agents to the most compatible replacement the moment a retirement is announced — one less thing on your list, permanently.
Sticker prices & cost-per-token
List rates as published by OpenRouter, before any volume or enterprise discounts.
$0.18
$0.18
163,840 tokens
16,384
tokens per response (includes reasoning tokens)
Get this data free
Want to stay updated on price changes on this model? Pull this data free (no API key required) here:
curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=meta-llama%2Fllama-guard-4-12b&q%5Bsource_api_eq%5D=openrouter"
Pricing History
| Effective | Price |
|---|---|
| Aug 16, 2026 – present | Input cost: $0.18 / 1M, Output cost: $0.18 / 1M, Cached input cost: $0.00 / 1M, Cache creation cost: $0.00 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr |
History
No automated scan changes recorded yet.
| Date | Changed by | What changed |
|---|---|---|
| Aug 16, 2026 | Unknown | Initial record created |
Source
https://models.dev/api.json (models.dev provider 'openrouter', bulk import 2026-08-13)Comparable models
No comparable models identified yet.
Reliability
No reliability incidents recorded in the last 90 days.
Frequently asked questions
Llama Guard 4 12B (meta via OpenRouter) costs $0.18 per 1M input tokens and $0.18 per 1M output tokens, as last published by OpenRouter.
Llama Guard 4 12B has a context window of 163,840 tokens (the maximum combined input and output it can handle in a single request).
Llama Guard 4 12B sits in the small size tier. Size tiers run from micro (small enough to run on a device) through small, medium and large to extra large (frontier flagships), and are assigned from the model's family, naming and limits rather than its price.
Llama Guard 4 12B can generate up to 16,384 tokens in a single response. Reasoning (thinking) tokens count toward this limit.
Llama Guard 4 12B's training data runs through August 2024, so it may not know about later events. Coolhand records the cutoff at month precision, since providers often publish only the month.
Llama Guard 4 12B accepts image and text as input and produces text as output, as recorded in the Coolhand catalog.
No, Llama Guard 4 12B is currently active with no announced deprecation date.
Call GET https://coolhandlabs.com/api/v2/inference_apis?q[source_api_eq]=openrouter&q[model_eq]=meta-llama%2Fllama-guard-4-12b — free, no API key required, and scoped to just this model since source_api and model together are unique. See https://coolhandlabs.com/docs for the full REST API reference.
Coolhand also tracks Llama-3.3-70B-Instruct, Llama 3.1 70B Instruct, Llama 3.1 8B Instruct, Llama 3.3 70B Instruct, Llama 4 Maverick 17B Instruct, and Llama 4 Scout 17B Instruct from meta. Some may already be deprecated, so check each model's status alongside its current pricing.
| Model | Input cost | Output cost | Context window | Max output tokens | Status |
|---|---|---|---|---|---|
| Llama-3.3-70B-Instruct via Azure | $0.71/1M $0.0000007100 | $0.71/1M $0.0000007100 | 128,000 | 32,768 | Active |
| Llama 3.1 70B Instruct via Bedrock | $0.72/1M $0.0000007200 | $0.72/1M $0.0000007200 | 128,000 | 4,096 | Active |
| Llama 3.1 8B Instruct via Bedrock | $0.22/1M $0.0000002200 | $0.22/1M $0.0000002200 | 128,000 | 4,096 | Active |
| Llama 3.3 70B Instruct via Bedrock | $0.72/1M $0.0000007200 | $0.72/1M $0.0000007200 | 128,000 | 4,096 | Active |
| Llama 4 Maverick 17B Instruct via Bedrock | $0.24/1M $0.0000002400 | $0.97/1M $0.0000009700 | 1,000,000 | 8,192 | Active |
| Llama 4 Scout 17B Instruct via Bedrock | $0.17/1M $0.0000001700 | $0.66/1M $0.0000006600 | 10,000,000 | 8,192 | Active |
Track LLM pricing and deprecations automatically.
Start free