# google/gemma-3-27b-it

Gemma 3 27B is the largest model in Google's open-weight Gemma 3 family; it takes text and images and answers in text. It ships under the Gemma terms of use and suits chat, summarization and pulling data from images in 140-plus languages.

- **Model id:** `opencheap/gemma-3-27b`
- **Price per 1M tokens:** $0.02 input / $0.05 output
- **Cached input:** $0.01 per 1M tokens
- **Context:** 131K tokens, 117K max output

## Providers

9 providers. Prices are per 1M tokens. As of 2026-12-04 11:57 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Surplus · quantization unknown | $0.02 | $0.01 | $0.05 | 0.88 s | 66 tok/s | 95.6 % (success rate) | 40K | 4K |
| Qubax · quantization unknown | $0.023 | $0.0051 | $0.057 | 1.76 s | 56 tok/s | 100 % (success rate) | 40K | 4K |
| DeepInfra · Route 1 · fp8 | $0.067 | $0.067* | $0.13 | — | — | 100 % | 131K | 117K |
| DeepInfra · Route 2 · fp8 | $0.084 | $0.084* | $0.17 | 1.36 s | 26 tok/s | 100 % | 131K | 16K |
| DeepInfra · Route 3 · fp8 | $0.13 | $0.13* | $0.25 | 1.67 s | 25 tok/s | 99.6 % | 131K | 117K |
| Hugging Face · deepinfra · fp8 | $0.08 | $0.08* | $0.16 | 0.69 s | 49 tok/s | 100 % (success rate) | 131K | — |
| NextBit · fp8 | $0.084 | $0.042 | $0.37 | 0.74 s | 40 tok/s | 99.1 % | 131K | 117K |
| Parasail · fp8 | $0.084 | $0.042 | $0.47 | 0.62 s | 39 tok/s | 100 % | 131K | 117K |
| Nebius · fp8 | $0.10 | $0.042 | $0.32 | 1.89 s | 15 tok/s | 99.8 % | 110K | 99K |
| NanoGPT · quantization unknown | $0.30 | $0.15 | $0.30 | 1.45 s | 35 tok/s | 100 % (success rate) | 128K | 96K |

\* No cache discount from this provider: cached tokens cost the input price.

1 more provider through partner hosts · from $0.084 in · $0.17 out

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **DeepInfra:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Hugging Face · deepinfra:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **NextBit:** `temperature`, `top_p`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs` (tools not confirmed)
- **Parasail:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs` (tools not confirmed)
- **Nebius:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs` (tools not confirmed)
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format` (tools not confirmed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/gemma-3-27b#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/gemma-3-27b`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/gemma-3-27b", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gemma-3-27b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gemma-3-27b",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About google/gemma-3-27b-it

google/gemma-3-27b-it costs from $0.02 per 1M input tokens and $0.05 per 1M output tokens on OpenCheap, with cached input at $0.01 per 1M tokens. Its list price is $0.08 per 1M input tokens and $0.45 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 88 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.00025, and 1,000 such requests about $0.25. Prices as of 2026-12-04 11:48 UTC.

9 providers serve google/gemma-3-27b-it on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.

google/gemma-3-27b-it is one of [102 Google models](https://opencheap.si/models/lab/google) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the google/gemma-3-27b-it API cost per 1M tokens?

google/gemma-3-27b-it costs from $0.02 per 1M input tokens and $0.05 per 1M output tokens on OpenCheap, with cached input at $0.01 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one google/gemma-3-27b-it request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.00025, and 1,000 such requests about $0.25. Every answer reports its own cost in usage.cost.

### Is google/gemma-3-27b-it cheaper on OpenCheap than its list price?

Its list price is $0.08 per 1M input tokens and $0.45 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 88 % less here.

### Which providers serve google/gemma-3-27b-it?

9 providers serve google/gemma-3-27b-it on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of google/gemma-3-27b-it?

Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.

### How do I call the google/gemma-3-27b-it API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemma-3-27b. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Google

- [Gemma 4 26B A4B It](https://opencheap.si/models/gemma-4-26b-a4b) (`gemma-4-26b-a4b`): $0.01 / $0.03 per 1M · 262K context
- [Gemma 4 31B It](https://opencheap.si/models/gemma-4-31b) (`gemma-4-31b`): $0.012 / $0.036 per 1M · 262K context
- [Gemini 3.5 Flash](https://opencheap.si/models/gemini-3.5-flash) (`gemini-3.5-flash`): $1.50 / $9.00 per 1M · 1M context
- [DiffusionGemma](https://opencheap.si/models/diffusiongemma) (`diffusiongemma`): $0.05 / $0.15 per 1M · 262K context
- [Nano Banana (Gemini 2.5 Flash Image)](https://opencheap.si/models/gemini-2.5-flash-image) (`gemini-2.5-flash-image`): $0.32 / $2.63 per 1M · 32K context
- [Gemini 2.5 Flash Lite](https://opencheap.si/models/gemini-2.5-flash-lite) (`gemini-2.5-flash-lite`): $0.10 / $0.40 per 1M · 1M context
- [Gemini 2.5 Flash Preview 05-20 (no think)](https://opencheap.si/models/gemini-2.5-flash-preview-05.20:nothink) (`gemini-2.5-flash-preview-05.20:nothink`): $0.30 / $2.50 per 1M · 1M context
- [Gemini 2.5 Pro](https://opencheap.si/models/gemini-2.5-pro-exp-03.25) (`gemini-2.5-pro-exp-03.25`): $1.25 / $10.00 per 1M

[All 102 Google models](https://opencheap.si/models/lab/google)

## Similar models

- [meta-llama/Llama-3.3-70B-Instruct](https://opencheap.si/models/llama-3.3-70b): Meta · 131K context · $0.015 / $0.047 per 1M, 8 % cheaper · [Compare with google/gemma-3-27b-it](https://opencheap.si/compare/gemma-3-27b-vs-llama-3.3-70b)
- [Qwen/Qwen3-32B](https://opencheap.si/models/qwen3-32b): Qwen · 131K context · $0.0096 / $0.032 per 1M, 38 % cheaper · [Compare with google/gemma-3-27b-it](https://opencheap.si/compare/gemma-3-27b-vs-qwen3-32b)
- [meta-llama/Llama-3.1-8B-Instruct](https://opencheap.si/models/llama-3.1-8b): Meta · 131K context · $0.02 / $0.04 per 1M, 18 % cheaper · [Compare with google/gemma-3-27b-it](https://opencheap.si/compare/gemma-3-27b-vs-llama-3.1-8b)
- [Qwen/Qwen3-Next-80B-A3B-Instruct](https://opencheap.si/models/qwen3-next-80b-a3b): Qwen · 262K context · $0.0057 / $0.066 per 1M · [Compare with google/gemma-3-27b-it](https://opencheap.si/compare/gemma-3-27b-vs-qwen3-next-80b-a3b)
- [DeepSeek V4.1 Flash](https://opencheap.si/models/deepseek-v4.1-flash): DeepSeek · 1M context · $0.0073 / $0.029 per 1M, 44 % cheaper · [Compare with google/gemma-3-27b-it](https://opencheap.si/compare/gemma-3-27b-vs-deepseek-v4.1-flash)
- [Ling 3.0 Tiny](https://opencheap.si/models/ling-3.0-tiny): inclusionAI · 262K context · $0.015 / $0.045 per 1M, 12 % cheaper · [Compare with google/gemma-3-27b-it](https://opencheap.si/compare/gemma-3-27b-vs-ling-3.0-tiny)

### Comparisons

- [Mistral Small 3.2 24B (2506) vs google/gemma-3-27b-it](https://opencheap.si/compare/mistral-small-3.2-24b-vs-gemma-3-27b)
- [Gemma 4 31B It vs google/gemma-3-27b-it](https://opencheap.si/compare/gemma-4-31b-vs-gemma-3-27b)

[Compare google/gemma-3-27b-it with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/gemma-3-27b · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
