Back to Models
G

Gemma 2 2B

Gemma
by Google

Advanced small language generative AI model for edge applications.

Free EndpointMay 22, 2025gemma license1M API calls / 30d

Specifications

Context Length
8K
8,192 tokens
Input Price
Free
per 1M tokens
Output Price
Free
per 1M tokens
Modalities
1
text→text

Capabilities

text generationchat

Tags

chatsmall-model

API Usage

1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:

google/gemma-2-2b-it
cURL
curl https://api.1router.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-2-2b-it",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'