All models

Llama 3.1 70B Instruct vs Qwen3 Coder 480B A35B vs Grok 4.20

Llama 3.1 70B Instruct at $0.460 in and $0.460 out, Qwen3 Coder 480B A35B at $0.345 in and $1.15 out, and Grok 4.20 at $1.44 in and $2.88 out — per million tokens, from the same wallet.

M

Llama 3.1 70B Instruct

Meta

0.27¢

for a client proposal

$0.460 in · $0.460 out / 1M

131K context · released July 2024

Full page →
Q

Qwen3 Coder 480B A35B

Qwen

0.26¢

for a client proposal

$0.345 in · $1.15 out / 1M

262K context · released July 2025

Full page →
x

Grok 4.20

xAI

0.95¢

for a client proposal

$1.44 in · $2.88 out / 1M

2M context · released 7 months ago

Full page →

Asking all three at once — identical prompt, identical context — costs about 1.5¢ for a typical client proposal.

At a glance

  • Cheapest input: Qwen3 Coder 480B A35B at $0.345 per million tokens.
  • Cheapest output: Llama 3.1 70B Instruct at $0.460 per million tokens.
  • Largest context: Grok 4.20 at 2M tokens — about 2,900 pages.

Cost per task

Estimated totals at the rates above. Solid bar is input, lighter bar is output.

Quick code fix

2K in · 500 out
Llama 3.1 70B Instruct
0.11¢
Qwen3 Coder 480B A35B
0.13¢
Grok 4.20
0.43¢

Draft a client proposal from notes

5K in · 800 out
Llama 3.1 70B Instruct
0.27¢
Qwen3 Coder 480B A35B
0.26¢
Grok 4.20
0.95¢

Context-heavy session (Alyph workspace)

155K in · 4K out
Llama 3.1 70B Instruct
needs 155K ctx
Qwen3 Coder 480B A35B
$0.06
Grok 4.20
$0.23

Analyze a 50-page legal contract

35K in · 1K out
Llama 3.1 70B Instruct
1.7¢
Qwen3 Coder 480B A35B
1.3¢
Grok 4.20
$0.05

Large architecture refactor

250K in · 3K out
Llama 3.1 70B Instruct
needs 250K ctx
Qwen3 Coder 480B A35B
$0.09
Grok 4.20
$0.74

Long-context rate applied at this input size.

Solid part of each bar is input tokens, the lighter part is output. Models that don’t fit a task are marked instead of priced.

Cost vs Token Amount

Drag the slider to adjust the split between input and output workload.

80% Input20% Output
free$1.73$3.450 tokens250k500k750k1000k
Llama 3.1 70B Instruct
Qwen3 Coder 480B A35B
Grok 4.20

Adjust the ratio slider to change how output tokens influence the final price for equivalent workloads.

Pricing

Llama 3.1 70B Instruct
Qwen3 Coder 480B A35B
Grok 4.20
Input / 1M tokens
$0.460
$0.345
$1.44
Output / 1M tokens
$0.460
$1.15
$2.88
Cached input / 1M
—
$0.115
$0.230
Web search
—
—
0.57¢ / search

Specs

Llama 3.1 70B Instruct
Qwen3 Coder 480B A35B
Grok 4.20
Provider
Released
July 2024
July 2025
7 months ago
Context window
131K
262K
2M
Max output
16K
66K
—
Input
Text
Text
Text, Images, and Files
Output
Text
Text
Text
Reasoning
Answers directly
Answers directly
Shows its thinking
Knowledge cutoff
2023-12-31
2025-06-30
2025-09-01

Try it with real numbers

2K tokens in · 500 tokens out.

Llama 3.1 70B Instruct

Meta

0.11¢

for this task

80% input · 20% output

Full pricing →

Qwen3 Coder 480B A35B

Qwen

0.13¢

for this task

55% input · 45% output

Full pricing →

Grok 4.20

xAI

0.43¢

for this task

67% input · 33% output

Full pricing →

All 3, same prompt and context: 0.67¢. That is the entire cost of the comparison.

Your $5 welcome credit covers about 743 of these.

Which should you pick?

For long documents, Grok 4.20 has the largest context window here — 2M tokens.

On price, Qwen3 Coder 480B A35B is the cheapest of the three on a typical task, at about 0.26¢.

For images or files, Grok 4.20 can read them directly; Llama 3.1 70B Instruct and Qwen3 Coder 480B A35B are text-only.

If you want to watch the model think, Grok 4.20 shows reasoning; the others answer directly.

Or don’t pick. Send the identical prompt to all three, read the answers side by side, and keep the winner. How to run a fair bake-off →

Questions, answered

Which is cheapest — Llama 3.1 70B Instruct, Qwen3 Coder 480B A35B, or Grok 4.20?

On a typical client proposal (5K tokens in, 800 out): Qwen3 Coder 480B A35B at 0.26¢; Llama 3.1 70B Instruct at 0.27¢; Grok 4.20 at 0.95¢. Long prompts can change the order when long-context rates apply.

Which has the largest context window?

Grok 4.20 — 2M tokens, about 2,900 pages.

Can I run Llama 3.1 70B Instruct, Qwen3 Coder 480B A35B, and Grok 4.20 side by side on Alyph?

Yes — that is what Alyph is built for: the identical prompt with identical context to all 3, answers rendered side by side, billed from one wallet. This exact combination costs about 1.5¢ for a typical task.

Ask all three at once

Identical prompt, identical context, answers side by side — about 1.5¢ for a typical client proposal. Free to start, with $5 of credit.