ZMIME
Comparison · 3 models · Updated Nov 24, 2026

GPT-4o mini vs Claude Haiku 3.5 vs Llama-3.1-70B-Instruct

GPT-4o mini comes out ahead, 57 to 51 and 48 on our weighted score, and it is the cheaper option too.Too close to call on our weighted score (Claude Haiku 3.5 51, Llama-3.1-70B-Instruct 50, GPT-4o mini 49). The right pick depends on what you value most.

  1. Our pick

    OpenAI

    GPT-4o mini

    Released Jul 18, 2024Deprecated

    57/100
    • ECI123.8
    • Price$0.15 / $0.60
    • Context128K
  2. Anthropic

    Claude Haiku 3.5

    Released Oct 22, 2024

    48/100
    • ECI124.8
    • Price$0.80 / $4.00
    • Context200K
  3. Meta

    Llama-3.1-70B-Instruct

    Released Jul 23, 2024

    51/100
    • ECI124.7
    • Price$0.72 / $0.72
    • Context128K
  4. OpenAI

    GPT-4o mini

    Released Jul 18, 2024Deprecated

    49/100
    • ECI123.8
    • Price$0.15 / $0.60
    • Context128K
  5. Anthropic

    Claude Haiku 3.5

    Released Oct 22, 2024

    51/100
    • ECI124.8
    • Price$0.80 / $4.00
    • Context200K
  6. Meta

    Llama-3.1-70B-Instruct

    Released Jul 23, 2024

    50/100
    • ECI124.7
    • Price$0.72 / $0.72
    • Context128K
01 — Verdict

GPT-4o mini is our pickToo close to call

GPT-4o mini is the better all-round choice, scoring 57/100 against Llama-3.1-70B-Instruct (51) and Claude Haiku 3.5 (48). It leads on price. Claude Haiku 3.5 wins on context window. The score weighs capability 59%, price 29%, context window 12%.It is close. Our weighted score puts them within 1 points (Claude Haiku 3.5 51/100, Llama-3.1-70B-Instruct 50/100, GPT-4o mini 49/100), so choose by what matters most for your work: Claude Haiku 3.5 for raw capability and GPT-4o mini on price. The score weighs capability 83%, context window 17%.

  • CapabilityClaude Haiku 3.5Capabilities Index (ECI): Claude Haiku 3.5 124.8 · Llama-3.1-70B-Instruct 124.7 · GPT-4o mini 123.8
  • Lowest priceGPT-4o miniGPT-4o mini $0.263 · Llama-3.1-70B-Instruct $0.72 · Claude Haiku 3.5 $1.60 per 1M tokens (3:1 blend)
  • Longest contextClaude Haiku 3.5Claude Haiku 3.5 200,000 · GPT-4o mini 128,000 · Llama-3.1-70B-Instruct 128,000 tokens
  • Widest inputsGPT-4o mini and Claude Haiku 3.5GPT-4o mini: Text, Images, PDFs · Claude Haiku 3.5: Text, Images, PDFs · Llama-3.1-70B-Instruct: Text
  • Self-hostingLlama-3.1-70B-InstructPublishes downloadable weights
How the score is built
MeasureWeightGPT-4o miniClaude Haiku 3.5Llama-3.1-70B-Instruct
CapabilityCapabilities Index (ECI)59%535454
Price29%743854
Context window12%323932
Overall100%57/10048/10051/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

How the score is built
MeasureWeightGPT-4o miniClaude Haiku 3.5Llama-3.1-70B-Instruct
CapabilityCapabilities Index (ECI)83%535454
Context window17%323932
Overall100%49/10051/10050/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

GPT-4o mini vs Claude Haiku 3.5 vs Llama-3.1-70B-Instruct specifications side by side
SpecificationGPT-4o miniOpenAIClaude Haiku 3.5AnthropicLlama-3.1-70B-InstructMeta
Capability
Capabilities Index (ECI)123.8124.8 (best)124.7
ECI rank#147 of 158#145 of 158 (best)#146 of 158
ECI confidence interval120.5–126.8121.5–127.7121.4–127.7
ECI evaluation dateJul 18, 2024Oct 22, 2024Jul 23, 2024
Documented capabilitiesSmall omni GPT for cheap multimodal assistance and production-scale trafficFast Claude model for responsive assistance, classification, and lightweight agentsOpen Llama instruction model for multilingual chat, reasoning, and coding
Model parametersNot publishedNot publishedNot published
Output modalitiesTextTextText
GPQA DiamondGraduate-level science questions37.7%38.1%44.2% (best)
FrontierMath Tiers 1–3Research-level mathematics0.7%Not publishedNot published
OTIS Mock AIME 2024–2025Competition mathematics6.9% (best)4.3%3.6%
SimpleQA VerifiedShort factual questions8.3%Not publishedNot published
Publisher-reported benchmarks
Aider PolyglotPublisher-reported result3.6percent correctReported resultDec 21, 202428percent correctReported resultDec 21, 2024Not published
SciCodePublisher-reported result22.9percent correctReported resultMar 11, 2026Not publishedNot published
Price per million tokens
Input$0.15 (best)$0.80$0.72
Output$0.60 (best)$4.00$0.72
Cached input$0.075Not publishedNot published
Blended (3:1)$0.263 (best)$1.60$0.72
Long-context rateSame rateSame rateSame rate
Price sourceOfficial OpenAI APIMedian of 3 providersMedian of 8 providers
Limits
Context window128,000 tokens200,000 tokens (best)128,000 tokens
Max inputNot publishedNot publishedNot published
Max output16,384 tokens (best)8,192 tokens4,096 tokens
Inputs and features
TextYesYesYes
ImagesYesYesNo
PDFsYesYesNo
AudioNoNoNo
VideoNoNoNo
ReasoningNoNoNo
Tool callingYesYesYes
Structured outputYesNot publishedNot published
File attachmentsYesYesNo
Temperature controlYesYesYes
Reasoning controlNot publishedNot publishedNot published
Availability
WeightsProprietaryProprietaryOpen
API model IDgpt-4o-miniNot publishedNot published
API providers28 (best)48
ReleasedJul 18, 2024Oct 22, 2024Jul 23, 2024
Knowledge cutoffSep 2023Jul 31, 2024Dec 2023
Publisher documentationPublisher documentationNot publishedModel weights
Source metadata updatedJul 18, 2024Oct 22, 2024Jul 23, 2024
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 24, 2026Nov 24, 2026Nov 24, 2026
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • GPT-4o mini$2.70
  • Claude Haiku 3.5$16.00
  • Llama-3.1-70B-Instruct$8.64
04 — Questions

Which should you choose?

Which is better: GPT-4o mini, Claude Haiku 3.5 or Llama-3.1-70B-Instruct?

GPT-4o mini is the better all-round choice, scoring 57/100 against Llama-3.1-70B-Instruct (51) and Claude Haiku 3.5 (48). It leads on price. Claude Haiku 3.5 wins on context window. The score weighs capability 59%, price 29%, context window 12%.It is close. Our weighted score puts them within 1 points (Claude Haiku 3.5 51/100, Llama-3.1-70B-Instruct 50/100, GPT-4o mini 49/100), so choose by what matters most for your work: Claude Haiku 3.5 for raw capability and GPT-4o mini on price. The score weighs capability 83%, context window 17%.

Which is cheaper, GPT-4o mini, Claude Haiku 3.5 or Llama-3.1-70B-Instruct?

GPT-4o mini is cheaper at $0.15 input / $0.60 output per million tokens (official OpenAI API price). Llama-3.1-70B-Instruct costs $0.72 input / $0.72 output per million tokens (median across 8 API providers); Claude Haiku 3.5 costs $0.80 input / $4.00 output per million tokens (median across 3 API providers). At a typical mix of three input tokens to one output token, that is $0.263 per million tokens for GPT-4o mini versus $0.72 for Llama-3.1-70B-Instruct (2.7× as much) and $1.60 for Claude Haiku 3.5 (6.1× as much).

Which scores higher on benchmarks?

Claude Haiku 3.5 scores higher on the Capabilities Index (ECI): Claude Haiku 3.5 124.8 (#145 of 158), Llama-3.1-70B-Instruct 124.7 (#146 of 158) and GPT-4o mini 123.8 (#147 of 158). The confidence ranges of the top two overlap (121.5–127.7 vs 121.4–127.7), so treat the gap as small. On individual benchmarks: GPQA Diamond — Llama-3.1-70B-Instruct 44.2%, Claude Haiku 3.5 38.1%, GPT-4o mini 37.7%; OTIS Mock AIME 2024–2025 — GPT-4o mini 6.9%, Claude Haiku 3.5 4.3%, Llama-3.1-70B-Instruct 3.6%.

Which is better for coding?

There are no published SWE-bench Verified results for GPT-4o mini, Claude Haiku 3.5 and Llama-3.1-70B-Instruct yet, so there is no like-for-like coding score. On overall capability, Claude Haiku 3.5 leads, which tends to carry over to coding, but test on your own codebase. All three support tool calling for agent workflows.

Which has the bigger context window?

Claude Haiku 3.5 has the largest context window at 200,000 tokens, against 128,000 for GPT-4o mini and 128,000 for Llama-3.1-70B-Instruct. Maximum output per response: GPT-4o mini up to 16,384, Claude Haiku 3.5 up to 8,192, Llama-3.1-70B-Instruct up to 4,096 tokens.

Which can read images, PDFs, audio or video?

GPT-4o mini accepts text, images and PDFs; Claude Haiku 3.5 accepts text, images and PDFs; Llama-3.1-70B-Instruct accepts text. GPT-4o mini handles the widest range of inputs.

Are any of these open source?

Llama-3.1-70B-Instruct publishes its weights and can be self-hosted; GPT-4o mini and Claude Haiku 3.5 is proprietary.

Which is newer?

Claude Haiku 3.5 is the newest, released Oct 22, 2024. Llama-3.1-70B-Instruct came out Jul 23, 2024; GPT-4o mini came out Jul 18, 2024. Knowledge cutoff: GPT-4o mini Sep 2023, Claude Haiku 3.5 Jul 31, 2024, Llama-3.1-70B-Instruct Dec 2023.

How do you decide the winner?

This rating uses capability (59%, independent benchmark results); price (29%, blended price per million tokens (3 input : 1 output), log scale); context window (12%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 24, 2026.This rating uses capability (83%, independent benchmark results); context window (17%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 24, 2026.