Galaxy.ai Logo

Claude Sonnet 4 vs Gemma 3n 4B (Comparative Analysis)

Compare
Comparative Analysis: Claude Sonnet 4 vs. Gemma 3n 4B
Want to try out these models side by side?Try Galaxy.ai for free

Overview

Gemma 3n 4B was released 2 days before Claude Sonnet 4.
Claude Sonnet 4Claude Sonnet 4
Gemma 3n 4BGemma 3n 4B
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
1M
tokens
32.8K
tokens
Output Token Limit
Maximum output tokens this model can generate at once
64K
tokens
Not specified
tokens
Release Date
When this model first became publicly available
May 22nd, 2025
May 20th, 2025

Capabilities & Features

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

Pricing

Claude Sonnet 4 is roughly 150.0x more expensive compared to Gemma 3n 4B for input tokens and roughly 375.0x more expensive for output tokens.
Claude Sonnet 4Claude Sonnet 4
Gemma 3n 4BGemma 3n 4B
Input Token Cost
Cost per million input tokens
$3.00
per million tokens
$0.02
per million tokens
Output Token Cost
Cost per million outut tokens
$15.00
per million tokens
$0.04
per million tokens

Benchmarks

Compare relevant benchmarks between Claude Sonnet 4 and Gemma 3n 4B.
Claude Sonnet 4Claude Sonnet 4
Gemma 3n 4BGemma 3n 4B
MMLU
Measures knowledge across 57 subjects like law, math, history, and science
Benchmark not available.
Benchmark not available.
MMMU
Measures understanding of combined text and images across various domains
Benchmark not available.
Benchmark not available.
HellaSwag
Measures common sense reasoning by having models complete sentences about everyday situations
Benchmark not available.
Benchmark not available.

At a Glance

Quick overview of what makes Claude Sonnet 4 and Gemma 3n 4B unique.
Anthropic logoClaude Sonnet 4 by Anthropic understands both text and images, can use external tools and APIs, offers advanced reasoning. It can handle standard conversations with its 1M token context window. Premium pricing at $3.00/M input and $15.00/M output tokens. Released May 22nd, 2025.
Google logoGemma 3n 4B by Google is a text-based AI model. It can handle standard conversations with its 32.8K token context window. Very affordable at $0.02/M input and $0.04/M output tokens. Released May 20th, 2025.

Explore More Comparisons

Compare your models with top performers across different categories

Compare Gemma 3n 4B with: