Choose Auto, TokenLab Verified, or Official for each request, with prices shown up front.See what's new

Back to models

Gemma 4 31B vs Claude Haiku 4.5

Gemma 4 31B and Claude Haiku 4.5: current price, context, max output, and supported operations.

Pricing comparison

Gemma 4 31BClaude Haiku 4.5
Model makerGoogleAnthropic
Delivery availabilityAvailableAvailable
Context window-200K
Max output-64K
Official price
Input$0.102per 1M tokensOutput$0.297per 1M tokens
Input$1.00per 1M tokensOutput$5.00per 1M tokens
TokenLab price—
Input$0.30per 1M tokensOutput$1.50per 1M tokens
Model performanceCollecting data
30-day success rate
100.0%
7-day median latency
2.8 sn=252
Capabilities
JSON modePrompt CacheReasoningTool useVision

Summary

  • Gemma 4 31B: Input $0.102 / Output $0.297 per 1M tokens; Claude Haiku 4.5: Input $0.30 / Output $1.50 per 1M tokens. Rates depend on the billing unit, specification, and usage. Compare matching conditions in the model's detailed pricing; a single rate does not determine the total cost.
Gemma 4 31B
Gemma
View details
Claude Haiku 4.5
Claude 4
View details

FAQ

Which is cheaper, Gemma 4 31B or Claude Haiku 4.5?

Gemma 4 31B: Input $0.102 / Output $0.297 per 1M tokens; Claude Haiku 4.5: Input $0.30 / Output $1.50 per 1M tokens. Rates depend on the billing unit, specification, and usage. Compare matching conditions in the model's detailed pricing; a single rate does not determine the total cost.

What are the key differences between Gemma 4 31B and Claude Haiku 4.5?

Claude Haiku 4.5: JSON mode, Prompt Cache, Reasoning, Tool use, Vision