gemma-3-4b-it

gemma

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling. Gemma 3-12B is Google's latest open source model, successor to Gemma 2

Context
131K
Input price
$0.05/1M tokens
Output price
$0.1/1M tokens

Capabilities

Reasoning & Interaction
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Fine-tuning

Details

Provider DeepInfra
Creator Google AI
Familygemma-3
Licensegemma
Statusactive
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window131K tokens
Max input—
Max output—
Reasoning tokens—
Knowledge cutoff—
Release date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.deepinfra.com/v1/openai/v1/chat/completions

Pricing

Input
$0.05
Output
$0.1
Cache write
—
Cache read
—
Batch in
—
Batch out
—

Family Comparison: gemma-3

ModelContextMax outPricing
gemma-3-12b-it131K—$0.05$0.15
gemma-3-4b-it131K—$0.05$0.1
gemma-3-27b-it131K—$0.08$0.16

API

GET/v1/models/deepinfra/google/gemma-3-4b-it

gemma-3-4b-it

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling. Gemma 3-12B is Google's latest open source model, successor to Gemma 2

Changes · 3 entries
google/gemma-3-4b-itupdateca7a400Nov 2, 2026, 03:02 AM
pricinginput$0.04→$0.05output$0.08→$0.1
google/gemma-3-4b-itupdated68a4f1Jun 10, 2026, 02:10 AM
pricinginput$0.04→$0.05output$0.08→$0.1
google/gemma-3-4b-itcreate3e56cf1Apr 26, 2026, 07:23 PM