AiCostCompare

Gemma 3n 4B

by Google · google/gemma-3n-e4b-it · #24 cheapest of 325 paid models

Prices updated Jul 22, 2026, 1:36 AM UTC · refreshed hourly

Gemma 3n E4B-it is optimized for efficient execution on mobile and low-resource devices, such as phones, laptops, and tablets. It supports multimodal inputs—including text, visual data, and audio—enabling diverse tasks...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5GPT-5.6 Sol

Pricing

Input

$0.06

per 1M tokens

Output

$0.12

per 1M tokens

Blended (3:1)

$0.075

3 input : 1 output

Cache read

per 1M cached tokens

Cache write

per 1M tokens

Cache & batch economics

Effective prices for Gemma 3n 4B (no cache-read rate published — hits billed as normal input).

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$0.075$0.00624
50%$0.075$0.00624−0%
90%$0.075$0.00624−0%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$6.60e-5$0.066
Document summary8,0001,000$0.0006$0.6
Codebase question (RAG)30,0002,000$0.00204$2.04
Long-context analysis150,0005,000$0.0096$9.60

Performance

Intelligence Index

AA composite quality

Coding Index

3.2

Math Index

Agentic Index

Output speed

median

Time to first token

median

Time to first answer

after reasoning tokens

Specs

Context window

33K

tokens

Max output

tokens

Input modalities

text

Tokenizer

Other