Google: Gemma 2 27B vs WizardLM-2 8x22B

WizardLM-2 8x22B comes out ahead on the data we track: 2 advantages and none for Google: Gemma 2 27B.

Key numbers

SpecGoogle: Gemma 2 27BWizardLM-2 8x22B
ProviderGoogleMicrosoft
Input price (per 1M tokens)$0.65$0.62
Output price (per 1M tokens)$0.65$0.62
Blended price (3:1 input/output)$0.65$0.62
Cheaper than … of all models we track48%49%
Context window8K tokens (~12 pages)66K tokens (~98 pages)
Larger context than … of all models2%11%
Max output per response2K tokens (~1,500 words)8K tokens (~6,000 words)
Input typestexttext
Output typestexttext
Free variantNoNo
Listed since2024-07-132024-04-16
Advertisement

What it costs for real workloads

Monthly cost at list price for five common workloads. Token counts per unit are stated so you can scale them to your own traffic. A workload that does not fit a model's context window is marked rather than priced.

Workload (per month)Google: Gemma 2 27BWizardLM-2 8x22BDifference
Customer-support chatbot
50,000 conversations — each a 6-turn conversation (1,500 in / 400 out tokens)
$61.75$58.90WizardLM-2 8x22B saves $2.85
RAG search over documents
20,000 questions — each a question answered from ~8 retrieved passages (6,000 in / 500 out tokens)
$84.50$80.60WizardLM-2 8x22B saves $3.90
Coding / tool-using agent
2,000 tasks — each a multi-step task with tool calls and file context (60,000 in / 6,000 out tokens)
Doesn't fit contextDoesn't fit context—
Batch summarisation
10,000 documents — each a 6,000-word report summarised to a page (8,000 in / 600 out tokens)
Doesn't fit context$53.32—
Long-document analysis
500 documents — each a 150-page contract or codebase read in one pass (100,000 in / 2,000 out tokens)
Doesn't fit contextDoesn't fit context—

Capabilities side by side

CapabilityGoogle: Gemma 2 27BWizardLM-2 8x22BWhat it lets you do
Tool / function calling——call your APIs and run agent loops
Structured output (JSON schema)✓ Yes✓ Yesreturn JSON that validates against your schema
Reasoning / thinking mode——spend extra tokens thinking before answering hard problems
Image input——read screenshots, charts and scanned pages
Audio input——take speech or audio directly
File / PDF input——accept documents without your own parsing step
Image output——generate images, not just text
Built-in web search——answer from live web results
Seed (reproducible sampling)✓ Yes✓ Yesrepeat a generation for tests and evals
Log-probabilities——read token confidence for classification and scoring

From each model's published parameters and input/output types. “—” means not advertised, not proven absent.

Price history

Which should you choose?

Choose Google: Gemma 2 27B if…

No advantage on the data we track — pick it for provider preference or output quality on your own prompts.

Choose WizardLM-2 8x22B if…

  • you need to fit long inputs in one request — 66K tokens is roughly 98 pages, against 12
  • you generate long outputs in one go — up to 8K tokens (about 6,000 words) per response

Frequently asked questions

Is Google: Gemma 2 27B better than WizardLM-2 8x22B?

WizardLM-2 8x22B comes out ahead on the data we track: 2 advantages and none for Google: Gemma 2 27B.

Which is cheaper, Google: Gemma 2 27B or WizardLM-2 8x22B?

WizardLM-2 8x22B is cheaper: $0.62 vs $0.65 per 1M tokens at a typical 3:1 input/output mix, 5% less. For 50,000 support conversations a month that is $58.90 against $61.75.

How much do Google: Gemma 2 27B and WizardLM-2 8x22B cost per million tokens?

Google: Gemma 2 27B costs $0.65 per 1M input tokens and $0.65 per 1M output tokens; WizardLM-2 8x22B costs $0.62 input and $0.62 output. Output tokens are billed separately, so long answers shift the gap.

Which has the bigger context window, Google: Gemma 2 27B or WizardLM-2 8x22B?

WizardLM-2 8x22B: 66K tokens, about 98 pages, against 8K (about 12 pages) for Google: Gemma 2 27B.

Do Google: Gemma 2 27B and WizardLM-2 8x22B support function calling and JSON output?

Tool calling — Google: Gemma 2 27B: not advertised, WizardLM-2 8x22B: not advertised. JSON-schema structured output — Google: Gemma 2 27B: yes, WizardLM-2 8x22B: yes.

Can Google: Gemma 2 27B or WizardLM-2 8x22B read images?

Neither accepts image input — both are text-in models.

Is Google: Gemma 2 27B or WizardLM-2 8x22B free to use?

No free variant is listed for either; both are pay-per-token.

What is the maximum output length of Google: Gemma 2 27B and WizardLM-2 8x22B?

Google: Gemma 2 27B can write up to 2K tokens (about 1,500 words) per response; WizardLM-2 8x22B up to 8K (about 6,000 words).

When were Google: Gemma 2 27B and WizardLM-2 8x22B released?

Google: Gemma 2 27B was listed on 2024-07-13; WizardLM-2 8x22B on 2024-04-16.

About the two models

Microsoft

WizardLM-2 8x22B

WizardLM-2 8x22B is Microsoft AI's most advanced Wizard model. It demonstrates highly competitive performance compared to leading proprietary models, and it consistently outperforms all existing state-of-the-art opensource models. It is...

Full WizardLM-2 8x22B specs →

Compare Google: Gemma 2 27B with other models

Compare WizardLM-2 8x22B with other models

Advertisement