API pricing and cost

Llama3.1-405B Instruct pricing

Llama3.1-405B Instruct official API pricing is $2.40 per million input tokens and $2.40 per million output tokens. Third-party provider prices are compared below.

Covers the 2024-07-23 Llama3.1-405B Instruct release.

$2.40

Official input / 1M

Standard tier

$2.40

Official output / 1M

Standard tier

$2.40

Blended / 1M

4:1 input/output

$240.00

Example monthly cost

10K requests, 8K input + 2K output/request

Token charges only; tool calls, taxes, and other non-token fees are excluded.

Official API pricing

USD / 1M text tokens · Standard · Effective from 2026-11-14 · Last verified 2026-11-14

InputStandard text tier, per million tokens
$2.40
OutputStandard text tier, per million tokens
$2.40

API providers (1)

Published USD text API rates across hosting providers for Llama3.1-405B Instruct. Compare listed rates, effective dates, and service-tier notes for the same model.

Published USD API provider rates for Llama3.1-405B Instruct
ProviderInput / 1MCached / 1MOutput / 1MAdditional tiers & notes
Amazon⁠Effective from 2026-11-14$2.40—$2.40Batch: $1.2/$1.2 per 1M tokens.

What Llama3.1-405B Instruct costs to run

Four workloads costed at official standard rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.

Estimated monthly cost of four workloads on Llama3.1-405B Instruct
WorkloadPer requestMonthly tokensInputOutputPer month
Chatbotshort turns1,500 in · 500 out× 100,000 requests150M in · 50M out$360.00$120.00$480.00$0.0048 / request
Assistant8K context · 90% cached8,000 in · 2,000 out× 10,000 requests80M in · 20M out$192.00$48.00$240.00$0.02 / request
RAGlong input, cached · 50% cached24,000 in · 800 out× 20,000 requests480M in · 16M out$1,152.00$38.40$1,190.40$0.06 / request
Coding agentlong output · 70% cached15,000 in · 4,000 out× 20,000 requests300M in · 80M out$720.00$192.00$912.00$0.05 / request
Start from

Monthly cost

$240.00

on Llama3.1-405B Instruct

Per request

$0.02

80M in · 20M out a month

Split

$192.00 + $48.00

input + output

Llama3.1-405B Instruct against comparable models

Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.

Blended price and monthly cost of Llama3.1-405B Instruct and comparable models
ModelBasisBlended / 1MPer monthvs Llama3.1-405B Instruct
Gemma 3 - 27B (IT)Google Deep MindShared benchmark coverage$0.096$9.6096%cheaper · 25×
Llama3.3-70B-InstructFacebook AI Research LabShared benchmark coverage$0.144$14.4094%cheaper · 16.7×
DeepSeek-V3DeepSeek-AIShared benchmark coverage$0.434$43.4082%cheaper · 5.5×
GPT-5OpenAILower-cost option$2.19$219.008.8%cheaper
Llama3.1-405B InstructFacebook AI Research Lab · this modelThis model$2.40$240.00—
C4AI Command A (202503)CohereAISimilar price$4.00$400.0067%dearer
C4AI Command R+CohereAISimilar price$5.40$540.00125%dearer · 2.3×

Catalog price position: #196 cheapest of 252 active priced models in the LLMLearner catalog (cheaper than 22% at the 4:1 mix; official headline rates).

Llama3.1-405B Instruct pricing questions

How much does Llama3.1-405B Instruct cost per million tokens?
Llama3.1-405B Instruct official API pricing is $2.40 per million input tokens and $2.40 per million output tokens. At the default 4:1 input-to-output mix, that is $2.40 per million blended tokens.
What does Llama3.1-405B Instruct cost per month, and what is included?
On the example Assistant workload (10,000 requests/month, 8,000 input and 2,000 output tokens/request), Llama3.1-405B Instruct costs about $240.00/month ($0.02/request). This includes token charges at the official rate only; tool calls, off-peak or batch tiers, and taxes are excluded.
Is there a cheaper alternative to Llama3.1-405B Instruct?
Among the comparable models shown on this page, Gemma 3 - 27B (IT) is cheaper at $0.096 per million blended tokens vs $2.40 for Llama3.1-405B Instruct. Compare benchmarks before switching, as a lower rate does not guarantee equivalent quality or service terms. Across all 252 active priced models in the LLMLearner catalog, Llama3.1-405B Instruct ranks 196th cheapest (cheaper than 22% at the default 4:1 mix).
Does Llama3.1-405B Instruct charge for cached input?
Facebook AI Research Lab publishes no cached-input rate for Llama3.1-405B Instruct here, so every input token is estimated at the full $2.40 per million.