Llama 3 70B API Pricing
- Input / output
- $0.59 / $0.79 per 1M tokens
- Context
- 8K tokens
- Max output
- 8K tokens
As of November 24, 2026, Llama 3 70B costs $0.59 per 1M input tokens and $0.79 per 1M output tokens from Vercel AI Gateway, the lowest of 3 providers. It has an 8,192-token context window and returns up to 8,192 tokens per response.
Llama 3 70B pricing by provider
4 listings across 3 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Vercel AI Gateway | vercel_ai_gateway/meta/llama-3-70b | $0.59 | $0.79 | 8K |
| Replicate | replicate/meta/llama-3-70b | $0.65 | $2.75 | 8K |
| Replicate | replicate/meta/meta-llama-3-70b | $0.65 | $2.75 | – |
| Snowflake Cortex | snowflake/llama3-70b | – | – | 8K |
What Llama 3 70B costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Vercel AI Gateway | $1.575 |
| Replicate | $2.675 |
Llama 3 70B cost calculator
At Vercel AI Gateway's price ($0.59 input, $0.79 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $9.85 a day, about $296 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.000985
- Per day
- $9.85
- Per month (30 days)
- $296
Llama 3 70B features
Input: text. Output: text.
Use Llama 3 70B with LiteLLM
Call Llama 3 70B 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.
from litellm import completion
response = completion(
model="vercel_ai_gateway/meta/llama-3-70b",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: llama-3-70b
litellm_params:
model: vercel_ai_gateway/meta/llama-3-70b
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "llama-3-70b",
"messages": [{"role": "user", "content": "Hello!"}]
}'Llama 3 70B FAQ
How much does Llama 3 70B cost?
Llama 3 70B costs $0.59 per 1M input tokens and $0.79 per 1M output tokens from Vercel AI Gateway, the lowest of 3 providers.
What is the context window of Llama 3 70B?
Llama 3 70B has an 8,192-token context window and returns up to 8,192 tokens per response.
Which providers offer Llama 3 70B?
Llama 3 70B is available from 3 providers through LiteLLM: Vercel AI Gateway, Replicate and Snowflake Cortex. The lowest price is on Vercel AI Gateway.
How do I call Llama 3 70B with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="vercel_ai_gateway/meta/llama-3-70b", 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.
When did LiteLLM add Llama 3 70B?
Llama 3 70B was added to LiteLLM's model price file in May 2024.
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: Vercel AI Gateway, Replicate, Snowflake Cortex.
Provider pages: Vercel AI Gateway, Replicate, Snowflake Cortex.