Price Per TokenPrice Per Token
Google
Google
vs
Microsoft
Microsoft

Gemma 4 31B Instruct vs Phi-3 Mini 128K Instruct

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 4 31B Instruct wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Supports vision

Phi-3 Mini 128K Instruct wins:

  • Cheaper input tokens
  • Cheaper output tokens
Price Advantage
Phi-3 Mini 128K Instruct
Benchmark Advantage
Gemma 4 31B Instruct
Context Window
Gemma 4 31B Instruct
Speed
Gemma 4 31B Instruct

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureGemma 4 31B InstructPhi-3 Mini 128K Instruct
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemma 4 31B InstructPhi-3 Mini 128K Instruct
LicenseProprietaryOpen Source
AuthorGoogleMicrosoft
ReleasedApr 2026Unknown

Gemma 4 31B Instruct Modalities

Input
imagetextvideo
Output
text

Phi-3 Mini 128K Instruct Modalities

Input
Output

Frequently Asked Questions

Phi-3 Mini 128K Instruct has cheaper input pricing at $0.10/M tokens. Phi-3 Mini 128K Instruct has cheaper output pricing at $0.10/M tokens.
Gemma 4 31B Instruct has a 262,144 token context window, while Phi-3 Mini 128K Instruct has a 128,000 token context window.
Gemma 4 31B Instruct supports vision. Phi-3 Mini 128K Instruct does not support vision.