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

115 out of our 496 tracked models have had a price change in March.

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

New

Stop Googling APIs — let your agent choose

Our upcoming API Finder MCP server helps AI agents discover and compare APIs for any task.

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

Related Comparisons

Compare Gemini 3.1 Pro Preview Custom Tools with:

Compare Gemma 2 27B with:

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 scores higher on coding benchmarks with a score of N/A, compared to Gemma 2 27B's score of N/A.
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.