Back to Models

Gemma 2 9B

Active
gemma2-9b

Google Gemma 2 9B lightweight model

Technical Specifications

Context Length8K tokens
Max Output4K tokens
Available Providers1
Lowest Input Price$200000.00/1M tokens
Lowest Output Price$200000.00/1M tokens

Capabilities

chatcode

Provider Availability & Pricing

ProviderProvider Model IDInput Price (per 1M tokens)Output Price (per 1M tokens)Status
Groq
gemma2-9b-it$200000.00$200000.00active

Code Examples

curl https://api.tokligence.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gemma2-9b",
    "messages": [
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    "max_tokens": 1024
  }'

Ready to use Gemma 2 9B?

Try it out in our interactive playground or integrate it into your application with just a few lines of code.