Back to Models

Gemma 2 9B IT

googlegoogle/gemma-2-9b-it

Google's Gemma 2 9B instruction-tuned model. Lightweight and efficient for basic tasks.

Context Length
8K
Max Output
4K
Input Price
$0.360/ 1M tokens
Output Price
$0.360/ 1M tokens

Modalities

texttext

Pricing Breakdown

TypeRate
Input$0.360 / 1M tokens
Output$0.360 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_pstop

API Usage Examples

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "google/gemma-2-9b-it",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'