Model Comparison

Grok-3 vs Gemma 3 4B

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

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

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

Grok-3 significantly outperforms across most benchmarks.

Fri May 15 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Gemma 3 4B costs less

For input processing, Grok-3 ($3.00/1M tokens) is 150.0x more expensive than Gemma 3 4B ($0.02/1M tokens).

For output processing, Grok-3 ($15.00/1M tokens) is 375.0x more expensive than Gemma 3 4B ($0.04/1M tokens).

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

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

Lowest available price from all providers
Fri May 15 2026 • llm-stats.com
xAI
Grok-3
Input tokens$3.00
Output tokens$15.00
Best providerxAI
Google
Gemma 3 4B
Input tokens$0.02
Output tokens$0.04
Best providerDeepinfra
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

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

xAI
Grok-3
Input128,000 tokens
Output8,000 tokens
Google
Gemma 3 4B
Input131,072 tokens
Output131,072 tokens
Fri May 15 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

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

Grok-3

Text
Images
Audio
Video

Gemma 3 4B

Text
Images
Audio
Video

License

Usage and distribution terms

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

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

Grok-3

Proprietary

Closed source

Gemma 3 4B

Gemma

Open weights

Release Timeline

When each model was launched

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

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

Grok-3

Feb 17, 2025

1.2 years ago

Gemma 3 4B

Mar 12, 2025

1.2 years ago

3w newer

Knowledge Cutoff

When training data ends

Grok-3 has a knowledge cutoff of 2024-11-17, while Gemma 3 4B has a cutoff of 2024-08-01.

Grok-3 has more recent training data (up to 2024-11-17), making it potentially better informed about events through that date compared to Gemma 3 4B (2024-08-01).

Grok-3

Nov 2024

3 mo newer
Gemma 3 4B

Aug 2024

Provider Availability

Grok-3 is available from xAI. Gemma 3 4B is available from DeepInfra.

Grok-3

xai logo
xAI
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M

Gemma 3 4B

deepinfra logo
Deepinfra
Input Price:Input: $0.02/1MOutput Price:Output: $0.04/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher GPQA score (84.6% vs 30.8%)
Higher LiveCodeBench score (79.4% vs 12.6%)
Larger context window (131,072 tokens)
Less expensive input tokens
Less expensive output tokens
Has open weights
xAIGrok-3
GoogleGemma 3 4B

Detailed Comparison

AI Model Comparison Table
Feature
xAI
Grok-3
Google
Gemma 3 4B

FAQ

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

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

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

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

Grok-3 scores AIME 2024: 93.3%, AIME 2025: 93.3%, GPQA: 84.6%, LiveCodeBench: 79.4%, MMMU: 78.0%. Gemma 3 4B scores IFEval: 90.2%, GSM8k: 89.2%, DocVQA: 75.8%, MATH: 75.6%, AI2D: 74.8%.

Is Grok-3 cheaper than Gemma 3 4B?

Gemma 3 4B is 150.0x cheaper for input tokens. Grok-3 costs $3.00/M input and $15.00/M output via xai. Gemma 3 4B costs $0.02/M input and $0.04/M output via deepinfra.

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

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

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

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

Who makes Grok-3 and Gemma 3 4B?

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