Claude 3 Haiku vs Gemma 2 27B (Comparative Analysis)

Loading comparison form...
Comparative Analysis: Claude 3 Haiku vs. Gemma 2 27B
Want to try out these models side by side?Try Magica for free

Overview

Claude 3 Haiku was released 4 months before Gemma 2 27B.
Claude 3 HaikuClaude 3 Haiku
Gemma 2 27BGemma 2 27B
Model Provider
The organization behind this AI's development
Anthropic logoAnthropic
Google logoGoogle
Input Context Window
Maximum input tokens this model can process at once
200K
tokens
8.2K
tokens
Output Token Limit
Maximum output tokens this model can generate at once
4.1K
tokens
2K
tokens
Release Date
When this model first became publicly available
March 13th, 2024
July 13th, 2024
Knowledge Cutoff
Latest training-data date reported by the provider
August 31, 2023
June 30, 2024

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
Claude 3 Haiku
Gemma 2 27B
Input Types
Supported input formats
📝Text🖼️Image
📝Text
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
ClaudeGemini
Key Features
Advanced capabilities
Function CallingStructured OutputReasoning ModeContent Moderation
Function CallingStructured OutputReasoning ModeContent Moderation
Open Source
Model availability
ProprietaryAvailable on HuggingFace →

Pricing

Claude 3 Haiku is roughly 0.4x less expensive compared to Gemma 2 27B for input tokens and roughly 1.9x more expensive for output tokens.
Claude 3 HaikuClaude 3 Haiku
Gemma 2 27BGemma 2 27B
Input Token Cost
Cost per million input tokens
$0.25
per million tokens
$0.65
per million tokens
Output Token Cost
Cost per million output tokens
$1.25
per million tokens
$0.65
per million tokens
Web Search Cost
Additional cost for each web search operation
$0.01
per search
Not specified
Cache Read Cost
Cost to reuse cached input tokens
$0.03
per million tokens
Not specified
Cache Write Cost
Cost to write input tokens to the cache
$0.30
per million tokens
Not specified
1-Hour Cache Write Cost
Cost to cache input tokens for one hour
$0.50
per million tokens
Not specified

At a Glance

Quick overview of what makes Claude 3 Haiku and Gemma 2 27B unique.
Anthropic logoClaude 3 Haiku by Anthropic understands both text and images, can use external tools and APIs. It can handle standard conversations with its 200K token context window. Very affordable at $0.25/M input and $1.25/M output tokens. Includes built-in content moderation for safer outputs. Released March 13th, 2024.
Google logoGemma 2 27B by Google generates structured data. It can handle standard conversations with its 8.2K token context window. Reasonably priced at $0.65/M input and $0.65/M output tokens. Released July 13th, 2024.

Explore More Comparisons

Compare your models with top performers across different categories