Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for google

Google: Gemma 3 4B

google/gemma-3-4b-it

Model weights
Compare

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.

Modalities

In / Out Price

$0.05 / $0.10per 1M

Context

131K

Released

Mar 13, 2025

Knowledge Cutoff

Aug 2024

Compare

About Google: Gemma 3 4B

OpenRouter makes Google: Gemma 3 4B available through a unified, OpenAI-compatible API using the model ID google/gemma-3-4b-it. It is served by DeepInfra.

Google: Gemma 3 4B accepts text and images and returns text. It has a 131,072-token context window and a maximum output of 16,384 tokens.

On OpenRouter, Google: Gemma 3 4B costs $0.05/M input tokens and $0.10/M output tokens. It was released on March 13, 2025; its knowledge cutoff is August 31, 2024.

More models from Google

  • Gemini 3.7 Flash
  • Gemini 3.6 Flash
  • Gemini 3.5 Flash Lite

Frequently asked questions

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 4B costs $0.05/M input tokens and $0.10/M output tokens.

Gemma 3 4B has a 131,072 token context window. It supports up to 16,384 completion tokens.

The Gemma 3 4B endpoint shown on this page does not accept tools, so function calling is unavailable there. It also supports structured outputs via a JSON schema in response_format.

Gemma 3 4B accepts text and images as input and returns text.

Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash Lite and 25 more are other text models from Google.

Gemma 3 4B was released on March 13, 2025. Its knowledge cutoff is August 31, 2024.