# Gemma 2 27B

> Gemma 2 27B is an open instruction-tuned model from Google, built from the research behind Gemini. It suits question answering, summarization and reasoning in a compact size.

**ID**: `google/gemma-2-27b-it`  
**Creator**: Google  
**Category**: text  
**Context**: 8K tokens  
**Pricing**: $0.65 / $0.65 per 1M · billed by your provider (BYOK)  
**Released**: 2024-07-13  
**Web page**: https://anyrouter.dev/model/google/gemma-2-27b-it

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, streaming, structured-output

**Supported parameters**: frequency_penalty, max_tokens, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_p

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemma-2-27b-it",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openrouter-byok | $0.65/M (list) | $0.65/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.
