Model Comparison

Gemma 3n E4B Instructed vs Grok-4

Grok-4 significantly outperforms across most benchmarks. Grok-4 is 4.2x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

3 benchmarks

Gemma 3n E4B Instructed outperforms in 0 benchmarks, while Grok-4 is better at 3 benchmarks (AIME 2025, GPQA, LiveCodeBench).

Grok-4 significantly outperforms across most benchmarks.

Tue Apr 21 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Grok-4 costs less

For input processing, Gemma 3n E4B Instructed ($20.00/1M tokens) is 6.7x more expensive than Grok-4 ($3.00/1M tokens).

For output processing, Gemma 3n E4B Instructed ($40.00/1M tokens) is 2.7x more expensive than Grok-4 ($15.00/1M tokens).

In conclusion, Gemma 3n E4B Instructed is more expensive than Grok-4.*

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

Lowest available price from all providers
Tue Apr 21 2026 • llm-stats.com
Google
Gemma 3n E4B Instructed
Input tokens$20.00
Output tokens$40.00
Best providerTogether
xAI
Grok-4
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

Grok-4 accepts 256,000 input tokens compared to Gemma 3n E4B Instructed's 32,000 tokens. Gemma 3n E4B Instructed can generate longer responses up to 32,000 tokens, while Grok-4 is limited to 8,000 tokens.

Google
Gemma 3n E4B Instructed
Input32,000 tokens
Output32,000 tokens
xAI
Grok-4
Input256,000 tokens
Output8,000 tokens
Tue Apr 21 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Gemma 3n E4B Instructed and Grok-4 support multimodal inputs.

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

Gemma 3n E4B Instructed

Text
Images
Audio
Video

Grok-4

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Gemma 3n E4B Instructed

Proprietary

Closed source

Grok-4

Proprietary

Closed source

Release Timeline

When each model was launched

Gemma 3n E4B Instructed was released on 2025-06-26, while Grok-4 was released on 2025-07-09.

Grok-4 is 0 month newer than Gemma 3n E4B Instructed.

Gemma 3n E4B Instructed

Jun 26, 2025

9 months ago

Grok-4

Jul 9, 2025

9 months ago

1w newer

Knowledge Cutoff

When training data ends

Gemma 3n E4B Instructed has a knowledge cutoff of 2024-06-01, while Grok-4 has a cutoff of 2024-12-31.

Grok-4 has more recent training data (up to 2024-12-31), making it potentially better informed about events through that date compared to Gemma 3n E4B Instructed (2024-06-01).

Gemma 3n E4B Instructed

Jun 2024

Grok-4

Dec 2024

6 mo newer

Provider Availability

Gemma 3n E4B Instructed is available from Together. Grok-4 is available from xAI.

Gemma 3n E4B Instructed

together logo
Together
Input Price:Input: $20.00/1MOutput Price:Output: $40.00/1M

Grok-4

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

Key Takeaways

Larger context window (256,000 tokens)
Less expensive input tokens
Less expensive output tokens
Higher AIME 2025 score (91.7% vs 11.6%)
Higher GPQA score (87.5% vs 23.7%)
Higher LiveCodeBench score (79.0% vs 13.2%)
GoogleGemma 3n E4B Instructed
xAIGrok-4

Detailed Comparison

AI Model Comparison Table
Feature
Google
Gemma 3n E4B Instructed
xAI
Grok-4

FAQ

Common questions about Gemma 3n E4B Instructed vs Grok-4

Grok-4 significantly outperforms across most benchmarks. Gemma 3n E4B Instructed is made by Google and Grok-4 is made by xAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.
Gemma 3n E4B Instructed scores HumanEval: 75.0%, MGSM: 67.0%, MMLU: 64.9%, Global-MMLU-Lite: 64.5%, MBPP: 63.6%. Grok-4 scores AIME 2025: 91.7%, HMMT25: 90.0%, GPQA: 87.5%, LiveCodeBench: 79.0%, Humanity's Last Exam: 40.0%.
Grok-4 is 6.7x cheaper for input tokens. Gemma 3n E4B Instructed costs $20.00/M input and $40.00/M output via together. Grok-4 costs $3.00/M input and $15.00/M output via xai.
Gemma 3n E4B Instructed supports 32K tokens and Grok-4 supports 256K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include context window (32K vs 256K), input pricing ($20.00 vs $3.00/M). See the full comparison above for benchmark-by-benchmark results.
Gemma 3n E4B Instructed is developed by Google and Grok-4 is developed by xAI.