Skip to content
Rapid Router
← All models

Gemma 2 9B

google/gemma-2-9b-it

Google model · Served by DeepInfra · live on the gateway · :free available

Input / 1M
$0.030
Output / 1M
$0.060

Pricing

Input tokens$0.030 per 1M
Output tokens$0.060 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits

Make a request

curl https://rapidrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-2-9b-it",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

Frequently asked

How do I call Gemma 2 9B through an OpenAI-compatible API?

Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to google/gemma-2-9b-it. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.

Is there a free version of Gemma 2 9B?

Yes. Call google/gemma-2-9b-it:free and the request is paid for from Rapid Router's sponsored daily pool, within the free tier's daily request limit.

More Gemini models