Textby Google

Gemma 3 12B

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities,...

  • By price it is among the cheapest of the 345 text models GenMagic runs (20th cheapest).
  • It scores 3.8 on the Artificial Analysis Intelligence Index, 118th of the 120 text models with a score.
  • It has scores on 17 public benchmarks, listed below with their sources.
  • It was listed on Mar 13, 2025.

Data last changed Nov 1, 2026 · tracked since Oct 29, 2026 · Every model change

Try Gemma 3 12B

Generate with Gemma 3 12B right here. Verify your email to start with free credits.

<$0.01
Try

Specifications

Context window

131K tokens

Max output

16K tokens

Knowledge cutoff

2024-08-31

Input price

$0.075 / 1M tokens

Output price

$0.23 / 1M tokens

Benchmarks

How Gemma 3 12B scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

0.1

source date 2026-11-11
Source: openrouter

5.8

source date 2026-11-11
Source: openrouter

3.8

source date 2026-09-18
Source: openrouter
AIMEMathematics

16.7%± 4.2

source date 2026-08-28
Source: epoch
Chess PuzzlesReasoning & Knowledge

0%± 0.0

source date 2026-08-28
Source: epoch
DTBenchReasoning & Knowledge

48.8%

Source: epoch
GPQA DiamondReasoning & Knowledge

38%± 1.2

source date 2026-11-01
Source: openrouter
LMArena (Coding)Instruction & Preference

1281 Elo

source date 2026-11-11
Source: lmarena
LMArena: Creative WritingInstruction & Preference

1331 Elo

source date 2026-11-11
Source: lmarena
LMArena: Hard PromptsInstruction & Preference

1309 Elo

source date 2026-11-11
Source: lmarena

1317 Elo

source date 2026-11-11
Source: lmarena
LMArena: MathMathematics

1336 Elo

source date 2026-11-11
Source: lmarena
LMArena: Multi-TurnInstruction & Preference

1334 Elo

source date 2026-11-11
Source: lmarena
LMArena (Overall)Instruction & Preference

1334 Elo

source date 2026-11-11
Source: lmarena
LMCAReasoning & Knowledge

4.5

Source: epoch
tau-bench (Airline)Agentic & Tool Use

48%

source date 2026-10-08
Source: openrouter

Compare against every model in the full benchmark matrix.

Capabilities

Vision input

Accepts images alongside text, so you can prompt with pictures and screenshots.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use Gemma 3 12B through the API

The model id is google/gemma-3-12b-it. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-3-12b-it",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="google/gemma-3-12b-it",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "google/gemma-3-12b-it" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use Gemma 3 12B in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Google: Gemma 3 12B, or enter google/gemma-3-12b-it as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Google: Gemma 3 12B (this model)Google$0.075 in / $0.23 out per 1M tokens131K
Reka EdgeReka$0.15 in / $0.15 out per 1M tokens16K
Mistral: Ministral 3 3B 2512Mistral AI$0.15 in / $0.15 out per 1M tokens131K
PrismML: Ternary Bonsai 2 9BPrism Ml$0.12 in / $0.20 out per 1M tokens262K
Microsoft: Phi 4Microsoft$0.10 in / $0.21 out per 1M tokens16K
Cohere: Command R7B (12-2024)Cohere$0.056 in / $0.23 out per 1M tokens128K

Compare Gemma 3 12B

More from Google

All 41 Google models

Price and listing history

Every change GenMagic has recorded for Gemma 3 12B since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 36%$0.055 in / $0.17 out per 1M tokens$0.075 in / $0.23 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Google publishes them (model card on Hugging Face), checked daily.
  • Benchmarks: 17 scores from Artificial Analysis and OpenRouter, Epoch AI, LMArena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 1, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with Gemma 3 12B today

One GenMagic plan unlocks Gemma 3 12B and every other model across text, image, audio, and video.