Llama 2 13B Chat
llama-2-13b-chatPricing
List prices at Replicate, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.10 | $0.50 |
What it costs a month
At Replicate list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out$67.50
- RAG over documents2,000 requests a day, 8K in / 0.6K out$66.00
- Coding agent1,000 requests a day, 40K in / 2K out$150
- Overnight batch20,000 requests a day, 4K in / 0.4K out$360
Where to run it
2 hosts serve Llama 2 13B Chat. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
ReplicateInference llama-2-13b-chat | $0.10 / $0.50 | llama-2-13b-chat | |
Fireworks AIInference llama-v2-13b-chat | $0.20 / $0.20 | llama-v2-13b-chat |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
- Open weights
- License: Llama Community LicenseRuntimes: Ollama, TGI, llama.cpp, vLLM
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Replicate.
Smaller Meta models
- 38% less
Other frontier labs
No cheaper match from another frontier lab.
Open-weight picks
- 10% less
- 11% less
- 20% less
- 25% less
Model line
Newer and older versions, at each lab's own price.
- UndatedLlama 2 13B ChatLatest$0.10 / $0.50
- UndatedLlama2 13B Chat$0.75 / $1.00
Call it
Using Replicate's API.
from litellm import completion
response = completion(
model="replicate/llama-2-13b-chat",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Llama 2 13B Chat cost?
On Replicate, Llama 2 13B Chat costs $0.10 per million input tokens and $0.50 per million output tokens.
Which APIs offer Llama 2 13B Chat?
Llama 2 13B Chat runs on 2 APIs: Replicate and Fireworks AI.
What is Llama 2 13B Chat's context window?
4K tokens, with up to 4K tokens in one reply.
Is Llama 2 13B Chat being retired?
No retirement date is scheduled for it on any API we track.
Is there a newer version of Llama 2 13B Chat?
No. Llama 2 13B Chat is the newest model in its line.
What are cheaper alternatives to Llama 2 13B Chat?
Models that cost less and keep most of what it can do: Muse Spark 1.3 Contributor on Meta Model API (38% less) and Qwen3.8 Flash on AIHubMix (10% less). Savings are on a mix of 3 input tokens to 1 output token.
What is Llama 2 13B Chat's API model id?
Use llama-2-13b-chat with Replicate. Other hosts use their own ids: llama-v2-13b-chat on Fireworks AI.
Sources
Raw catalog entry for llama-2-13b-chat on Replicate
{
"input_cost_per_token": 1e-7,
"litellm_provider": "replicate",
"max_input_tokens": 4096,
"max_output_tokens": 4096,
"mode": "chat",
"output_cost_per_token": 5e-7,
"source": "https://replicate.com/meta/llama-2-13b-chat",
"supports_system_messages": true,
"supports_tool_choice": true
}