Llama 3.1 405B Instruct API Cost Calculator
Estimate your monthly API costs for Llama 3.1 405B Instruct from Meta Llama.
Pricing per 1M tokens
Pricing last verified: Mar 13, 2026
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Llama 3.1 405B (base) Meta Llama | $4.00 | $4.00 |
| Llama 3 70B Instruct Meta Llama | $0.5100 | $0.7400 |
| Llama 3.1 70B Instruct Meta Llama | $0.4000 | $0.4000 |
| Llama 4 Maverick Meta Llama | $0.1500 | $0.6000 |
| Llama 3.3 70B Instruct Meta Llama | $0.1000 | $0.3200 |
Frequently Asked Questions
How much does Llama 3.1 405B Instruct cost per token?
Llama 3.1 405B Instruct is priced at $4.00 per 1M input tokens and $4.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for Llama 3.1 405B Instruct?
Llama 3.1 405B Instruct has a context window of 131K tokens (131,000 tokens).
Does Llama 3.1 405B Instruct support function calling (tool use)?
Yes, Llama 3.1 405B Instruct supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does Llama 3.1 405B Instruct compare to similar models?
Llama 3.1 405B Instruct costs $4.00 input and $4.00 output per 1M tokens. Llama 3.3 70B Instruct is less expensive at $0.1000 input and $0.3200 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the Llama 3.3 70B Instruct page at /tools/cost-calculator/meta-llama/llama-3-3-70b-instruct.