Gemma 2 27B
model
openrouter/gemma-2-27bMidStableβ
Low cost in tierStreamingToolsBatchUnited States
Context
8K
Input / 1M tokens
$0.6500
Output / 1M tokens
$0.6500
Cached input / 1M tokens
β (bills at input price)
Cache write / 1M tokens
β (bills at input price)
About this model
Gemma 2 27B
Gemma 2 27B is a model by Google, available through the Anoman AI OpenAI-compatible API with a 8K-token context window. It costs $0.6500 per 1M input tokens and $0.6500 per 1M output tokens, and is available from the Pro plan.
Key facts
- Maker
- Context window
- 8K tokens
- Max output
- 2K tokens
- Lane
- Guarded: the provider has confirmed it does not train on your data
- Modality
- Text
- Input price
- $0.6500 per 1M tokens
- Output price
- $0.6500 per 1M tokens
- Processing region(s)
- us
- Route
- Via OpenRouter
- Cheapest plan
- Available from the Pro plan
- Price comparison
- Priced below 193 of 245 pro-band guarded models on Anoman (blended price: 1 part input to 3 parts output).
Code example
Chat completion with Gemma 2 27B
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="openrouter/gemma-2-27b",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Alternatives
Similar models in our catalog
Same maker first, then the closest price to Gemma 2 27B in the Anoman catalog.