Price Per TokenPrice Per Token
Google
Google
vs
Google
Google

CodeGemma 7B 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

CodeGemma 7B wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window

Gemma 2 27B wins:

  • Higher intelligence benchmark
  • Supports vision
  • Supports tool calls
Price Advantage
CodeGemma 7B
Benchmark Advantage
Gemma 2 27B
Context Window
CodeGemma 7B
Speed
N/A

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureCodeGemma 7BGemma 2 27B
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyCodeGemma 7BGemma 2 27B
LicenseOpen SourceOpen Source
AuthorGoogleGoogle
ReleasedUnknownJul 2024

CodeGemma 7B Modalities

Input
Output

Gemma 2 27B Modalities

Input
text
Output
text

Frequently Asked Questions

CodeGemma 7B has cheaper input pricing at $0.20/M tokens. CodeGemma 7B has cheaper output pricing at $0.20/M tokens.
CodeGemma 7B has a 128,000 token context window, while Gemma 2 27B has a 8,192 token context window.
CodeGemma 7B does not support vision. Gemma 2 27B supports vision.