Google model page

Google: Gemma 2 27B

google/gemma-2-27b-it

Gemma 2 27B by Google is an open model built from the same research and technology used to create the [Gemini models](/models?q=gemini). Gemma models are well-suited for a variety of...

TextStructured outputFast responses
Input / 1M
$0.84
Output / 1M
$0.84
Context
8K
Markup
30%

Use this model through UAI

A dedicated public landing page for this synced catalog row.

Provider
Google

Synced from the active catalog

Context window
8K tokens

Validated for gateway requests

UAI input
$0.84

Charged from your UAI balance

UAI output
$0.84

Same API key and billing flow

This page exists for direct linking, onboarding, and SEO. The same model row powers /v1/models, the public catalog, the app pricing screen, and request validation for /v1/chat/completions.

Why use this model through UAI

The same model route, but with one account, one balance, and one API shape.

Interactive latency

Google: Gemma 2 27B is positioned well for chat UIs, demos, and agent loops where faster turn time matters.

OpenAI-compatible access

Call google/gemma-2-27b-it with the same UAI API key, the same /v1/chat/completions shape, and the same request validation used across the rest of the catalog.

Shared pricing and billing

Pricing, balance, and request history stay consolidated in one UAI account instead of spreading usage across separate Google dashboards.

Pricing and access

Current synced numbers for this exact model row.

UAI input / 1M tokens
$0.84
UAI output / 1M tokens
$0.84
Google input / 1M
$0.65
Google output / 1M
$0.65
Context window
8,192
Current markup
30%

Need another option? Browse the full models catalog or compare rows in the signed-in pricing table.

Quickstart

Use this model with your UAI key over the standard OpenAI-compatible route.

Create a key in API Keys, then send requests to https://uai.sh/v1/chat/completions.

curl
curl https://uai.sh/v1/chat/completions \
  -H "Authorization: Bearer uai-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-2-27b-it",
    "messages": [{"role": "user", "content": "Say hi in one short sentence."}],
    "stream": false
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(base_url="https://uai.sh/v1", api_key="uai-YOUR_API_KEY")
response = client.chat.completions.create(
    model="google/gemma-2-27b-it",
    messages=[{"role": "user", "content": "Say hi in one short sentence."}],
    stream=False
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://uai.sh/v1",
  apiKey: "uai-YOUR_API_KEY"
});

const response = await client.chat.completions.create({
  model: "google/gemma-2-27b-it",
  messages: [{ role: "user", content: "Say hi in one short sentence." }],
  stream: false
});

console.log(response.choices[0].message.content);

Related models

Other active rows to compare without leaving the public catalog.

google
Google: Gemini 2.5 Pro (batch)
google/gemini-2.5-pro:batch
Input / 1M$0.81
Context1.0M tokens
google
Google: Gemini 3.5 Flash (batch)
google/gemini-3.5-flash:batch
Input / 1M$0.97
Context1.0M tokens
google
Google: Gemini 3.6 Flash
google/gemini-3.6-flash
Input / 1M$0.97
Context1.0M tokens