LiteLLMLiteLLM/ MODELS

Llama 2 13B Chat API Pricing

By Meta · 2 providersreplicate/meta/llama-2-13b-chatCompare
Input / output
$0.10 / $0.50 per 1M tokens
Context
4K tokens
Max output
4K tokens

As of November 24, 2026, Llama 2 13B Chat costs $0.10 per 1M input tokens and $0.50 per 1M output tokens from Replicate, the lowest of 2 providers. It has a 4,096-token context window and returns up to 4,096 tokens per response.

Prices updated Checked

Llama 2 13B Chat pricing by provider

2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Llama 2 13B Chat prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputContext
Replicatereplicate/meta/llama-2-13b-chat$0.10$0.504K
Amazon Bedrockmeta.llama2-13b-chat-v1$0.75$1.004K

What Llama 2 13B Chat costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Replicate$0.45
Amazon Bedrock$2.00

Llama 2 13B Chat cost calculator

At Replicate's price ($0.10 input, $0.50 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $3.50 a day, about $105 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.00035
Per day
$3.50
Per month (30 days)
$105

Llama 2 13B Chat features

Input: text. Output: text.

Use Llama 2 13B Chat with LiteLLM

Call Llama 2 13B Chat through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="replicate/meta/llama-2-13b-chat",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: llama-2-13b-chat
    litellm_params:
      model: replicate/meta/llama-2-13b-chat
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "llama-2-13b-chat",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Llama 2 13B Chat FAQ

How much does Llama 2 13B Chat cost?

Llama 2 13B Chat costs $0.10 per 1M input tokens and $0.50 per 1M output tokens from Replicate, the lowest of 2 providers.

What is the context window of Llama 2 13B Chat?

Llama 2 13B Chat has a 4,096-token context window and returns up to 4,096 tokens per response.

Which providers offer Llama 2 13B Chat?

Llama 2 13B Chat is available from 2 providers through LiteLLM: Replicate and Amazon Bedrock. The lowest price is on Replicate.

How do I call Llama 2 13B Chat with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="replicate/meta/llama-2-13b-chat", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Replicate, Amazon Bedrock.

Provider pages: Replicate, Amazon Bedrock.