Google: Gemma 3n 2B (free) API

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

Get Started

Model Card

Gemma 3n E2B Instruct (Free) is Google's mobile-first open model with an effective 2B parameter memory footprint using Per-Layer Embeddings. It's optimized for on-device AI with audio, text, image, and video understanding.

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 2B (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-e2b-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 2B (free) to your app without worrying about API keys or setup.

Read the Docs View Tutorials