Gemma 2 27B It
google/gemma-2-27b-itChatGemma 2 27B It (google/gemma-2-27b-it) is a chat model from Google with a 8,192-token context window and 2,048 max output tokens, priced at $0.65/1M input and $0.65/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.
API usage
from openai import OpenAI
client = OpenAI(
base_url="https://api.haimaker.ai/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="google/gemma-2-27b-it",
messages=[
{"role": "user", "content": "Hello, how are you?"}
],
)
print(response.choices[0].message.content)Replace YOUR_API_KEY with a key from your haimaker account. Get an API key or read the developer docs.
Overview
Gemma 2 27B It is a chat-focused AI model developed by Google with an unknown parameter count. It supports a context window of 8,192 tokens and has a maximum output length of 2,048 tokens. Pricing is set at $0.65 per million tokens for both input and output.
Specifications
| Mode | Chat |
|---|---|
| Not supported | Function calling, Vision, Reasoning, Web search, URL context |
Frequently asked questions
What is the context window of Gemma 2 27B It?
Gemma 2 27B It (google/gemma-2-27b-it) has a 8,192-token context window and supports up to 2,048 output tokens per request.
How much does Gemma 2 27B It cost?
Gemma 2 27B It is priced at $0.65 per 1M input tokens and $0.65 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.
How do I use Gemma 2 27B It via API?
Send requests to https://api.haimaker.ai/v1/chat/completions with model "google/gemma-2-27b-it" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.
Related chat models
Run Gemma 2 27B It through one API
OpenAI-compatible. Switch models by changing one string.