Compare

Claude 3 Haiku vs Llama 3 70B Instruct

Pricing is only the shared seller matrix below. Best rates and catalog map are separate sections, so no chart is embedded in pricing. Open the calculator for the same workload on each side.

Anthropic

Model

Claude 3 Haiku

Image inputTool calling

Best $0.250 in · $1.25 out

Context window 200K

Pricing
Meta

Model

Llama 3 70B Instruct

Best $0.510 in · $0.740 out

Context window 8K

Pricing

Claude 3 Haiku is 50% cheaper on input. Llama 3 70B Instruct is 40% cheaper on output. The best choice depends on your input/output ratio.

Pricing matrix

Shared sellers only. Each row is a host that lists both models. Dollar amounts are per 1M tokens. Lowest in each pair of columns is emphasized.

ProviderClaude 3 Haiku inClaude 3 Haiku outLlama 3 70B Instruct inLlama 3 70B Instruct out
Google Vertex$0.250$1.25N/AN/A
NovitaN/AN/A$0.510$0.740
Openrouter$0.250$1.25$0.590$0.790
ReplicateN/AN/A$0.650$2.75
Vercel Ai Gateway$0.250$1.25$0.590$0.790

Best listed rates (this pair)

Same "best row in current pricing" logic as model pages: a compact view of the lowest input and output we show for each side. This is not the seller matrix.

Catalog map · Anthropic · Meta

Each chart uses real catalog rows that include both list input and list output ($/1M). Larger green dots are the models on this comparison page; accent dots are other active models from that provider.

Anthropic · input vs output

Scatter chart: X = input $/M, Y = output $/M. This page's models are labeled on the green dots; hover others for detail.

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

Meta · input vs output

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

Specifications

Each column header is the full model name. Tint marks the favorable value where we compute a winner.

Spec
Claude 3 Haiku
Llama 3 70B Instruct
Context window
200,000 tokens
8,192 tokens
Max output tokens
4,096 tokens
8,000 tokens
Vision
Yes
No
Function calling
Yes
No
Streaming
No
No
Release date
Mar 2024
Apr 2024

Cost calculator

Same requests, input tokens, and output tokens for both columns. Pick the provider row that matches how you buy.

Claude 3 Haiku
Monthly
$263
Annual
$3.2K
Llama 3 70B Instruct
Monthly
$296
Annual
$3.6K
Save $33/month with Claude 3 Haiku

When to pick which

Short takeaways: no cards, just the points. Validate with your own workloads.

  • Long-context tasks

    Use Claude 3 Haiku. Its 200K context window handles large codebases and documents better than 8K.

  • High-volume text generation

    Use Llama 3 70B Instruct. Output tokens are 40% cheaper, which compounds significantly at scale.

  • Long output (reports, code files)

    Use Llama 3 70B Instruct. Its 8K max output limit reduces the need to split requests.

Frequently asked questions

Claude 3 Haiku is cheaper on input tokens, while Llama 3 70B Instruct is cheaper on output. The best choice depends on your input/output ratio.

More comparisons

Other popular head-to-head matchups.