---
title: Gemma 3N E4B Instruct API | Text Generation | ModelsLab
description: Compact multimodal LLM with 4B effective params (8B total), MatFormer architecture, 32K token context, text/image/audio inputs; runs on 3GB VRAM for.
url: https://modelslab.com/models/google/google-gemma-3n-e4b-it.md
canonical: https://modelslab.com/models/google/google-gemma-3n-e4b-it.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-14T22:39:49.999827Z
---

Gemma 3N E4B Instruct
---

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

google-gemma-3n-E4B-it google\_deepmind Closed Source Model $0.030000 / call

Gemma 3N E4B Instruct
---

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

### Gemma 3N E4B Instruct

google\_deepmind google-gemma-3n-E4B-it

Copy model ID

PricingInput $0.02 / 1M tokens

Output $0.04 / 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)

[IM](https://modelslab.com/models/open_router/inception-mercury-coder)[Open Router](https://modelslab.com/models/open_router)

 [Inception: Mercury Coder

Closed Source Model](https://modelslab.com/models/open_router/inception-mercury-coder)

[DV](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V3-0324)[Together AI](https://modelslab.com/models/together_ai)

 [Deepseek V3 0324

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V3-0324)

[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)

[![gpt-oss-20b](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/8b2f0440-52cc-4f41-93eb-d31006ad71e2.webp)](https://modelslab.com/models/openai/gpt-oss-20b)[Open Ai](https://modelslab.com/models/openai)

 [gpt-oss-20b

Closed Source Model](https://modelslab.com/models/openai/gpt-oss-20b)

[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)

[MM](https://modelslab.com/models/open_router/mistralai-mixtral-8x7b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mixtral 8x7B Instruct

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mixtral-8x7b-instruct)

[AC](https://modelslab.com/models/open_router/anthropic-claude-3.7-sonnet)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude 3.7 Sonnet

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-3.7-sonnet)

[MM](https://modelslab.com/models/open_router/minimax-minimax-m2)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax M2

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-m2)

[TD](https://modelslab.com/models/open_router/tngtech-deepseek-r1t2-chimera)[Open Router](https://modelslab.com/models/open_router)

 [TNG: DeepSeek R1T2 Chimera

Closed Source Model](https://modelslab.com/models/open_router/tngtech-deepseek-r1t2-chimera)

[![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)

[DV](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V3.1-Terminus)[Together AI](https://modelslab.com/models/together_ai)

 [Deepseek V3.1 Terminus

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V3.1-Terminus)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 7B

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

[OG](https://modelslab.com/models/open_router/openai-gpt-4o-mini-2024-07-18)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4o-mini (2024-07-18)

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4o-mini-2024-07-18)

[MV](https://modelslab.com/models/open_router/mistralai-voxtral-small-24b-2507)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Voxtral Small 24B 2507

Closed Source Model](https://modelslab.com/models/open_router/mistralai-voxtral-small-24b-2507)

[ML](https://modelslab.com/models/together_ai/meta-llama-Llama-3.3-70B-Instruct-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3.3 70B Instruct Turbo

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-3.3-70B-Instruct-Turbo)

[GL](https://modelslab.com/models/open_router/google-lyria-3-clip-preview)[Open Router](https://modelslab.com/models/open_router)

 [Google: Lyria 3 Clip Preview

Closed Source Model](https://modelslab.com/models/open_router/google-lyria-3-clip-preview)

[OO](https://modelslab.com/models/open_router/openai-o4-mini-deep-research)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o4 Mini Deep Research

Closed Source Model](https://modelslab.com/models/open_router/openai-o4-mini-deep-research)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.5v)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.5V

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.5v)

About Gemma 3N E4B Instruct
---

Multimodal LLM optimized for low-resource devices, supporting text, image, video, and audio input with 4B effective parameters, 32K token context, and efficient memory via Per-Layer Embedding caching and MatFormer architecture.

### Technical Specifications

Model IDgoogle-gemma-3n-E4B-itCategoryLLM ModelsTaskText GenerationPrice$0.030000 per million tokensAddedJuly 22, 2025

### 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 Gemma 3N E4B Instruct 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",
        "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_deepmind/google-gemma-3n-E4B-it/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Gemma 3N E4B Instruct API costs $0.030000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### 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 Gemma 3N E4B Instruct](https://modelslab.com/gemma-3n-e4b-instruct) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Google Deepmind](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Gemma 3N E4B Instruct FAQ
---

### What is Gemma 3N E4B Instruct?

Multimodal LLM optimized for low-resource devices, supporting text, image, video, and audio input with 4B effective parameters, 32K token context, and efficient memory via Per-Layer Embedding caching and MatFormer architecture.

### How do I use the Gemma 3N E4B Instruct API?

You can integrate Gemma 3N E4B Instruct 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" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Gemma 3N E4B Instruct cost?

Gemma 3N E4B Instruct costs $0.030000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Gemma 3N E4B Instruct model ID?

The model ID for Gemma 3N E4B Instruct is "google-gemma-3n-E4B-it". Use this ID in your API requests to specify this model.

### Does Gemma 3N E4B Instruct have a free tier?

Yes, ModelsLab offers a free tier that lets you try Gemma 3N E4B Instruct 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*