Try Bifrost Enterprise free for 14 days.
Request access

llama-guard-3-8b Cost Calculator - Cloudflare

Calculate the cost of using llama-guard-3-8b from Cloudflare for your AI applications

Pricing data last updated:

llama-guard-3-8b Cost Calculator

Mode: Chat

Max: 131,072 tokens

Max: 131,072 tokens

Cost Breakdown

Input Cost$0.00048400
Output Cost$0.00003000
Total Cost$0.00051400

Pricing Details

Input: $0.0000004840 per token
Output: $0.0000000300 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Limits

Max Input Tokens131,072
Max Output Tokens131,072
Max Tokens131,072

About llama-guard-3-8b

llama-guard-3-8b is a chat model from Cloudflare, one of 52 chat models they offer. It is priced at $0.48 per 1M input tokens and $0.03 per 1M output tokens, ranking 1259 out of 2661 chat models by cost and cheaper than 53% of models in this category. It accepts up to 131K input tokens.

Pricing Information

Input Cost$0.48 per 1M tokens
Output Cost$0.03 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens131,072
Maximum Output Tokens131,072
Maximum Total Tokens131,072

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 131,072 input tokens. The maximum output length is 131,072 tokens.

How llama-guard-3-8b Pricing Compares

At $0.48 per 1M input tokens and $0.03 per 1M output tokens, llama-guard-3-8b ranks 1259 out of 2661 chat models by input cost. It is competitively priced compared to the median of $0.50 for chat models, and is cheaper than 53% of models in this category.

ModelProviderInput / 1M tokensOutput / 1M tokensvs llama-guard-3-8b
ai21.jamba-instruct-v1:0AWS Bedrock$0.50$0.70+3%
us.writer.palmyra-x5-v1:0AWS Bedrock$0.60$6.00+24%
writer.palmyra-x5-v1:0AWS Bedrock$0.60$6.00+24%

Alternatives to llama-guard-3-8b

Similar chat models from other providers

AWS Bedrock
ai21.jamba-instruct-v1:0
$0.50/1M input
+3% vs llama-guard-3-8b
AWS Bedrock
us.writer.palmyra-x5-v1:0
$0.60/1M input
+24% vs llama-guard-3-8b
AWS Bedrock
writer.palmyra-x5-v1:0
$0.60/1M input
+24% vs llama-guard-3-8b
AWS Bedrock
amazon.titan-text-premier-v1:0
$0.50/1M input
+3% vs llama-guard-3-8b
Azure
gpt-3.5-turbo-0125
$0.50/1M input
+3% vs llama-guard-3-8b

Frequently Asked Questions

Is llama-guard-3-8b cheaper than ai21.jamba-instruct-v1:0?

Yes. llama-guard-3-8b costs $0.48 per 1M input tokens compared to ai21.jamba-instruct-v1:0's $0.50 per 1M input tokens, making it 3% 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.48 per 1M tokens, which is 3% below the median of $0.50 for chat models. It ranks 1259 out of 2661 chat models by input cost, making it cheaper than 53% of models in this category. For output, it costs $0.03 per 1M tokens compared to the median of $1.44.

What makes llama-guard-3-8b different from other Cloudflare models?

Among Cloudflare's 52 chat models, llama-guard-3-8b ranks 34 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-instruct-v1:0 from AWS Bedrock ($0.50/1M input tokens); us.writer.palmyra-x5-v1:0 from AWS Bedrock ($0.60/1M input tokens); writer.palmyra-x5-v1:0 from AWS Bedrock ($0.60/1M input tokens); amazon.titan-text-premier-v1:0 from AWS Bedrock ($0.50/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.48 and generating 1M output tokens costs $0.03.