Gemma 3: Google's open models at 27B, 12B, and 4B, with image and tool calls on Morse
The Morse teamPublished Facts checked 3 min read
Gemma 3 is Google's open-weight model family from 2025: four sizes from 1B to 27B, image input on the larger three, support for over 140 languages, and a 128K-token context. Morse serves the 27B, 12B, and 4B on a private, OpenAI-compatible API, starting with google/gemma-3-27b-it at $0.10 per million input tokens and $0.20 per million output tokens.
We read the Gemma 3 27B model card and Morse's model pages on December 3, 2026. Scores are from the card.
What is Gemma 3?
The card describes models that are "multimodal, handling text and image input and generating text output," in sizes larger and smaller than before. The details that matter for building on it:
| Spec | Gemma 3 |
|---|---|
| Sizes | 1B, 4B, 12B, 27B |
| Context | 128K tokens (4B, 12B, 27B); 32K (1B) |
| Images | Normalized to 896 by 896 pixels, 256 tokens each |
| Languages | Over 140 |
| Training data | 14T tokens (27B), 12T (12B), 4T (4B), 2T (1B) |
| License | Gemma terms of use, plus a prohibited use policy |
Source: Gemma 3 27B model card, read December 3, 2026.
Each image costs a fixed 256 tokens after it's scaled to 896 pixels square, which makes image-heavy requests predictable in size. The card also caps output at 8,192 tokens, so Gemma 3 suits short answers, labels, and extractions better than long generated documents.
How do the sizes compare?
The card reports these for the pre-trained models, before instruction tuning:
| Benchmark | Gemma 3 4B | Gemma 3 12B | Gemma 3 27B |
|---|---|---|---|
| MMLU (5-shot) | 59.6 | 74.5 | 78.6 |
| GSM8K (8-shot) | 38.4 | 71.0 | 82.6 |
| HumanEval | 36.0 | 45.7 | 48.8 |
| MMMU | 39.2 | 50.3 | 56.1 |
| DocVQA | 72.8 | 82.3 | 85.6 |
Source: Gemma 3 27B model card, read December 3, 2026.
The jump from 4B to 12B is the big one, especially on grade-school math (GSM8K), which nearly doubles. From 12B to 27B the gains are smaller. Document reading (DocVQA) is strong at every size.
How do you call Gemma 3 with an image?
Point any OpenAI client at https://inference.trymorse.ai/v1, pass your Morse key, and name google/gemma-3-27b-it. The Python below sends a bar chart of failed SSH logins by hour:
import base64
import os
from openai import OpenAI
client = OpenAI(
base_url="https://inference.trymorse.ai/v1",
api_key=os.environ["MORSE_API_KEY"],
)
with open("chart.png", "rb") as f:
image = base64.b64encode(f.read()).decode()
reply = client.chat.completions.create(
model="google/gemma-3-27b-it",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "Which hour stands out in this chart, and what should we check?"},
{"type": "image_url", "image_url": {"url": f"data:image/png;base64,{image}"}},
],
}
],
)
print(reply.choices[0].message.content)
When we ran it on December 3, 2026, the 27B read the spike correctly, 212 failed logins at hour 03, and listed the right logs and source addresses to check. It also named 05:00, with 6, as the next highest hour, when hour 04 had 9: close reading of small labels is where a model this size can slip, so check numbers it reads from a chart before you act on them.
The models also take tool calls. On a firewall test, the 27B called the right function with the right address in about 1.6 seconds and the 12B in about 1.0, but the 4B called it with its arguments empty. For tool use, start at 12B.
Which Gemma 3 should you call on Morse?
| Gemma 3 27B | Gemma 3 12B | Gemma 3 4B | |
|---|---|---|---|
| Model id | google/gemma-3-27b-it | google/gemma-3-12b-it | google/gemma-3-4b-it |
| Reads | text and images | text and images | text and images |
| Longest reply | 16,384 tokens | 16,384 tokens | 16,384 tokens |
| Price | $0.10 per million input tokens and $0.20 per million output tokens | $0.0625 per million input tokens and $0.1875 per million output tokens | $0.0625 per million input tokens and $0.125 per million output tokens |
Read from Morse's catalog when this page was built.
Morse's model pages measured them on December 1, 2026, as the median of 5 streamed replies: the 4B at 0.13 s to the first token and 72 tokens per second, the 12B at 0.24 s and 34, and the 27B at 0.22 s and 27. Use the 4B for simple, high-volume text and image labeling, the 12B for tool calls on a budget, and the 27B for the best answers in the family.
Is there a newer or uncensored Gemma?
Gemma 4 is the newer generation, covered in our Gemma 4 API guide, and Morse serves an uncensored build of it, Gemma 4 26B A4B Uncensored, made by abliteration (what that means). It's served for cybersecurity, agent security, AI and ML research, and training data. For a vision-first open model, see Qwen3 VL.
Privacy and cost
It runs under zero-data-retention terms, and the provider sees Morse as the customer, not you. Morse runs the open weights on its own providers; the privacy page lists each tier. Calls bill per token against prepaid credits, and images count as input tokens. Make a key and send the chart example.
Common questions
What sizes does Gemma 3 come in?
1B, 4B, 12B, and 27B, by its model card. Morse serves the 4B, 12B, and 27B, which also read images.
What is Gemma 3's context length?
128K tokens for the 4B, 12B, and 27B, and 32K for the 1B, by its card. On Morse the 27B's context is 128K tokens.
How many languages does Gemma 3 support?
Over 140, by its model card.
What license is Gemma 3 under?
Google's Gemma terms of use, with a separate prohibited use policy. It is not Apache or MIT, so read the terms before you build on the weights.