Try Bifrost Enterprise free for 14 days.
Request access

llama-2-13b Cost Calculator - Replicate

Calculate the cost of using llama-2-13b from Replicate for your AI applications

Pricing data last updated:

llama-2-13b Cost Calculator

Mode: Chat

Max: 4,096 tokens

Max: 4,096 tokens

Cost Breakdown

Input Cost$0.00010000
Output Cost$0.00050000
Total Cost$0.00060000

Pricing Details

Input: $0.0000001000 per token
Output: $0.0000005000 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 Tokens4,096
Max Output Tokens4,096
Max Tokens4,096

About llama-2-13b

llama-2-13b is a chat model from Replicate, one of 40 chat models they offer. It is priced at $0.10 per 1M input tokens and $0.50 per 1M output tokens, ranking 265 out of 2292 chat models by cost and cheaper than 85% of models in this category. It accepts up to 4K input tokens.

Pricing Information

Input Cost$0.10 per 1M tokens
Output Cost$0.50 per 1M tokens

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

Technical Specifications

Maximum Input Tokens4,096
Maximum Output Tokens4,096
Maximum Total Tokens4,096

Pro Tip

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

How llama-2-13b Pricing Compares

At $0.10 per 1M input tokens and $0.50 per 1M output tokens, llama-2-13b ranks 265 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 85% of models in this category.

ModelProviderInput / 1M tokensOutput / 1M tokensvs llama-2-13b
gpt-4.1-nanoAzure$0.10$0.400%
gpt-4.1-nano-2025-04-14Azure$0.10$0.400%
Phi-4Azure$0.13$0.50+25%

Alternatives to llama-2-13b

Similar chat models from other providers

Azure
gpt-4.1-nano
$0.10/1M input
0% vs llama-2-13b
Azure
Phi-4
$0.13/1M input
+25% vs llama-2-13b
Azure
Phi-4-reasoning
$0.13/1M input
+25% vs llama-2-13b

Frequently Asked Questions

Is llama-2-13b cheaper than gpt-4.1-nano?

No. llama-2-13b costs $0.10 per 1M input tokens while gpt-4.1-nano costs $0.10 per 1M input tokens, making gpt-4.1-nano 0% more affordable for input. However, llama-2-13b may offer different capabilities or performance characteristics that justify the price difference.

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

llama-2-13b input pricing is $0.10 per 1M tokens, which is 82% below the median of $0.55 for chat models. It ranks 265 out of 2292 chat models by input cost, making it cheaper than 85% of models in this category. For output, it costs $0.50 per 1M tokens compared to the median of $1.50.

What makes llama-2-13b different from other Replicate models?

Among Replicate's 40 chat models, llama-2-13b ranks 10 by input cost.

What are the best alternatives to llama-2-13b?

The most comparable chat models to llama-2-13b are: gpt-4.1-nano from Azure ($0.10/1M input tokens); gpt-4.1-nano-2025-04-14 from Azure ($0.10/1M input tokens); Phi-4 from Azure ($0.13/1M input tokens); Phi-4-multimodal-instruct from Azure ($0.08/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 check if Replicate is down?

You can monitor Replicate service health in real time on the Bifrost Replicate Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.

How do I calculate llama-2-13b costs?

llama-2-13b 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.10 and generating 1M output tokens costs $0.50.