This model is deprecated. We only continue performance benchmarking for the default 10k input token workload. Results for other workloads are historical and no longer updated.

Google has launched a newer release, Gemma 4 E4B. We suggest considering it instead.

•

Open weights model

•

Released March 2025

Gemma 3 4B Instruct API Provider Benchmarking & Analysis

Model Comparison

This analysis is intended to support you in choosing the best API provider of Gemma 3 4B Instruct for your use-case.

Fastest

#1
AmazonAmazon
181.4 t/s
#2
DeepInfraDeepInfra
74.3 t/s
#3
Parasail (FP8)Parasail (FP8)
65.7 t/s

Output speed

Total 4 providers

Lowest Latency

#1
DeepInfraDeepInfra
0.80 s
#2
Parasail (FP8)Parasail (FP8)
0.85 s
#3
AmazonAmazon
0.95 s

Time to first token

Total 4 providers

Lowest Price

#1
Google (AI Studio)Google (AI Studio)
$0.00
#2
AmazonAmazon
$0.04
#3
Parasail (FP8)Parasail (FP8)
$0.05
#4
DeepInfraDeepInfra
$0.06

Blended price (per 1M tokens)

Total 4 providers

Gemma 3 4B is available through 4 API providers, each offering different performance characteristics and pricing. Below is a comparison of the key metrics across providers.

  • For output speed, the top providers are Amazon (181.4 t/s), DeepInfra (74.3 t/s), and Parasail (FP8) (65.7 t/s).
  • For latency, DeepInfra (0.80s), Parasail (FP8) (0.85s), and Amazon (0.95s) offer the lowest time to first token.
  • For pricing, Google (AI Studio) (0.00), Amazon (0.04), and Parasail (FP8) (0.05) offer the lowest blended prices per 1M tokens.
Output tokens per second · Higher is better
Seconds to first answer token received · Lower is better
USD per 1M tokens (blended) · Lower is better

Pricing

Pricing: Cache Hit, Input, and Output: Gemma 3 4B Instruct

Price (USD per M Tokens) · Lower is better · 10,000 input tokens

Cost per Intelligence Index Task: Gemma 3 4B Instruct

Weighted average cost (USD) per Intelligence Index task · Segmented by token type · Lower is better
No data available

Output Speed vs. Price: Gemma 3 4B Instruct

Blended at 7:2:1 (cache-input-output) · Output speed: output tokens per second · USD per 1M tokens (blended)
Most attractive quadrant

Speed

Measured by Output Speed (tokens per second)

Output Speed: Gemma 3 4B Instruct

Output speed: output tokens per second · 10,000 input tokens

Time per Intelligence Index Task: Gemma 3 4B Instruct

Weighted average decode time (minutes) per Intelligence Index task · Excludes TTFT and overhead time · Lower is better
No data available

Cost per Task vs. Time per Task: Gemma 3 4B Instruct

Weighted average cost (USD) per Intelligence Index task · Weighted average decode time (minutes) per Intelligence Index task
Most attractive quadrant
No data available

Latency

Measured by Time (seconds) to First Token

Time to First Token: Gemma 3 4B Instruct

Seconds to first token received · Lower is better · 10,000 input tokens

Cache Behaviour

Cache Hit Rate: Gemma 3 4B Instruct

Share of cacheable input tokens served from cache · Median of the last four weeks, updated Oct 26, 2026

Cost per Task vs. Cache Hit Rate: Gemma 3 4B Instruct

Weighted average cost (USD) per Intelligence Index task · Cache hit rate: median of the last four weeks, updated Oct 26, 2026
Most attractive quadrant
No data available

End-to-End Response Time

Seconds to output 500 tokens, calculated based on time to first token, 'thinking' time for reasoning models, and output speed

End-to-End Response Time: Gemma 3 4B Instruct

Seconds to output 500 tokens, including reasoning model 'thinking' time · Lower is better · 10,000 input tokens

Key Comparison Metrics & API Features

Amazon Bedrock logoAmazon Bedrock
128k
Open
--
181
0.99
3.76
--
DeepInfra logoDeepInfra
131k
Open
--
87
0.60
6.34
--
Google logoGoogle
128k
Open
--
--
--
--
--
Parasail logoParasail
131k
Open
--
99
1.01
6.05
--

Frequently Asked Questions

Common questions about Gemma 3 4B Instruct providers