Llama 3.1 70B Instruct API Cost Calculator
Estimate your monthly API costs for Llama 3.1 70B Instruct 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 4 Maverick Meta Llama | $0.1500 | $0.6000 |
| Llama 3.3 70B Instruct Meta Llama | $0.1000 | $0.3200 |
| Llama 3.2 3B Instruct Meta Llama | $0.0510 | $0.3400 |
| Llama 4 Scout Meta Llama | $0.0800 | $0.3000 |
| Llama Guard 4 12B Meta Llama | $0.1800 | $0.1800 |
Frequently Asked Questions
How much does Llama 3.1 70B Instruct cost per token?
Llama 3.1 70B Instruct is priced at $0.4000 per 1M input tokens and $0.4000 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 70B Instruct?
Llama 3.1 70B Instruct has a context window of 131.1K tokens (131,072 tokens).
Does Llama 3.1 70B Instruct support function calling (tool use)?
Yes, Llama 3.1 70B 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 70B Instruct compare to similar models?
Llama 3.1 70B Instruct costs $0.4000 input and $0.4000 output per 1M tokens. Llama Guard 4 12B is less expensive at $0.1800 input and $0.1800 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the Llama Guard 4 12B page at /tools/cost-calculator/meta-llama/llama-guard-4-12b.