StackLift
Meta · updated Nov 22, 2026, 4:07 PM UTC

Llama 3.1 70B Instruct API pricing.

Llama 3.1 70B Instruct by Meta costs $0.72 per million input tokens and $0.72 per million output tokens, with a 131K-token context window. That puts it in the mid-range range of the models we track. A support chatbot handling 10,000 conversations a month would cost about $14.40 a month in API fees.

Price

What Llama 3.1 70B Instruct costs per token

List prices, checked every hour. Blended assumes three input tokens for every output token. This model sits in the mid-range range of the models we track.

ModelProviderInput / 1MOutput / 1MBlended / 1MContext
Llama 3.1 70B InstructMeta$0.72$0.72$0.72131K

Source: Llama 3.1 70B Instruct in the OpenRouter model catalog.

Specs

What Llama 3.1 70B Instruct can do

From Llama 3.1 70B Instruct's entry in the OpenRouter model catalog.

Reads
text
Writes
text
Context window
131K tokens
Longest answer
8K tokens
Tool calling
Yes: it can call functions and APIs you define
Structured output
Not listed
Reasoning
Not listed
Open weights
Yes: you can also run it on your own servers
Knowledge cutoff
December 2023

Monthly cost

What common workloads cost on Llama 3.1 70B Instruct

API fees only, at list price. The assumptions are shown, so you can scale them to your own volume.

Customer support chatbot

$14.40 / month

10,000 conversations a month, ~1,500 in and ~500 out each: 15M input and 5M output tokens.

Knowledge-base Q&A (RAG)

$63.36 / month

20,000 questions a month, ~4,000 in and ~400 out each: 80M input and 8M output tokens.

Document summaries and extraction

$18.43 / month

2,000 documents a month, ~12,000 in and ~800 out each: 24M input and 1.6M output tokens.

Coding assistant for a team of 10

$25.92 / month

10 developers a month, 3.0M in and 0.6M out each: 30M input and 6M output tokens.

Hosting, a vector database, monitoring and the build itself are extra. The free StackLift estimate adds them for your exact scope.

Per request

What one request costs on Llama 3.1 70B Instruct

A request costs its input tokens times the input price plus its output tokens times the output price. A typical assistant turn of 2,000 input and 500 output tokens on Llama 3.1 70B Instruct: 2,000 × $0.72 ÷ 1M + 500 × $0.72 ÷ 1M = $0.0018.

RequestInput / output tokensOne request1,000 requests
Short chat reply500 / 200$0.0005$0.504
Typical assistant turn2,000 / 500$0.0018$1.80
Long document task20,000 / 1,500$0.015$15.48

As you grow

Llama 3.1 70B Instruct cost at ten times less and ten times more

The same workloads at a tenth and at ten times the volume, at Llama 3.1 70B Instruct's list price.

WorkloadA tenthTypicalTen times
Customer support chatbot$1.441,000 conversations$14.4010,000 conversations$144100,000 conversations
Knowledge-base Q&A (RAG)$6.342,000 questions$63.3620,000 questions$633.6200,000 questions
Document summaries and extraction$1.84200 documents$18.432,000 documents$184.3220,000 documents

Fit

When Llama 3.1 70B Instruct is the right choice

Llama 3.1 70B Instruct sits in the middle on price, a common default for assistants and agents that need solid reasoning at a predictable monthly cost.

Llama 3.1 70B Instruct works with text and can call tools and APIs, so it can drive agents that act in your systems.

Its weights are published, so Llama 3.1 70B Instruct can also run on your own servers when data must stay in-house; the API price above is for hosted use.

Many products mix models: a cheaper one for simple steps and a stronger one where quality matters. Test a shortlist on your own examples before you commit.

Save

Ways to pay less for Llama 3.1 70B Instruct

  1. 1. Cache repeated instructions

    Most providers discount input that repeats across requests, such as a long system prompt or shared context.

  2. 2. Route by difficulty

    Llama 4 Scout costs 79% less per token than Llama 3.1 70B Instruct. Send simple requests there and keep Llama 3.1 70B Instruct for the steps that need it.

  3. 3. Batch what can wait

    Overnight or bulk jobs often qualify for batch pricing, at a lower rate than live requests.

  4. 4. Trim prompts and answers

    Retrieve only the passages a question needs, and ask for short, structured answers; output tokens cost the most.

Alternatives

Models priced closest to Llama 3.1 70B Instruct

From other providers, nearest on blended price. Quality and speed differ by task: test the shortlist on your own examples.

ModelProviderInput / 1MOutput / 1MBlended / 1MContext
Llama 3.1 70B InstructMeta$0.72$0.72$0.72131K
Mistral Medium 3.1Mistral$0.44$2.20$0.88131K
Mistral Medium 3Mistral$0.44$2.20$0.88131K
Mistral Large 4Mistral$0.70$2.10$1.051M
DeepSeek V4 Pro 0423DeepSeek$0.90$1.50$1.051M
DeepSeek V3.1 TerminusDeepSeek$0.27$1.00$0.453164K

Meta

Other Meta models

The same provider's newest models, for a quicker or more capable option.

ModelProviderInput / 1MOutput / 1MBlended / 1MContext
Llama 4 MaverickMeta$0.35$1.00$0.513524K
Llama 4 ScoutMeta$0.10$0.30$0.151.3M
Llama 3.3 70B InstructMeta$0.71$0.71$0.71131K

Questions about Llama 3.1 70B Instruct pricing

How much does Llama 3.1 70B Instruct cost per 1,000 tokens?

$0.0007 per 1,000 input tokens and $0.0007 per 1,000 output tokens, from the list price of $0.72 and $0.72 per million.

Is Llama 3.1 70B Instruct cheaper than Mistral Medium 3.1?

Yes, on list price. Llama 3.1 70B Instruct averages $0.72 per million tokens (3 parts input to 1 output) against $0.88 for Mistral Medium 3.1. Quality and speed differ by task, so test both on your own examples.

What is Llama 3.1 70B Instruct's context window?

131K tokens: the most text the model reads and writes in one request. Long documents beyond that are split, or retrieved in parts with RAG.

How much would a chatbot cost on Llama 3.1 70B Instruct?

About $14.40 a month for 10,000 conversations a month, ~1,500 in and ~500 out each. Caching repeated instructions and routing simple questions to a cheaper model lower it further.

Does Llama 3.1 70B Instruct support tool calling?

Yes. Llama 3.1 70B Instruct can call functions and APIs you describe to it, which is what lets an AI agent look up data or take actions.

Can Llama 3.1 70B Instruct read images or documents?

No. Llama 3.1 70B Instruct reads text only; documents need their text extracted first.

How long can Llama 3.1 70B Instruct's answers be?

Up to 8K tokens per answer (about 6,000 words), within a 131K tokens context window.

How do I estimate the AI cost of my own product?

Count the requests a month and the tokens in and out of each, then multiply by the prices here. StackLift's free estimate does this for your exact scope, alongside the cost to build it.

Build with it

Scope a product on Llama 3.1 70B Instruct

Pick your features and integrations; the estimate returns the build cost, timeline and team, and the model's monthly running cost. Free, no signup.