The AI arena is free today

Open Superagent

Gemma 3 27B vs Grok-3

Grok-3 significantly outperforms across most benchmarks. Gemma 3 27B is 48.0x cheaper per token.

Google · xAI · Updated for 2026

Which is better?

Gemma 3 27B outperforms in 0 benchmarks, while Grok-3 is better at 2 benchmarks (GPQA, LiveCodeBench). Grok-3 significantly outperforms across most benchmarks.

On price, Gemma 3 27B is roughly 48.0x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Gemma 3 27B also accepts a larger context window (131,072 input tokens), making it the stronger choice for long documents and large codebases.

Based on current benchmark, pricing, and model metadata for 2026.

Choose Gemma 3 27B

  • cost matters — it's about 48.0x cheaper per token
  • you process long inputs — it offers a 131,072 token context window
  • you want the most recent training data — it shipped Mar 2025
  • you need open weights you can self-host or fine-tune

Choose Grok-3

  • you want the strongest raw capability — it leads on 2 of 2 shared benchmarks

At a glance

The differences that matter most.

Benchmark wins
0 of 2
2 of 2
Input price
$0.10 / M
$3.00 / M
Output price
$0.20 / M
$15.00 / M
Context window
131,072
128,000
Released
Mar 2025
Feb 2025
License
Gemma
Proprietary

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

Gemma 3 27B outperforms in 0 benchmarks, while Grok-3 is better at 2 benchmarks (GPQA, LiveCodeBench).

Grok-3 significantly outperforms across most benchmarks.

Thu Aug 27 2026 • llm-stats.com

Arena Performance

Playground indexes and blind preference scores

Pricing Analysis

Price comparison per million tokens

Gemma 3 27B costs less

For input processing, Gemma 3 27B ($0.10/1M tokens) is 30.0x cheaper than Grok-3 ($3.00/1M tokens).

For output processing, Gemma 3 27B ($0.20/1M tokens) is 75.0x cheaper than Grok-3 ($15.00/1M tokens).

In conclusion, Grok-3 is more expensive than Gemma 3 27B.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Thu Aug 27 2026 • llm-stats.com
Google
Gemma 3 27B
Input tokens$0.10
Output tokens$0.20
Best providerDeepinfra
xAI
Grok-3
Input tokens$3.00
Output tokens$15.00
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Gemma 3 27B accepts 131,072 input tokens compared to Grok-3's 128,000 tokens. Gemma 3 27B can generate longer responses up to 131,072 tokens, while Grok-3 is limited to 8,000 tokens.

Google
Gemma 3 27B
Input131,072 tokens
Output131,072 tokens
xAI
Grok-3
Input128,000 tokens
Output8,000 tokens
Thu Aug 27 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Gemma 3 27B and Grok-3 support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Gemma 3 27B

Text
Images
Audio
Video

Grok-3

Text
Images
Audio
Video

License

Usage and distribution terms

Gemma 3 27B is licensed under Gemma, while Grok-3 uses a proprietary license.

License differences may affect how you can use these models in commercial or open-source projects.

Gemma 3 27B

Gemma

Open weights

Grok-3

Proprietary

Closed source

Release Timeline

When each model was launched

Gemma 3 27B was released on 2025-03-12, while Grok-3 was released on 2025-02-17.

Gemma 3 27B is 1 month newer than Grok-3.

Gemma 3 27B

Mar 12, 2025

1.5 years ago

3w newer
Grok-3

Feb 17, 2025

1.5 years ago

Knowledge Cutoff

When training data ends

Grok-3 has a documented knowledge cutoff of 2024-11-17, while Gemma 3 27B's cutoff date is not specified.

We can confirm Grok-3's training data extends to 2024-11-17, but cannot make a direct comparison without Gemma 3 27B's cutoff date.

Gemma 3 27B

Grok-3

Nov 2024

Provider Availability

Gemma 3 27B is available from DeepInfra, Novita. Grok-3 is available from xAI.

Gemma 3 27B

deepinfra logo
Deepinfra
Input Price:Input: $0.10/1MOutput Price:Output: $0.20/1M
novita logo
Novita
Input Price:Input: $0.11/1MOutput Price:Output: $0.20/1M

Grok-3

xai logo
xAI
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Gemma 3 27B and Grok-3 side-by-side, then vote on the output you prefer.

Gemma 3 27B
✓ Preferred
Grok-3
Open in Playground

FAQ

Common questions about Gemma 3 27B vs Grok-3.

Which is better, Gemma 3 27B or Grok-3?

Grok-3 significantly outperforms across most benchmarks. Gemma 3 27B is made by Google and Grok-3 is made by xAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Gemma 3 27B compare to Grok-3 in benchmarks?

Gemma 3 27B scores GSM8k: 95.9%, IFEval: 90.4%, MATH: 89.0%, HumanEval: 87.8%, BIG-Bench Hard: 87.6%. Grok-3 scores AIME 2024: 93.3%, AIME 2025: 93.3%, GPQA: 84.6%, LiveCodeBench: 79.4%, MMMU: 78.0%.

Is Gemma 3 27B cheaper than Grok-3?

Gemma 3 27B is 30.0x cheaper for input tokens. Gemma 3 27B costs $0.10/M input and $0.20/M output via deepinfra. Grok-3 costs $3.00/M input and $15.00/M output via xai.

What are the context window sizes for Gemma 3 27B and Grok-3?

Gemma 3 27B supports 131K tokens and Grok-3 supports 128K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Gemma 3 27B and Grok-3?

Key differences include context window (131K vs 128K), input pricing ($0.10 vs $3.00/M), licensing (Gemma vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes Gemma 3 27B and Grok-3?

Gemma 3 27B is developed by Google and Grok-3 is developed by xAI.