Try Bifrost Enterprise free for 14 days.
Request access

llama-2-7b-chat-fp16 Cost Calculator - Cloudflare

Calculate the cost of using llama-2-7b-chat-fp16 from Cloudflare for your AI applications

Pricing data last updated:

llama-2-7b-chat-fp16 Cost Calculator

Mode: Chat

Max: 3,072 tokens

Max: 3,072 tokens

Cost Breakdown

Input Cost$0.00055600
Output Cost$0.006667
Total Cost$0.007223

Pricing Details

Input: $0.0000005560 per token
Output: $0.00000667 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 Tokens3,072
Max Output Tokens3,072
Max Tokens3,072

About llama-2-7b-chat-fp16

llama-2-7b-chat-fp16 is a chat model from Cloudflare, one of 4 chat models they offer. It is priced at $0.56 per 1M input tokens and $6.67 per 1M output tokens, ranking 1151 out of 2292 chat models by cost and cheaper than 50% of models in this category. It accepts up to 3K input tokens.

Pricing Information

Input Cost$0.56 per 1M tokens
Output Cost$6.67 per 1M tokens

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

Technical Specifications

Maximum Input Tokens3,072
Maximum Output Tokens3,072
Maximum Total Tokens3,072

Pro Tip

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

How llama-2-7b-chat-fp16 Pricing Compares

At $0.56 per 1M input tokens and $6.67 per 1M output tokens, llama-2-7b-chat-fp16 ranks 1151 out of 2292 chat models by input cost. It is competitively priced compared to the median of $0.55 for chat models, and is cheaper than 50% of models in this category.

ModelProviderInput / 1M tokensOutput / 1M tokensvs llama-2-7b-chat-fp16
ai21.jamba-instruct-v1:0AWS Bedrock$0.50$0.70-10%
us.writer.palmyra-x5-v1:0AWS Bedrock$0.60$6.00+8%
writer.palmyra-x5-v1:0AWS Bedrock$0.60$6.00+8%

Alternatives to llama-2-7b-chat-fp16

Similar chat models from other providers

AWS Bedrock
ai21.jamba-instruct-v1:0
$0.50/1M input
-10% vs llama-2-7b-chat-fp16
AWS Bedrock
us.writer.palmyra-x5-v1:0
$0.60/1M input
+8% vs llama-2-7b-chat-fp16
AWS Bedrock
writer.palmyra-x5-v1:0
$0.60/1M input
+8% vs llama-2-7b-chat-fp16
AWS Bedrock
amazon.titan-text-premier-v1:0
$0.50/1M input
-10% vs llama-2-7b-chat-fp16

Frequently Asked Questions

Is llama-2-7b-chat-fp16 cheaper than ai21.jamba-instruct-v1:0?

No. llama-2-7b-chat-fp16 costs $0.56 per 1M input tokens while ai21.jamba-instruct-v1:0 costs $0.50 per 1M input tokens, making ai21.jamba-instruct-v1:0 10% more affordable for input. However, llama-2-7b-chat-fp16 may offer different capabilities or performance characteristics that justify the price difference.

How does llama-2-7b-chat-fp16 pricing compare to the average chat model?

llama-2-7b-chat-fp16 input pricing is $0.56 per 1M tokens, which is 1% above the median of $0.55 for chat models. It ranks 1151 out of 2292 chat models by input cost, making it cheaper than 50% of models in this category. For output, it costs $6.67 per 1M tokens compared to the median of $1.50.

What makes llama-2-7b-chat-fp16 different from other Cloudflare models?

Among Cloudflare's 4 chat models, llama-2-7b-chat-fp16 ranks 2 by input cost.

What are the best alternatives to llama-2-7b-chat-fp16?

The most comparable chat models to llama-2-7b-chat-fp16 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-2-7b-chat-fp16 costs?

llama-2-7b-chat-fp16 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.56 and generating 1M output tokens costs $6.67.