Skip to content
DeepInfra

Meta Llama/Llama Guard 4 12B

Meta Llama/Llama Guard 4 12B is available via DeepInfra with a 164K context window and up to 163,840 output tokens. Pricing: $0.1800/1M input tokens, $0.1800/1M output tokens.

Meta Llama/Llama Guard 4 12B Pricing & Specifications

Input Price$0.18 per 1M tokens
Output Price$0.18 per 1M tokens
Context Window163,840 tokens (164K)
Max Output163,840 tokens
ProviderDeepInfra

What is Meta Llama/Llama Guard 4 12B?

Meta Llama/Llama Guard 4 12B is a large language model by DeepInfra with a 164K context window and up to 163,840 output tokens. It costs $0.18 per 1M input tokens and $0.18 per 1M output tokens. Meta Llama/Llama Guard 4 12B is available via DeepInfra with a 164K context window and up to 163,840 output tokens. Pricing: $0.1800/1M input tokens, $0.1800/1M output tokens.

Capabilities

text

Meta Llama/Llama Guard 4 12B Cost Examples

Short prompt (500 tokens)

$0.000090

Medium prompt (2K tokens)

$0.00036

Long output (4K tokens)

$0.00072

Count tokens for Meta Llama/Llama Guard 4 12B

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Meta Llama/Llama Guard 4 12B

DeepInfra

Qwen/Qwen3 235B A22B

$0.18/1M in 41K ctx

DeepInfra

Qwen/Qwen2.5 VL 32B Instruct

$0.20/1M in 128K ctx

DeepInfra

Deepseek Ai/DeepSeek R1 Distill Llama 70B

$0.20/1M in 131K ctx

DeepInfra

Qwen/QwQ 32B

$0.15/1M in 131K ctx

Frequently Asked Questions

How much does Meta Llama/Llama Guard 4 12B cost per token? +
Meta Llama/Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.000270.
What is the context window for Meta Llama/Llama Guard 4 12B? +
Meta Llama/Llama Guard 4 12B supports a context window of 163,840 tokens (164K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Meta Llama/Llama Guard 4 12B? +
Meta Llama/Llama Guard 4 12B can generate up to 163,840 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Meta Llama/Llama Guard 4 12B good for coding tasks? +
Meta Llama/Llama Guard 4 12B can handle basic coding tasks, but there are models specifically optimized for code generation that may perform better on complex programming problems.
Token Counter | Pricing Calculator | Model Comparison | All DeepInfra Models