Llama 3.1 405B (base) API Cost Calculator
Estimate your monthly API costs for Llama 3.1 405B (base) from Meta Llama.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Llama 3.1 405B Instruct 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 (base) cost per token?
Llama 3.1 405B (base) 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 (base)?
Llama 3.1 405B (base) has a context window of 32.8K tokens (32,768 tokens). The maximum output length is 32.8K tokens.
How does Llama 3.1 405B (base) compare to similar models?
Llama 3.1 405B (base) 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.