AI model comparison
Llama 3.1 70B Instruct vs Llama 4 Maverick
Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.
Change models
- Context tokens
- 131.07K
- Input / 1M
- $0.72
- Output / 1M
- $0.72
Meta
Llama 4 Maverick- Context tokens
- 524.29K
- Input / 1M
- $0.35
- Output / 1M
- $1.00
- Llama 3.1 70B Instruct
- 131.07K
- Llama 4 Maverick
- 524.29K
The trade-offs
Start with the differences that affect how this model fits your workload.
- Token cost
- For 1 million input tokens and 250,000 output tokens, the listed rates estimate $0.90 for Llama 3.1 70B Instruct and $0.60 for Llama 4 Maverick.
- Context window
- Llama 4 Maverick lists 524,288 tokens of context. Llama 3.1 70B Instruct lists 131,072 tokens. Reserve space for the output before routing long inputs.
Benchmarks
Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.
A shared benchmark result is unavailable for these model IDs.
Pricing and token cost
Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.
| USD per million tokens | Llama 3.1 70B Instruct | Llama 4 Maverick |
|---|---|---|
| Uncached input | $0.72 | $0.35 |
| Output | $0.72 | $1.00 |
| Cache read | Unavailable | $0.17 |
| Cache write | Unavailable | Unavailable |
Rates are a catalog snapshot. OpenRouter Models API
Estimate your workload
Enter total token counts. The estimate uses uncached input and output rates.
Llama 4 Maverick costs $0.30 less at this token mix.
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | Llama 3.1 70B Instruct | Llama 4 Maverick |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | meta-llama/llama-3.1-70b-instruct | meta-llama/llama-4-maverick |
| Provider | Meta | Meta |
| Context window | 131,072 tokens | 524,288 tokens |
| Max output | 8,192 tokens | 32,768 tokens |
| Input modalities | Text | Text, Image |
| Output modalities | Text | Text |
| Reasoning controls | Unverified | Unverified |
| Tool calling | Listed | Listed |
| Structured outputs | Unverified | Listed |
| Serving endpoints | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses |
| Catalog listing date | Jul 23, 2024 | Apr 5, 2025 |
Use with Weave Router
Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.
Llama 3.1 70B Instruct
Weave Router availability is unverified for this model ID.
Llama 4 Maverick
Weave Router availability is unverified for this model ID.
Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026
Sources
Each benchmark links to its own result and test method when available.
- OpenRouter Models API · token rates and catalog specifications
- Weave Router catalog · verified Router model IDs
- Llama 3.1 70B Instruct catalog entry
- Llama 3.1 70B Instruct model repository
- Llama 4 Maverick catalog entry
- Llama 4 Maverick model repository