Google: Gemma 3 4B ITOfficial docs

Google: Gemma 3 4B IT

byGoogle
Official docs

Gemma 3 4B IT is a language model from Google released on Mar 12, 2025. It reads text and images and writes text, with a 131K token context window and up to 128K tokens per reply.

Show more

It costs $0.04 per million input tokens and $0.08 per million output tokens.

It supports tool calling and structured JSON output, and its weights are open, so you can host it yourself.

7 providers serve it, including Hugging Face, Deep Infra and Eden AI.

Modalities
In / out price
$0.04 / $0.08 per 1M
Context
131K
Max output
128K
Released
Mar 12, 2025
Knowledge cutoff
Aug 2024
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

Gemma 3 4B IT pricing

USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$0.04 / 1M tokens
Output$0.08 / 1M tokens

Gemma 3 4B IT providers

7 providers serve it, including Hugging Face, Deep Infra and Eden AI. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.

ProviderInput /MOutput /MCache read /MContextMax output
Hugging Face$0.04$0.05n/a131K131K
Deep Infra$0.05$0.10n/a131K131K
Eden AI$0.04$0.08n/a131K128K
Kilo Gateway$0.04$0.05$0.02131K118K
Merge Gateway$0.04$0.08n/a128K8K
AI/ML API$0.0529$0.1058$0.0423131K33K
NanoGPT$0.2006$0.2006$0.1003128K8K

What Gemma 3 4B IT costs per month

Pick a workload close to yours or type your own volumes.

Gemma 3 4B IT per month
$3.84
Without caching
$3.84
Per request
$0.0001

Supported request parameters

What you can set when you call Gemma 3 4B IT through an OpenAI compatible API.

  • Toolstools
  • Structured outputsstructured_outputs
  • Temperaturetemperature

Alternatives to Gemma 3 4B IT

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Reads text, images, audio and video. Tool calling, structured output, reasoning.

    by googleApr 2, 2026$0.04/M input tokens$0.08/M output tokens

  • Reads text, images and audio. Tool calling, reasoning.

    by swiss-aiOct 15, 2026$0.0238/M input tokens$0.119/M output tokens

  • Reads text, images and video. Tool calling, structured output, reasoning. Served by 2 providers.

    by qwenMar 2, 2026$0.02/M input tokens$0.10/M output tokens2 providers

  • Reads text and images. Tool calling. Served by 2 providers.

    by lightonaiJan 16, 2026$0.0238/M input tokens$0.0714/M output tokens2 providers

  • Reads text, images and video. Tool calling, structured output, reasoning. Served by 15 providers.

    by qwenJul 15, 2026$0.03/M input tokens$0.13/M output tokens15 providers

  • Reads text and images. Tool calling, structured output. Served by 5 providers.

    by mistralaiJan 30, 2025$0.05/M input tokens$0.08/M output tokens5 providers

More from Google

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 19 providers.

    by googleNov 18, 2026$3/M input tokens$15/M output tokens19 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 20 providers.

    by googleNov 12, 2026$1.50/M input tokens$7.50/M output tokens20 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 20 providers.

    by googleNov 10, 2026$2/M input tokens$10/M output tokens20 providers

  • Generates video from text, images, files and video. Served by 2 providers.

    by googleNov 5, 2026$1.50/M input tokens$9/M output tokens2 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 32 providers.

    by googleOct 13, 2026$2/M input tokens$10/M output tokens32 providers

  • Generates images from text and images. Served by 4 providers.

    by googleOct 6, 2026$1.50/M input tokens$7.50/M output tokens4 providers

All Google models

Gemma 3 4B IT questions

How much does the Gemma 3 4B IT API cost?

$0.04 per million input tokens and $0.08 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of Gemma 3 4B IT?

131,072 tokens of input, and it can write up to 128,000 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Which providers serve Gemma 3 4B IT?

7 providers serve it, including Hugging Face, Deep Infra and Eden AI. Prices differ by host, so the Providers table on this page lists each one with its input and output price.

Does Gemma 3 4B IT support tool calling?

Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.

Is Gemma 3 4B IT open source?

Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.

When was Gemma 3 4B IT released?

Mar 12, 2025, with training data up to Aug 2024.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.