Context
4K
Max output
4K
Serving providers
1
Cheapest input
$0.15 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
AnyscaleCheapest$0.15$0.151
ComponentUnitStandardBatchCached
Text input/1M tok$0.1500
Text output/1M tok$0.1500

Price history

input + output $/1M since we started tracking
Input Output
Input down 35% since first tracked
$0.000$0.050$0.100$0.150$0.200Oct 14Oct 25Jan 8Jun 22$0.130$0.130

Cost calculator

estimate your monthly spend on this model
$42
estimated / month

Model IDs

copy the exact identifier for your platform
anyscale/meta-llama/Llama-2-7b-chat-hf

Frequently asked questions

Llama 2 7B Chat HF pricing, context and availability

How much does Llama 2 7B Chat HF cost?

Llama 2 7B Chat HF costs $0.15 per 1M input tokens and $0.15 per 1M output tokens at its cheapest provider via Anyscale.

What is the context window of Llama 2 7B Chat HF?

Llama 2 7B Chat HF accepts up to 4K tokens of context and can return up to 4K output tokens.

Other Meta models

compare pricing across the Meta lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI