Seedream 5.0 Pro is LIVE | Try in Image Generator →
google
google/gemma-3n-e4b-it

google/gemma-3n-e4b-it

Release date: 2025-05-21

32,768 context · $0.06/M input tokens · $0.12/M output tokens

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...

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$0.06 / M Tokens
Output$0.12 / M Tokens

Try the model

google/gemma-3n-e4b-it
Online
google
Hi! I am a helpful AI assistant. What can I do for you?
Ready to use this model in a local coding agent?Agent setup

API Usage

Use the following code examples to integrate with our API:

import OpenAI from 'openai';

if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
  apiKey: process.env.WAVESPEED_API_KEY,
  baseURL: 'https://llm.wavespeed.ai/v1',
  timeout: 120_000,
  maxRetries: 2,
});

try {
  const response = await client.chat.completions.create({
    model: 'google/gemma-3n-e4b-it',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

Model Introduction

Google gemma-3n-e4b-it

google gemma-3n-e4b-it


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 32768 context window for long document handling
  • Competitive pricing at $0.0/$0.0 per million tokens

Key Features

  • Context Window: 32768 tokens
  • Max Output: 4096 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderGoogle
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window32768 tokens
Max Output4096 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.0
Output$0.0

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: google/gemma-3n-e4b-it


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="google/gemma-3n-e4b-it",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/gemma-3n-e4b-it",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: google/gemma-3n-e4b-it
  • Provider: Google

Info

Providergoogle
Typellm

Supported Functionality

Input
Text
Output
Text
Context32,768
Max Output4,096
Vision-
Function Calling-

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDgoogle/gemma-3n-e4b-it

Gemma 3n E4b It API

google/gemma-3n-e4b-it

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...

Input

$0.06 /M

Output

$0.12 /M

Context

33K

Max Output

4K

Try Gemma 3n E4b It on WaveSpeedAI

Access Gemma 3n E4b It through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Frequently Asked Questions about Gemma 3n E4b It

How much does Gemma 3n E4b It cost via the API?+

Pricing on WaveSpeedAI: $0.06 per million input tokens and $0.12 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of Gemma 3n E4b It?+

Gemma 3n E4b It supports up to 33K tokens of context with up to 4K tokens of output per request.

Is Gemma 3n E4b It OpenAI-compatible?+

WaveSpeedAI exposes Gemma 3n E4b It at https://llm.wavespeed.ai/v1 through the OpenAI-compatible Chat Completions interface. Most OpenAI SDK clients work by changing the base URL and API key; optional fields depend on the selected model.

How do I get started with Gemma 3n E4b It?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with the model id shown above. Check the current model catalog for availability, capabilities, and pricing.

Related LLM APIs

Gemma 3n E4b It | Google LLM API | WaveSpeedAI