---
title: Google: Gemma 3n 4B (free) API | Text Generation | ModelsLab
description: Lightweight 4B multimodal model with 32.8K context, 140+ languages, efficient on-device execution—text, image, video, audio input with 29.2 tokens/sec.
url: https://modelslab.com/models/google/google-gemma-3n-e4b-it-free.md
canonical: https://modelslab.com/models/google/google-gemma-3n-e4b-it-free.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T00:38:22.294541Z
---

Google: Gemma 3n 4B (free)
---

 [LLMs.txt](https://modelslab.com/models/open_router/google-gemma-3n-e4b-it-free/llms.txt) [.md](https://modelslab.com/models/google/google-gemma-3n-e4b-it-free.md)

google-gemma-3n-e4b-it-free google Closed Source Model

Google: Gemma 3n 4B (free)
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Google: Gemma 3n 4B (free)

google google-gemma-3n-e4b-it-free

Copy model ID

PricingInput $0.00 / 1M tokens

Output $0.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[M3](https://modelslab.com/models/together_ai/mistralai-Ministral-3-14B-Instruct-2512)[Together AI](https://modelslab.com/models/together_ai)

 [Ministral 3 14B Instruct 2512

Closed Source Model](https://modelslab.com/models/together_ai/mistralai-Ministral-3-14B-Instruct-2512)

[AN](https://modelslab.com/models/open_router/amazon-nova-2-lite-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova 2 Lite

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-2-lite-v1)

[BU](https://modelslab.com/models/open_router/bytedance-ui-tars-1.5-7b)[Open Router](https://modelslab.com/models/open_router)

 [ByteDance: UI-TARS 7B

Closed Source Model](https://modelslab.com/models/open_router/bytedance-ui-tars-1.5-7b)

[QV](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-VL-72B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5-VL (72B) Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-VL-72B-Instruct)

[Q3](https://modelslab.com/models/together_ai/Qwen-Qwen3.5-35B-A3B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3.5 35B A3b

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3.5-35B-A3B)

[ML](https://modelslab.com/models/open_router/mistralai-mistral-large-2407)[Open Router](https://modelslab.com/models/open_router)

 [Mistral Large 2407

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-large-2407)

[![Gemini 2.5 Pro](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/ede9a278-de62-47fb-a53d-99ee4c7b7abc.png)](https://modelslab.com/models/google/gemini-2.5-pro)[Google](https://modelslab.com/models/google)

 [Gemini 2.5 Pro

Closed Source Model](https://modelslab.com/models/google/gemini-2.5-pro)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-medium-3.1)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Medium 3.1

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-medium-3.1)

[Q1](https://modelslab.com/models/together_ai/Qwen-Qwen3-1.7B-Base)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 1.7B Base

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-1.7B-Base)

[Q3](https://modelslab.com/models/together_ai/Qwen-Qwen3-30B-A3B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 30B A3b

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-30B-A3B)

[ML](https://modelslab.com/models/open_router/mistralai-mistral-large)[Open Router](https://modelslab.com/models/open_router)

 [Mistral Large

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-large)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.2-codex)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.2-Codex

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.2-codex)

[ML](https://modelslab.com/models/meta/meta-llama-Meta-Llama-3.1-405B-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/meta)

 [Meta Llama 3.1 405B Instruct Turbo

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Meta-Llama-3.1-405B-Instruct-Turbo)

[NN](https://modelslab.com/models/open_router/nvidia-nemotron-nano-12b-v2-vl)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Nemotron Nano 12B 2 VL

Closed Source Model](https://modelslab.com/models/open_router/nvidia-nemotron-nano-12b-v2-vl)

[ML](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3-8B-Instruct-Lite)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3 8B Instruct Lite

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3-8B-Instruct-Lite)

[GG](https://modelslab.com/models/open_router/google-gemma-3n-e4b-it)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 3n 4B

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-3n-e4b-it)

[BE](https://modelslab.com/models/open_router/baidu-ernie-4.5-vl-28b-a3b)[Open Router](https://modelslab.com/models/open_router)

 [Baidu: ERNIE 4.5 VL 28B A3B

Closed Source Model](https://modelslab.com/models/open_router/baidu-ernie-4.5-vl-28b-a3b)

[MS](https://modelslab.com/models/open_router/mistralai-mistral-saba)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Saba

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-saba)

About Google: Gemma 3n 4B (Free)
---

Gemma 3n E4B-it is optimized for efficient execution on mobile and low-resource devices, such as phones, laptops, and tablets. It supports multimodal inputs—including text, visual data, and audio—enabling diverse tasks...

### Technical Specifications

Model IDgoogle-gemma-3n-e4b-it-freeCategoryLLM ModelsTaskText GenerationAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Google: Gemma 3n 4B (Free) into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "google-gemma-3n-e4b-it-free",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/google/google-gemma-3n-e4b-it-free/api) for SDKs, code examples in Python, JavaScript, and more.

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Google: Gemma 3n 4B (Free)](https://modelslab.com/google-gemma-3n-4b-free) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Google](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Google: Gemma 3n 4B (Free) FAQ
---

### What is Google: Gemma 3n 4B (Free)?

Gemma 3n E4B-it is optimized for efficient execution on mobile and low-resource devices, such as phones, laptops, and tablets. It supports multimodal inputs—including text, visual data, and audio—enabling diverse tasks...

### How do I use the Google: Gemma 3n 4B (Free) API?

You can integrate Google: Gemma 3n 4B (Free) into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "google-gemma-3n-e4b-it-free" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### What is the Google: Gemma 3n 4B (Free) model ID?

The model ID for Google: Gemma 3n 4B (Free) is "google-gemma-3n-e4b-it-free". Use this ID in your API requests to specify this model.

### Does Google: Gemma 3n 4B (Free) have a free tier?

Yes, ModelsLab offers a free tier that lets you try Google: Gemma 3n 4B (Free) and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*