---
title: "Llama-Guard-3-8B Cost Calculator - DeepInfra"
description: "Calculate the cost of using Llama-Guard-3-8B from DeepInfra. Input costs $0.18 and output $0.18 per 1M tokens."
url: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/llama-guard-3-8b"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/llama-guard-3-8b.md"
---

# Llama-Guard-3-8B Cost Calculator - DeepInfra

> Calculate the cost of using Llama-Guard-3-8B from DeepInfra. Input costs $0.18 and output $0.18 per 1M tokens.

## Important Links

- [View MCP Gateway](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources/mcp-gateway.md)
- [Features](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/enterprise)
- [Pricing](https://www.getmaxim.ai/pricing)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/book-a-demo)

## About Llama-Guard-3-8B

Llama-Guard-3-8B is a chat model from DeepInfra, one of 135 chat models they offer. It is priced at $0.18 per 1M input tokens and $0.18 per 1M output tokens, ranking 764 out of 3254 chat models by cost and cheaper than 76% of models in this category. It accepts up to 131K input tokens.

## Pricing

Published DeepInfra pricing for Llama-Guard-3-8B.

- **$0.18 / 1M tokens Input.**
- **$0.18 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **131,072 Max Input Tokens.**
- **131,072 Max Output Tokens.**
- **131,072 Max Tokens.**

## How Pricing Compares

At $0.18 per 1M input tokens and $0.18 per 1M output tokens, Llama-Guard-3-8B ranks 764 out of 3254 chat models by input cost. It is more affordable compared to the median of $0.52 for chat models, and is cheaper than 76% of models in this category.

| Model | Provider | Input $/1M | Output $/1M | vs Llama-Guard-3-8B |
| --- | --- | --- | --- | --- |
| 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% |
| Llama-2-7b-chat-hf | Anyscale | $0.15 | $0.15 | -17% |
| Meta-Llama-3-8B-Instruct | Anyscale | $0.15 | $0.15 | -17% |

## More from DeepInfra

- [Llama-Guard-4-12B ($0.18/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/llama-guard-4-12b.md)
- [Qwen3-VL-235B-A22B-Instruct ($0.20/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/qwen3-vl-235b-a22b-instruct.md)
- [Nemotron-Content-Safety-3.5 ($0.20/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/nemotron-content-safety-3.5.md)
- [Step-3.7-Flash ($0.20/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/step-3.7-flash.md)

## Related Resources

- [All DeepInfra pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra.md)

## FAQ

### Is Llama-Guard-3-8B cheaper than ai21.jamba-1-5-mini-v1:0?

Yes. Llama-Guard-3-8B 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.

### How does Llama-Guard-3-8B pricing compare to the average chat model?

Llama-Guard-3-8B input pricing is $0.18 per 1M tokens, which is 65% below the median of $0.52 for chat models. It ranks 764 out of 3254 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.

### What makes Llama-Guard-3-8B different from other DeepInfra models?

Among DeepInfra's 135 chat models, Llama-Guard-3-8B ranks 50 by input cost.

### What are the best alternatives to Llama-Guard-3-8B?

The most comparable chat models to Llama-Guard-3-8B 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.

### How do I calculate Llama-Guard-3-8B costs?

Llama-Guard-3-8B 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.

## Related Resources

- [All DeepInfra pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra.md)
- [LLM cost calculator](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator.md)
- [Model library](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/pricing)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/book-a-demo)
- [Resources: Bifrost resources](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources.md)

---

*This is a markdown version of [https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/llama-guard-3-8b](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/deepinfra/model/llama-guard-3-8b) for AI/LLM consumption.*
