Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
Google
Google

Claude Sonnet 4.6 vs Gemma 4 31B 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

Claude Sonnet 4.6 wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Has reasoning mode

Gemma 4 31B Instruct wins:

  • Cheaper input tokens
  • Cheaper output tokens
Price Advantage
Gemma 4 31B Instruct
Benchmark Advantage
Claude Sonnet 4.6
Context Window
Claude Sonnet 4.6
Speed
Claude Sonnet 4.6

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureClaude Sonnet 4.6Gemma 4 31B Instruct
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude Sonnet 4.6Gemma 4 31B Instruct
LicenseProprietaryProprietary
AuthorAnthropicGoogle
ReleasedFeb 2026Apr 2026

Claude Sonnet 4.6 Modalities

Input
textimage
Output
text

Gemma 4 31B Instruct Modalities

Input
imagetextvideo
Output
text

Frequently Asked Questions

Gemma 4 31B Instruct has cheaper input pricing at $0.14/M tokens. Gemma 4 31B Instruct has cheaper output pricing at $0.40/M tokens.
Claude Sonnet 4.6 scores higher on coding benchmarks with a score of 43.0, compared to Gemma 4 31B Instruct's score of 38.7.
Claude Sonnet 4.6 has a 1,000,000 token context window, while Gemma 4 31B Instruct has a 262,144 token context window.
Claude Sonnet 4.6 supports vision. Gemma 4 31B Instruct supports vision.