Google
Google
vs
Google
Google

Gemma 4 31B Instruct vs MedGemma 27B

A detailed comparison of pricing, benchmarks, and capabilities

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

Key Takeaways

Gemma 4 31B Instruct wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
  • Supports vision
  • Supports tool calls

MedGemma 27B wins:

  • No clear advantages in compared metrics
Price Advantage
Gemma 4 31B Instruct
Benchmark Advantage
Gemma 4 31B Instruct
Context Window
Gemma 4 31B Instruct
Speed
N/A

Pricing Comparison

Context & Performance

Capabilities

Feature Comparison

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

License & Release

PropertyGemma 4 31B InstructMedGemma 27B
LicenseProprietaryOpen Source
AuthorGoogleGoogle
ReleasedApr 2026Unknown

Gemma 4 31B Instruct Modalities

Input
imagetextvideo
Output
text

MedGemma 27B Modalities

Input
Output

Frequently Asked Questions

Gemma 4 31B Instruct has cheaper input pricing at $0.10/M tokens. Gemma 4 31B Instruct has cheaper output pricing at $0.10/M tokens.
Gemma 4 31B Instruct has a 262,144 token context window, while MedGemma 27B has a 8,192 token context window.
Gemma 4 31B Instruct supports vision. MedGemma 27B does not support vision.