Price Per TokenPrice Per Token
Google
Google
vs
Xai
Xai

Gemma 3 27B vs Grok 4

A detailed comparison of pricing, benchmarks, and capabilities

Get our weekly newsletter on pricing changes, new releases, and tools.

Join the Price Per Token Community

Key Takeaways

Gemma 3 27B wins:

  • Cheaper input tokens
  • Cheaper output tokens

Grok 4 wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Has reasoning mode
Price Advantage
Gemma 3 27B
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
Grok 4

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureGemma 3 27BGrok 4
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemma 3 27BGrok 4
LicenseOpen SourceProprietary
AuthorGoogleXai
ReleasedMar 2025Jul 2025

Gemma 3 27B Modalities

Input
textimage
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Frequently Asked Questions

Gemma 3 27B has cheaper input pricing at $0.08/M tokens. Gemma 3 27B has cheaper output pricing at $0.16/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to Gemma 3 27B's score of 9.6.
Gemma 3 27B has a 128,000 token context window, while Grok 4 has a 256,000 token context window.
Gemma 3 27B supports vision. Grok 4 supports vision.