# Gemma 3n E2B (on-device)

> Google's Gemma 3n E2B, run on a user's own paired phone and relayed to AnyRouter over an outbound WebSocket (no Google API key, no server-side compute). Ships $0 in/out — the user supplies their own hardware. Text in, text out.

**ID**: `google/gemma-3n-e2b`  
**Creator**: Google  
**Category**: text  
**Context**: 33K tokens  
**Input**: $0  
**Output**: $0  
**Released**: 2025-06-26  
**Web page**: https://anyrouter.dev/model/google/gemma-3n-e2b

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, streaming

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemma-3n-e2b",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| anyrouter | $0 | $0 |

## Source

- Upstream docs: https://ai.google.dev/gemma/docs/gemma-3n
