Google: Gemma 2 27B: AI model
Gemma 2 27B is a Google model for reasoning, coding and everyday chat, with a 8K-token context window. Available via Hormouz with stable access from inside Iran.
- Context window:
- 8,192 tokens
- Input:
- $0.65/1M tokens
- Output:
- $0.65/1M tokens
- Type:
- text
- Streaming
Gemma 2 27B is a Google Gemma-family model built for reasoning, coding, mathematics and general chat. It accepts text and returns text, with a context window of up to 8K tokens.
It is well-suited to text generation, question answering, summarization and reasoning. It is an open model optimized for efficient, reliable text tasks.
Pricing is usage-based at $0.65/M in · $0.65/M out. Gemma 2 27B is served through Hormouz behind an OpenAI-compatible API, with stable access from inside Iran.
Gemma 2 27B by Google is an open model built from the same research and technology used to create the Gemini models. Gemma models are well-suited for a variety of...
Quickstart
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-2-27b-it",
"messages": [{"role": "user", "content": "Hello!"}]
}'Specs
| Vendor | |
|---|---|
| Type | Text |
| Context window | 8,192 tokens |
| Pricing | $0.65/M in · $0.65/M out |
| API | Chat Completions |
| Capabilities | Streaming |
Code example
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-2-27b-it",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
model="google/gemma-2-27b-it",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
model: "google/gemma-2-27b-it",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Buy the Google: Gemma 2 27B API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches Google: Gemma 2 27B and 600+ other models, and you pay only for what you use.
- No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Use via Hormouz
Connect to this model and 600+ others with one API key, then see usage down to each request.
Request company accessFAQ
- What inputs does Gemma 2 27B accept?
- It accepts text and returns text.
- What is the context window of Gemma 2 27B?
- Up to 8K tokens, suitable for long documents and multi-turn conversations.
- How much does Gemma 2 27B cost?
- Usage-based pricing: $0.65/M in · $0.65/M out.
- What is Gemma 2 27B good for?
- Reasoning, coding, math and general chat.
- How do I access Gemma 2 27B from inside Iran?
- Create an account on Hormouz and generate an API key. Hormouz provides stable access from inside Iran via an OpenAI-compatible API.
Updated 2026-10-13