We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Google: Gemma 3 27B
google/gemma-3-27b-itTry Google: Gemma 3 27B now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
Google: Gemma 3 27B at a glance
- Input price is 82% lower than the median of 434 Text models.
- Context window of 131,072 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Accepts images as input (vision).
- A typical request (1,000 input / 500 output tokens) costs about $0.000893.
About Google: Gemma 3 27B
Google Gemma 3 27B is an open model from Google, distributed under the Gemma family and served on api14 under the model id google/gemma-3-27b-it. It sits in the text category, and the provider release date is 12 March 2025. The knowledge cutoff is 31 August 2024, so anything after that date is outside what the model saw during training.
The model accepts text and image input and returns text only, which makes it a vision-language model rather than a pure text one. Its context window is 131,072 tokens, and the maximum output is 117,964 tokens, so long inputs and long generations are both viable within the same request. Google describes Gemma 3 as supporting vision-language input, handling context windows up to 128k tokens, understanding over 140 languages, and offering improved math, reasoning and chat behaviour compared with earlier Gemma releases.
Those capabilities point to a few practical uses. Document and screenshot understanding is a natural fit, since you can pass an image alongside a text prompt and get a written answer. Long-context work such as summarising large files, reviewing lengthy threads, or answering questions over a big body of text is possible without chunking in many cases. Multilingual applications benefit from the reported language coverage. Structured extraction and chat assistants are also reasonable, given the parameter list below. Reasoning and math tasks are supported, though the facts here do not include benchmark numbers, so evaluate on your own data.
You call it through api14's OpenAI-compatible API using the model id google/gemma-3-27b-it, so existing OpenAI SDKs and clients work with a base URL change. The supported request parameters are frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs and top_p. Tool calling and structured outputs are both available, which covers function calling and JSON-shaped responses. Use seed for reproducibility, and logprobs with top_logprobs if you need token-level confidence.
A few limits are worth noting. Output is text only, so the model cannot generate images even though it reads them. The knowledge cutoff of 31 August 2024 means recent events require retrieval or prompt context. If your workload is text only and does not need vision, a smaller text model may be cheaper and faster; if you need image generation or audio, look elsewhere.
How to call the Google: Gemma 3 27B API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "google/gemma-3-27b-it".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "google/gemma-3-27b-it",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
frequency_penaltylogit_biaslogprobsmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_pSpecifications
- Context length
- 131,072
- Max output
- 117,964
- Input
- text, image
- Output
- text
- Knowledge cutoff
- 2024-08-31
Requests on api14 · last 7 days
Google: Gemma 3 27B: frequently asked questions
- How much does the Google: Gemma 3 27B API cost?
- Google: Gemma 3 27B costs Input $0.28 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Google: Gemma 3 27B?
- Google: Gemma 3 27B reads up to 131,072 tokens per request: prompt, history and documents together. It writes up to 117,964 output tokens per response.
- What can Google: Gemma 3 27B do?
- Google: Gemma 3 27B accepts text, image and returns text. It supports tool calling, structured JSON output.
- How do I call Google: Gemma 3 27B from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "google/gemma-3-27b-it". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Google: Gemma 3 27B?
- Comparable Text models at a similar price: Meta: Llama 3.3 70B Instruct, Xiaomi: MiMo-V2.6-Flash, Inception: Mercury 3. Each runs through the same API key, so switching is one string.
Google: Gemma 3 27B community
New topicThis community has no topics yet. Open the first one about Google: Gemma 3 27B.