Model Comparison

Comprehensive side-by-side analysis of model capabilities and performance

Google

Gemma 3 4B

Google

Gemma 3 4B is a multimodal language model developed by Google. The model shows competitive results across 26 benchmarks. It excels particularly in IFEval (90.2%), GSM8k (89.2%), DocVQA (75.8%). It supports a 262K token context window for handling large documents. The model is available through 1 API provider. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. It's licensed for commercial use, making it suitable for enterprise applications. Released in 2025, it represents Google's latest advancement in AI technology.

Meta

Llama 3.1 405B Instruct

Meta

Llama 3.1 405B Instruct is a language model developed by Meta. It achieves strong performance with an average score of 79.2% across 18 benchmarks. It excels particularly in ARC-C (96.9%), GSM8k (96.8%), API-Bank (92.0%). It supports a 256K token context window for handling large documents. The model is available through 8 API providers. Released in 2024, it represents Meta's latest advancement in AI technology.

Meta

Llama 3.1 405B Instruct

Meta

2024-07-23

Google

Gemma 3 4B

Google

2025-03-12

7 months newer

Pricing Comparison

Cost per million tokens (USD)

Google

Gemma 3 4B

$1.72 cheaper
Input:$0.02
Output:$0.04
Meta

Llama 3.1 405B Instruct

Input:$0.89
Output:$0.89

Performance Metrics

Context window and performance specifications

Google

Gemma 3 4B

Larger context
Max Context:262.1K
Parameters:4.0B
Meta

Llama 3.1 405B Instruct

Max Context:256.0K
Parameters:405.0B

Average performance across 6 common benchmarks

Google

Gemma 3 4B

Average Score:66.8%
Meta

Llama 3.1 405B Instruct

+11.9%
Average Score:78.7%

Performance comparison across key benchmark categories

Google

Gemma 3 4B

math
64.5%
code
61.5%
general
40.7%
Meta

Llama 3.1 405B Instruct

math
+23.0%
87.4%
code
+19.9%
81.4%
general
+32.6%
73.2%
Benchmark Scores - Detailed View
Side-by-side comparison of all benchmark scores
Knowledge Cutoff
Training data recency comparison

Gemma 3 4B

2024-08-01

More recent knowledge cutoff means awareness of newer technologies and frameworks

Provider Availability & Performance

Available providers and their performance metrics

Google

Gemma 3 4B

1 providers

DeepInfra

Throughput: 33 tok/s
Latency: 0.2ms
Meta

Llama 3.1 405B Instruct

8 providers

Together

Throughput: 35 tok/s
Latency: 0.5ms

Hyperbolic

Throughput: 40 tok/s
Latency: 0.5ms

DeepInfra

Throughput: 27 tok/s
Latency: 0.5ms

Google

Throughput: 42 tok/s
Latency: 0.4ms

Fireworks

Throughput: 78 tok/s
Latency: 0.5ms

Bedrock

Throughput: 100 tok/s
Latency: 0.5ms

Lambda

Throughput: 42 tok/s
Latency: 0.5ms

Replicate

Throughput: 22 tok/s
Latency: 0.5ms
Google

Gemma 3 4B

Avg Score:66.8%
Providers:1
Meta

Llama 3.1 405B Instruct

+11.9%
Avg Score:78.7%
Providers:8