ZMIME
Comparison · 2 models · Updated Nov 18, 2026

Llama-3.1-8B-Instruct vs WizardLM 2 8x22B

WizardLM 2 8x22B comes out ahead, 32 to 27 on our weighted score, though Llama-3.1-8B-Instruct is 8.1× cheaper per token.

Price in rating: Excluded · Include price

  1. Meta

    Llama-3.1-8B-Instruct

    Released Jul 23, 2024

    27/100
    • ECI110.8
    • Price$0.055 / $0.078
    • Context128K
  2. Our pick

    Microsoft

    WizardLM 2 8x22B

    Released Apr 15, 2024

    32/100
    • ECI—
    • Price$0.493 / $0.493
    • Context66K
  3. Add a model

    Make it a three-way comparison.

01 — Verdict

WizardLM 2 8x22B is our pick

WizardLM 2 8x22B is the better all-round choice, scoring 32/100 against Llama-3.1-8B-Instruct (27). It leads on capability. Llama-3.1-8B-Instruct wins on inputs & features and context window. The score weighs capability 67%, inputs & features 20%, context window 13%. Capability uses the average of shared benchmarks (GPQA Diamond), because WizardLM 2 8x22B has no Capabilities Index score yet.

  • CapabilityWizardLM 2 8x22BShared benchmarks: WizardLM 2 8x22B 43.4% · Llama-3.1-8B-Instruct 27.0%
  • Lowest priceLlama-3.1-8B-InstructLlama-3.1-8B-Instruct $0.061 · WizardLM 2 8x22B $0.493 per 1M tokens (3:1 blend)
  • Longest contextLlama-3.1-8B-InstructLlama-3.1-8B-Instruct 128,000 · WizardLM 2 8x22B 65,536 tokens
  • Widest inputsSame inputsLlama-3.1-8B-Instruct: Text · WizardLM 2 8x22B: Text
  • Self-hostingAll open weightsEvery model here can be downloaded and run on your own hardware
How the score is built
MeasureWeightLlama-3.1-8B-InstructWizardLM 2 8x22B
CapabilityShared benchmarks67%2743
Inputs & features20%250
Context window13%3222
Overall100%27/10032/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

Llama-3.1-8B-Instruct vs WizardLM 2 8x22B specifications side by side
SpecificationLlama-3.1-8B-InstructMetaWizardLM 2 8x22BMicrosoft
Capability
Capabilities Index (ECI)110.8—
ECI rank#157 of 158—
GPQA DiamondGraduate-level science questions27.0%43.4% (best)
OTIS Mock AIME 2024–2025Competition mathematics1.7%—
Price per million tokens
Input$0.055 (best)$0.493
Output$0.078 (best)$0.493
Cached input——
Blended (3:1)$0.061 (best)$0.493
Long-context rateSame rateSame rate
Price sourceMedian of 18 providersMedian of 3 providers
Limits
Context window128,000 tokens (best)65,536 tokens
Max output4,096 tokens8,000 tokens (best)
Inputs and features
TextYesYes
ImagesNoNo
PDFsNoNo
AudioNoNo
VideoNoNo
ReasoningNoNo
Tool callingYesNo
Structured outputNoNo
Availability
WeightsOpenOpenApache-2.0
API model ID——
API providers19 (best)3
ReleasedJul 23, 2024Apr 15, 2024
Knowledge cutoffDec 2023—
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.

  • Llama-3.1-8B-Instruct$0.707
  • WizardLM 2 8x22B$5.92
04 — Questions

Which should you choose?

Which is better: Llama-3.1-8B-Instruct or WizardLM 2 8x22B?

WizardLM 2 8x22B is the better all-round choice, scoring 32/100 against Llama-3.1-8B-Instruct (27). It leads on capability. Llama-3.1-8B-Instruct wins on inputs & features and context window. The score weighs capability 67%, inputs & features 20%, context window 13%. Capability uses the average of shared benchmarks (GPQA Diamond), because WizardLM 2 8x22B has no Capabilities Index score yet.

Which is cheaper, Llama-3.1-8B-Instruct or WizardLM 2 8x22B?

Llama-3.1-8B-Instruct is cheaper at $0.055 input / $0.078 output per million tokens (median across 18 API providers). WizardLM 2 8x22B costs $0.493 input / $0.493 output per million tokens (median across 3 API providers). At a typical mix of three input tokens to one output token, that is $0.061 per million tokens for Llama-3.1-8B-Instruct versus $0.493 for WizardLM 2 8x22B (8.1× as much).

Which scores higher on benchmarks?

Not every model here has a Capabilities Index score, so we compare the average of shared benchmarks (GPQA Diamond): WizardLM 2 8x22B 43.4% and Llama-3.1-8B-Instruct 27.0%. On individual benchmarks: GPQA Diamond — WizardLM 2 8x22B 43.4%, Llama-3.1-8B-Instruct 27.0%.

Which is better for coding?

There are no published SWE-bench Verified results for Llama-3.1-8B-Instruct and WizardLM 2 8x22B yet, so there is no like-for-like coding score. On overall capability, WizardLM 2 8x22B leads, which tends to carry over to coding, but test on your own codebase. Note that WizardLM 2 8x22B does not support tool calling, which most coding agents need.

Which has the bigger context window?

Llama-3.1-8B-Instruct has the largest context window at 128,000 tokens, against 65,536 for WizardLM 2 8x22B. Maximum output per response: Llama-3.1-8B-Instruct up to 4,096, WizardLM 2 8x22B up to 8,000 tokens.

Which can read images, PDFs, audio or video?

Llama-3.1-8B-Instruct accepts text; WizardLM 2 8x22B accepts text. They handle the same number of input types.

Are any of these open source?

Yes, both publish their weights (Apache-2.0), so you can self-host them.

Which is newer?

Llama-3.1-8B-Instruct is the newest, released Jul 23, 2024. WizardLM 2 8x22B came out Apr 15, 2024. Knowledge cutoff: Llama-3.1-8B-Instruct Dec 2023.

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, 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 18, 2026.