Google: Gemma 3n 4B (free) API

Access Google: Gemma 3n 4B (free) from Google using Puter.js AI API.

Get Started

Model Card

Gemma 3n E4B Instruct (Free) is the free-tier version of Google's mobile-first 4B active parameter model with nested architecture. It enables on-device multimodal AI with audio, text, image, and video input capabilities.

Context Window

N/A

tokens

Max Output

2,048

tokens

Input Cost

$0

per million tokens

Output Cost

$0

per million tokens

API Usage Example

Add Google: Gemma 3n 4B (free) to your app with just a few lines of code.
No API keys, no backend, no configuration required.

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "google/gemma-3n-e4b-it:free"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add Google: Gemma 3n 4B (free) to your app without worrying about API keys or setup.

Read the Docs View Tutorials