Meta: Llama-3.1-70B-InstructOfficial docs

Meta: Llama-3.1-70B-Instruct

byMeta
Official docs

Llama-3.1-70B-Instruct is a language model from Meta released on Jul 23, 2024. It reads text and writes text, with a 131K token context window and up to 4K tokens per reply.

Show more

It costs $0.72 per million input tokens and $0.72 per million output tokens.

It supports tool calling and structured JSON output, and its weights are open, so you can host it yourself.

6 providers serve it, including Hugging Face, Vercel AI Gateway and Eden AI. The lowest input price is $0.40 per million tokens at Eden AI.

Modalities
In / out price
$0.72 / $0.72 per 1M
Context
131K
Max output
4K
Released
Jul 23, 2024
Knowledge cutoff
Dec 2023
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

Llama-3.1-70B-Instruct pricing

USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$0.72 / 1M tokens
Output$0.72 / 1M tokens

Llama-3.1-70B-Instruct providers

6 providers serve it, including Hugging Face, Vercel AI Gateway and Eden AI. The lowest input price is $0.40 per million tokens at Eden AI. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.

ProviderInput /MOutput /MCache read /MContextMax output
Hugging Face$0.72$0.72n/a131K4K
Vercel AI Gateway$0.72$0.72n/a128K8K
Eden AI$0.40$0.40n/a131K4K
DevPass (LLM Gateway)$0.72$0.72n/a128K2K
Kilo Gateway$0.72$0.72n/a131K8K
Merge Gateway$0.99$0.99n/a128K2K

What Llama-3.1-70B-Instruct costs per month

Pick a workload close to yours or type your own volumes.

Llama-3.1-70B-Instruct per month
$61.56
Without caching
$61.56
Per request
$0.0021

Supported request parameters

What you can set when you call Llama-3.1-70B-Instruct through an OpenAI compatible API.

  • Toolstools
  • Structured outputsstructured_outputs
  • Temperaturetemperature

Alternatives to Llama-3.1-70B-Instruct

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Index 25.2

    Reads text, images and video. Tool calling, structured output, reasoning. Served by 30 providers.

    by qwenJun 2, 20261M context$0.40/M input tokens$1.60/M output tokens30 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 3 providers.

    by cohereMay 20, 2026192K context$0.30/M input tokens$1.50/M output tokens3 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 26 providers.

    by googleMar 3, 2026$0.25/M input tokens$1.50/M output tokens26 providers

  • Reads text, images, audio and video. Tool calling, structured output, reasoning. Served by 27 providers.

    by xiaomiSep 22, 20261.05M context$0.435/M input tokens$0.87/M output tokens27 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 92 providers.

    by deepseekSep 10, 20261.05M context$0.30/M input tokens$1.20/M output tokens92 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 15 providers.

    by metaAug 10, 2026131K context$0.30/M input tokens$1.20/M output tokens15 providers

More from Meta

  • Reads text and images. Served by 4 providers.

    by meta-llamaApr 29, 2025$0.18/M input tokens$0.18/M output tokens4 providers

  • Reads text. Served by 3 providers.

    by meta-llamaApr 29, 2025$0.03/M input tokens$0.03/M output tokens3 providers

  • Reads text. Served by 3 providers.

    by meta-llamaApr 29, 2025$0.04/M input tokens$0.04/M output tokens3 providers

  • Reads text and images. Tool calling, structured output. Served by 6 providers.

    by meta-llamaApr 5, 2025128K context$0.35/M input tokens$1/M output tokens6 providers

  • Reads text and images. Tool calling, structured output. Served by 5 providers.

    by meta-llamaApr 5, 2025$0.25/M input tokens$1/M output tokens5 providers

  • Index 8.1

    Reads text and images. Tool calling, structured output. Served by 4 providers.

    by meta-llamaApr 5, 2025328K context$0.10/M input tokens$0.30/M output tokens4 providers

All Meta models

Llama-3.1-70B-Instruct questions

How much does the Llama-3.1-70B-Instruct API cost?

$0.72 per million input tokens and $0.72 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.

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

131,072 tokens of input, and it can write up to 4,096 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Which providers serve Llama-3.1-70B-Instruct?

6 providers serve it, including Hugging Face, Vercel AI Gateway and Eden AI. The lowest input price is $0.40 per million tokens at Eden AI. Prices differ by host, so the Providers table on this page lists each one with its input and output price.

Does Llama-3.1-70B-Instruct support tool calling?

Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.

Is Llama-3.1-70B-Instruct open source?

Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.

When was Llama-3.1-70B-Instruct released?

Jul 23, 2024, with training data up to Dec 2023.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.