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.
WizardLM-2 8x22B comes out ahead on the data we track: 2 advantages and none for Google: Gemma 2 27B.
| Spec | Google: Gemma 2 27B | WizardLM-2 8x22B |
|---|---|---|
| Provider | Microsoft | |
| 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 track | 48% | 49% |
| Context window | 8K tokens (~12 pages) | 66K tokens (~98 pages) |
| Larger context than … of all models | 2% | 11% |
| Max output per response | 2K tokens (~1,500 words) | 8K tokens (~6,000 words) |
| Input types | text | text |
| Output types | text | text |
| Free variant | No | No |
| Listed since | 2024-07-13 | 2024-04-16 |
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 27B | WizardLM-2 8x22B | Difference |
|---|---|---|---|
| Customer-support chatbot 50,000 conversations — each a 6-turn conversation (1,500 in / 400 out tokens) | $61.75 | $58.90 | WizardLM-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.60 | WizardLM-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 context | Doesn'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 context | Doesn't fit context | — |
| Capability | Google: Gemma 2 27B | WizardLM-2 8x22B | What it lets you do |
|---|---|---|---|
| Tool / function calling | — | — | call your APIs and run agent loops |
| Structured output (JSON schema) | ✓ Yes | ✓ Yes | return 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 | ✓ Yes | repeat 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.
No advantage on the data we track — pick it for provider preference or output quality on your own prompts.
WizardLM-2 8x22B comes out ahead on the data we track: 2 advantages and none for Google: Gemma 2 27B.
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.
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.
WizardLM-2 8x22B: 66K tokens, about 98 pages, against 8K (about 12 pages) for Google: Gemma 2 27B.
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.
Neither accepts image input — both are text-in models.
No free variant is listed for either; both are pay-per-token.
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).
Google: Gemma 2 27B was listed on 2024-07-13; WizardLM-2 8x22B on 2024-04-16.
Gemma 2 27B by Google is an open model built from the same research and technology used to create the [Gemini models](/models?q=gemini). Gemma models are well-suited for a variety of...
Full Google: Gemma 2 27B specs →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 →