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.
| Provider | Input / 1M | Cached / 1M | Output / 1M | Additional tiers & notes |
|---|---|---|---|---|
| AmazonEffective from 2026-11-14 | $2.40 | — | $2.40 | Batch: $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.
| Workload | Per request | Monthly tokens | Input | Output | Per month |
|---|---|---|---|---|---|
| Chatbotshort turns | 1,500 in · 500 out× 100,000 requests | 150M in · 50M out | $360.00 | $120.00 | $480.00$0.0048 / request |
| Assistant8K context · 90% cached | 8,000 in · 2,000 out× 10,000 requests | 80M in · 20M out | $192.00 | $48.00 | $240.00$0.02 / request |
| RAGlong input, cached · 50% cached | 24,000 in · 800 out× 20,000 requests | 480M in · 16M out | $1,152.00 | $38.40 | $1,190.40$0.06 / request |
| Coding agentlong output · 70% cached | 15,000 in · 4,000 out× 20,000 requests | 300M in · 80M out | $720.00 | $192.00 | $912.00$0.05 / request |
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
The same workload costs $9.60 on Gemma 3 - 27B (IT), the cheapest of the comparable models below.
- Gemma 3 - 27B (IT)Google Deep Mind · $0.096 / 1M blended$9.60
- Llama3.3-70B-InstructFacebook AI Research Lab · $0.144 / 1M blended$14.40
- DeepSeek-V3DeepSeek-AI · $0.434 / 1M blended$43.40
- GPT-5OpenAI · $2.19 / 1M blended$219.00
- C4AI Command A (202503)CohereAI · $4.00 / 1M blended$400.00
- C4AI Command R+CohereAI · $5.40 / 1M blended$540.00
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.
| Model | Basis | Blended / 1M | Per month | vs Llama3.1-405B Instruct |
|---|---|---|---|---|
| Gemma 3 - 27B (IT)Google Deep Mind | Shared benchmark coverage | $0.096 | $9.60 | 96%cheaper · 25× |
| Llama3.3-70B-InstructFacebook AI Research Lab | Shared benchmark coverage | $0.144 | $14.40 | 94%cheaper · 16.7× |
| DeepSeek-V3DeepSeek-AI | Shared benchmark coverage | $0.434 | $43.40 | 82%cheaper · 5.5× |
| GPT-5OpenAI | Lower-cost option | $2.19 | $219.00 | 8.8%cheaper |
| Llama3.1-405B InstructFacebook AI Research Lab · this model | This model | $2.40 | $240.00 | — |
| C4AI Command A (202503)CohereAI | Similar price | $4.00 | $400.00 | 67%dearer |
| C4AI Command R+CohereAI | Similar price | $5.40 | $540.00 | 125%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.