All AI models · LLM benchmarks · Methodology

Google

Gemma 3 4B

Open Gemma instruction model for efficient chat and self-hosted deployments

Model facts

Context window
131K tokens
Maximum output
16K tokens
Cheapest paid input
$0.04 per 1M tokens
Cheapest paid output
$0.08 per 1M tokens
Open weights
yes
Providers
5

Capabilities and modalities

tool calling, structured output, attachments, temperature control, open weights, text, image, pdf.

Local hardware estimate

At 4K context: Q4_K_M 3.6 GiB, Q8_0 5.6 GiB, F16 9.4 GiB working memory.

Parameters
4.3 billion
Architecture
gemma3
Model license
gemma

Planning estimate adapted from the MIT-licensed whichllm estimator using metadata from Hugging Face; not a vendor minimum requirement.

Artificial Analysis benchmarks

Compare this model on the full LLM benchmark leaderboard.

ConfigurationAAICodingMathOutput tokens/s
default1.02.712.7not measured

Observed price history

  • 2026-08-24: $0.04 input / $0.08 output per 1M tokens

API providers

  • Nvidia — model id google/gemma-3-4b-it; free input / free output per 1M tokens; provider documentation
  • Amazon Bedrock — model id google.gemma-3-4b-it; $0.04 input / $0.08 output per 1M tokens; provider documentation
  • OpenRouter — model id google/gemma-3-4b-it; $0.05 input / $0.1 output per 1M tokens; provider documentation
  • Kilo Gateway (Google) — model id google/gemma-3-4b-it; $0.05 input / $0.1 output per 1M tokens; provider documentation
  • NanoGPT — model id unsloth/gemma-3-4b-it; $0.201 input / $0.201 output per 1M tokens; provider documentation