LiteLLMModels

Llama 3.1 70B Instruct Turbo API Pricing

As of October 10, 2026, Llama 3.1 70B Instruct Turbo costs $0.40 per 1M input tokens and $0.40 per 1M output tokens from DeepInfra, the lowest of 2 providers. It has a 131,072-token context window and returns up to 131,072 tokens per response.

By MetaModel ID deepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct-TurboPrices updated Checked
Input
$0.40 / 1M tokens
Output
$0.40 / 1M tokens
Context window
131,072 tokens
Max output
131,072 tokens
Providers
2
Added to LiteLLM
December 2024

Llama 3.1 70B Instruct Turbo 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.

ProviderModel name in LiteLLMInputOutputContext
DeepInfradeepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo$0.40$0.40128K
Together AItogether_ai/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo$0.88$0.88128K

What Llama 3.1 70B Instruct Turbo costs in practice

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

DeepInfra$1.00
Together AI$2.20

100 long-document requests with 100,000 input and 2,000 output tokens each

DeepInfra$4.08
Together AI$8.976

Llama 3.1 70B Instruct Turbo features

Use Llama 3.1 70B Instruct Turbo with LiteLLM

Call Llama 3.1 70B Instruct Turbo 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="deepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: llama-3.1-70b-instruct-turbo
    litellm_params:
      model: deepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo
      api_key: os.environ/DEEPINFRA_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "llama-3.1-70b-instruct-turbo",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Llama 3.1 70B Instruct Turbo FAQ

How much does Llama 3.1 70B Instruct Turbo cost?

Llama 3.1 70B Instruct Turbo costs $0.40 per 1M input tokens and $0.40 per 1M output tokens from DeepInfra, the lowest of 2 providers.

What is the context window of Llama 3.1 70B Instruct Turbo?

Llama 3.1 70B Instruct Turbo has a 131,072-token context window and returns up to 131,072 tokens per response.

Which providers offer Llama 3.1 70B Instruct Turbo?

Llama 3.1 70B Instruct Turbo is available from 2 providers through LiteLLM: DeepInfra and Together AI. The lowest price is on DeepInfra.

How do I call Llama 3.1 70B Instruct Turbo with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="deepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo", 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.

What features does Llama 3.1 70B Instruct Turbo support?

Llama 3.1 70B Instruct Turbo supports function calling.

When did LiteLLM add Llama 3.1 70B Instruct Turbo?

Llama 3.1 70B Instruct Turbo was added to LiteLLM's model price file in December 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. Provider pricing pages:

LiteLLM docs: DeepInfra, Together AI.

Provider pages: DeepInfra, Together AI.