impulse

Gemma 3 4B IT

Open weights

Gemma 3 introduces multimodality, supporting vision-language input and text outputs.

API id google.gemma-3-4b-itReleased 13 Mar 2025 (Mar 2025)
Amazon Bedrock retires it on 30 Mar 2027 (in 132 days). 2 hosts keep serving it.
Input / 1M
$0.04
at Amazon Bedrock
Output / 1M
$0.08
at Amazon Bedrock
Context window
128K
tokens
Max output
8K
tokens per reply
Hosts
3
5 listings
Released
Mar 2025
13 Mar 2025

Pricing

List prices at Amazon Bedrock, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.04$0.08
Batch
50% off
$0.02$0.04
Flex
50% off
$0.02$0.04
Priority
75% more
$0.07$0.14

What it costs a month

At Amazon Bedrock list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$18.00
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$22.08
  • Coding agent1,000 requests a day, 40K in / 2K out$52.80
  • Overnight batch20,000 requests a day, 4K in / 0.4K out, batch$57.60
Use your own numbers

Where to run it

3 hosts serve Gemma 3 4B IT. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
google.gemma-3-4b-it
$0.04 / $0.08
Retires 30 Mar 2027
DeepInfraInference
gemma-3-4b-it
$0.05 / $0.10
+25% vs headline
NVIDIA NIMInference
gemma-3-4b-it
-
Gemma-3-4b-it-GGUF
-
Show 1 more listings: regions, snapshots and variants
Amazon Bedrock
Mantle
google.gemma-3-4b-it
$0.04 / $0.08
Retires 30 Mar 2027

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
TextImages
Produces
Text
Open weights
License: Gemma License
Runtimes: Ollama, llama.cpp, vLLM

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Amazon Bedrock.

Smaller Google models

No cheaper Google model keeps its key capabilities.

Other frontier labs

No cheaper match from another frontier lab.

Open-weight picks

  • Qwen3.7 Flash Variant1
    Alibaba Qwen · on EmpirioLabs AI
    $0.028 / $0.11
    Has every key capability
    3% less
  • Gemma3 4B
    Google · on LlamaGate
    $0.03 / $0.08
    Has every key capability
    15% less
  • Ministral 3B
    Mistral AI · on Azure AI Foundry
    $0.04 / $0.04
    Has every key capability
    20% less
  • Granite 4.0 H Micro
    IBM · on Cloudflare Workers AI
    $0.017 / $0.112
    Lacks vision
    19% less

Call it

Using Amazon Bedrock's API.

Python
from litellm import completion

response = completion(
    model="bedrock/google.gemma-3-4b-it",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Gemma 3 4B IT cost?

On Amazon Bedrock, Gemma 3 4B IT costs $0.04 per million input tokens and $0.08 per million output tokens.

Which APIs offer Gemma 3 4B IT?

Gemma 3 4B IT runs on 3 APIs: Amazon Bedrock, DeepInfra and NVIDIA NIM.

What is Gemma 3 4B IT's context window?

128K tokens, with up to 8K tokens in one reply.

Is Gemma 3 4B IT being retired?

Amazon Bedrock retires it on 30 Mar 2027. 2 hosts keep serving it.

What are cheaper alternatives to Gemma 3 4B IT?

Models that cost less and keep most of what it can do: Qwen3.7 Flash Variant1 on EmpirioLabs AI (3% less). Savings are on a mix of 3 input tokens to 1 output token.

When was Gemma 3 4B IT released?

Google released it on 13 Mar 2025.

What is Gemma 3 4B IT's API model id?

Use google.gemma-3-4b-it with Amazon Bedrock. Other hosts use their own ids: gemma-3-4b-it on DeepInfra, gemma-3-4b-it on NVIDIA NIM.

Sources

Raw catalog entry for google.gemma-3-4b-it on Amazon Bedrock
{
  "deprecation_date": "2027-03-30",
  "deprecation_source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-lifecycle-legacy.html",
  "input_cost_per_token": 4e-8,
  "input_cost_per_token_batches": 2e-8,
  "input_cost_per_token_flex": 2e-8,
  "input_cost_per_token_priority": 7e-8,
  "litellm_provider": "bedrock_converse",
  "max_input_tokens": 128000,
  "max_output_tokens": 8000,
  "mode": "chat",
  "output_cost_per_token": 8e-8,
  "output_cost_per_token_batches": 4e-8,
  "output_cost_per_token_flex": 4e-8,
  "output_cost_per_token_priority": 1.4e-7,
  "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrock/current/us-east-1/index.json",
  "supports_audio_input": false,
  "supports_function_calling": true,
  "supports_system_messages": true,
  "supports_vision": true
}