LLM Reference

Gemma 4 Models by Google DeepMind

Google DeepMindApache 2.0Open source
10 models2026Up to 256k ctxFrom $0.06/1M input

Last refreshed 2026-06-11. Next refresh: weekly.

Details

ResearcherGoogle DeepMind
LicenseApache 2.0OSI-approved
Commercial useCommercial use: permitted
Models10
Released2026
Max context256k

Capabilities

Vision6 of 10 models
MultimodalAll models
Reasoning2 of 10 models
JSON / Tool useAll models
Structured Outputs6 of 10 models

About

Google's most capable open-source model family, purpose-built for advanced reasoning and agentic workflows. Delivered in five sizes (E2B, E4B, 12B dense, 26B MoE, 31B dense) with multimodal capabilities including text, image, video, and audio processing.

Decision facts

Best fit
multimodalvision and multimodal workreasoning
Capability starting point
Gemma 4 12B with 256k context and reasoning, JSON / Tool use, structured outputs, and multimodal inputs
Lowest tracked input
Gemma 4 26B A4B IT · $0.06/1M · OpenRouter
Closest related family
T5Gemma

Current Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

10 in view

Use when the workload needs 256k context, 12B parameters, and reasoning.

2026-06256k context12B parametersreasoning

Use when the workload needs 256k context, 12B parameters, and reasoning.

2026-06256k context12B parametersreasoning

Use when the workload needs 128k context, 2B parameters, and JSON / Tool use.

2026-03128k context2B parametersJSON / Tool use

Use when the workload needs 128k context, 2B parameters, and JSON / Tool use.

2026-03128k context2B parametersJSON / Tool use

Use when the workload needs 128k context, 4B parameters, and JSON / Tool use.

2026-03128k context4B parametersJSON / Tool use

Use when the workload needs 128k context, 4B parameters, and JSON / Tool use.

2026-03128k context4B parametersJSON / Tool use

Use when the workload needs 256k context, 26B parameters, and JSON / Tool use.

2026-03256k context26B parametersJSON / Tool use

Use when the workload needs 256k context, 26B parameters, and JSON / Tool use.

2026-03256k context26B parametersJSON / Tool use

Use when the workload needs 256k context, 31B parameters, and JSON / Tool use.

2026-03256k context31B parametersJSON / Tool use

Use when the workload needs 256k context, 31B parameters, and JSON / Tool use.

2026-03256k context31B parametersJSON / Tool use

Release Timeline

2 release groups
2026-06
2 current
Gemma 4 12B
256k context12B parametersreasoning
Current
Gemma 4 12B IT
256k context12B parametersreasoning
Current
2026-03
8 current
Gemma 4 26B A4B
256k context26B parametersJSON / Tool use
Current
Gemma 4 26B A4B IT
256k context26B parametersJSON / Tool use
Current
Gemma 4 31B
256k context31B parametersJSON / Tool use
Current
Gemma 4 31B IT
256k context31B parametersJSON / Tool use
Current
Gemma 4 E2B
128k context2B parametersJSON / Tool use
Current
Gemma 4 E2B IT
128k context2B parametersJSON / Tool use
Current
Gemma 4 E4B
128k context4B parametersJSON / Tool use
Current
Gemma 4 E4B IT
128k context4B parametersJSON / Tool use
Current

Specifications(10 models)

Gemma 4 model specifications comparison
ModelReleasedContextParametersVisionMultimodalReasoningJSON / Tool useStructured Outputs
Gemma 4 12B2026-06256k12BYesYesYesYesYes
Gemma 4 12B IT2026-06256k12BYesYesYesYesYes
Gemma 4 E2B2026-03128k2BNoYesNoYesNo
Gemma 4 E2B IT2026-03128k2BNoYesNoYesYes
Gemma 4 E4B2026-03128k4BNoYesNoYesNo
Gemma 4 E4B IT2026-03128k4BNoYesNoYesYes
Gemma 4 26B A4B2026-03256k26BYesYesNoYesNo
Gemma 4 26B A4B IT2026-03256k26BYesYesNoYesYes
Gemma 4 31B2026-03256k31BYesYesNoYesNo
Gemma 4 31B IT2026-03256k31BYesYesNoYesYes

Pricing

Gemma 4 model pricing by provider
ModelProviderInput / 1MOutput / 1MType
Gemma 4 26B A4B ITOpenRouter$0.06$0.33Serverless
Gemma 4 26B A4B ITCloudflare Workers AI$0.1$0.3Serverless
Gemma 4 31B ITOpenRouter$0.13$0.38Serverless
Gemma 4 26B A4B ITVercel AI Gateway$0.13$0.4Serverless
Gemma 4 26B A4B ITNovita AI$0.13$0.4Serverless
Gemma 4 26B A4B ITNextBit$0.13$0.4Serverless
Gemma 4 31BVercel AI Gateway$0.14$0.4Serverless
Gemma 4 31B ITNovita AI$0.14$0.4Serverless
Gemma 4 26B A4B ITGCP Vertex AI$0.15$0.6Serverless
Gemma 4 31B ITGCP Vertex AI$0.15$0.6Serverless
Gemma 4 31B ITTogether AI$0.39$0.97Serverless

Popular comparisons in this family