Calculate the cost of using Llama-Guard-4-12B from DeepInfra for your AI applications
Pricing data last updated:
Mode: Chat
Max: 163,840 tokens
Max: 163,840 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
Llama-Guard-4-12B is a chat model from DeepInfra, one of 67 chat models they offer. It is priced at $0.18 per 1M input tokens and $0.18 per 1M output tokens, ranking 542 out of 2292 chat models by cost and cheaper than 76% of models in this category. Its 164K-token context window is in the top 42% among chat models.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 163,840 input tokens. The maximum output length is 163,840 tokens.
At $0.18 per 1M input tokens and $0.18 per 1M output tokens, Llama-Guard-4-12B ranks 542 out of 2292 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 76% of models in this category.
Llama-Guard-4-12B is one of 67 DeepInfra chat models, its 164K-token context window places it in the top 42% of chat models.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs Llama-Guard-4-12B |
|---|---|---|---|---|
| ai21.jamba-1-5-mini-v1:0 | AWS Bedrock | $0.20 | $0.40 | +11% |
| zephyr-7b-beta | Anyscale | $0.15 | $0.15 | -17% |
| gemma-7b-it | Anyscale | $0.15 | $0.15 | -17% |
Similar chat models from other providers
Yes. Llama-Guard-4-12B costs $0.18 per 1M input tokens compared to ai21.jamba-1-5-mini-v1:0's $0.20 per 1M input tokens, making it 11% more affordable. Both are chat models.
Llama-Guard-4-12B input pricing is $0.18 per 1M tokens, which is 67% below the median of $0.55 for chat models. It ranks 542 out of 2292 chat models by input cost, making it cheaper than 76% of models in this category. For output, it costs $0.18 per 1M tokens compared to the median of $1.50.
Among DeepInfra's 67 chat models, Llama-Guard-4-12B ranks 33 by input cost.
The most comparable chat models to Llama-Guard-4-12B are: ai21.jamba-1-5-mini-v1:0 from AWS Bedrock ($0.20/1M input tokens); zephyr-7b-beta from Anyscale ($0.15/1M input tokens); gemma-7b-it from Anyscale ($0.15/1M input tokens); Llama-2-7b-chat-hf from Anyscale ($0.15/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.
Llama-Guard-4-12B is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.18 and generating 1M output tokens costs $0.18.