Gemma 3 4B

Gemma 3 4B

google/gemma-3-4b-it4B
Quality Index: 76

Google Gemma 3 4B

Performance Benchmarks

Reasoning (Math)
74/100
Coding
70/100
Quality Index
76

Example Prompts

General assistant
You are a helpful assistant. Answer clearly, concisely, and ask clarifying questions when needed.
Code review
Review this code for correctness, security, and performance. Provide prioritized fixes with explanations and patches.
Structured output
Return JSON with keys: summary, risks (array), recommendations (array). Do not include extra keys.

Pricing

Input$0.05 / 1M
Output$0.1 / 1M
Blended average (3:1)
$0.06 / 1M tokens

Technical Specs

Parameters4B
Context Window32,000
LicenseGemma Terms
Released2024-12-10