Back to Models
Google: Gemma 2 9B AI Model Icon

Google: Gemma 2 9B

google/gemma-2-9b-it

Description

Gemma 2 9B by Google is an advanced, open-source language model that sets a new standard for efficiency and performance in its size class. Designed for a wide variety of tasks, it empowers developers and researchers to build innovative applications, while maintaining accessibility, safety, and cost-effectiveness. See the [launch announcement](https://blog.google/technology/developers/google-gemma-2/) for more details. Usage of Gemma is subject to Google's [Gemma Terms of Use](https://ai.google.dev/gemma/terms).

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Google: Gemma 2 9B (google/gemma-2-9b-it)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "google/gemma-2-9b-it",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Google: Gemma 2 9B model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.01$ / 1M tokens
  • Output: 0.01$ / 1M tokens

Token Limits

  • Max Output: 8,192 tokens
  • Max Context: 8,192 tokens

Subscription Tiers

  • free
  • pro
  • ultimate