Price Per TokenPrice Per Token
Google
Google
vs
Google
Google

Gemini 3.1 Pro Preview Custom Tools vs Gemma 2 27B

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

Gemini 3.1 Pro Preview Custom Tools wins:

  • Larger context window
  • Has reasoning mode

Gemma 2 27B wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Higher intelligence benchmark
Price Advantage
Gemma 2 27B
Benchmark Advantage
Gemma 2 27B
Context Window
Gemini 3.1 Pro Preview Custom Tools
Speed
N/A

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureGemini 3.1 Pro Preview Custom ToolsGemma 2 27B
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemini 3.1 Pro Preview Custom ToolsGemma 2 27B
LicenseProprietaryOpen Source
AuthorGoogleGoogle
ReleasedFeb 2026Jul 2024

Gemini 3.1 Pro Preview Custom Tools Modalities

Input
textaudioimagevideofile
Output
text

Gemma 2 27B Modalities

Input
text
Output
text

Frequently Asked Questions

Gemma 2 27B has cheaper input pricing at $0.65/M tokens. Gemma 2 27B has cheaper output pricing at $0.65/M tokens.
Gemini 3.1 Pro Preview Custom Tools has a 1,048,576 token context window, while Gemma 2 27B has a 8,192 token context window.
Gemini 3.1 Pro Preview Custom Tools supports vision. Gemma 2 27B supports vision.