Gemma 4 12B

Call Gemma 4 12B through an OpenAI- and Anthropic-compatible API, served in the EU: its model ID, context, prices and a code example.

Munito AI serves Gemma 4 12B in the EU through an OpenAI- and Anthropic-compatible API.

Use this model ID in the model field of a request:

google/gemma-4-12b
Model IDgoogle/gemma-4-12b
TypeChat
Inputtext, audio
Context32K tokens (32,768)
Maximum output29,491 tokens
RegionsEU
Tool callsYes
Structured outputJSON schema and JSON object
Reasoning effortNo

APIs

Prices

Prices are in USD for each million tokens, in the standard tier. The global host bills the global price. A regional host or a regional model ID bills the price of its region.

RegionInputCached inputOutput
Global$1.00$1.00$0.15
EU$1.10$1.10$0.17

See Models and pricing for the priority and flex tiers, and for how a request is billed.

Rate limits

Base limits per organization.

Usage tierRequests per minuteInput tokens per minuteOutput tokens per minute
Free2040,0006,000
Tier 14075,00012,000
Tier 280150,00024,000
Tier 3160300,00048,000
Tier 4320600,00096,000
CustomOn requestOn requestOn request

See Rate limits for dynamic limits, headers and retries.

Request custom limits through Support in the console.

Regions

Munito AI serves this model in the EU. The global host, api.munito.ai, sends each request to a region that serves it. To keep the processing in one region, use the host of that region:

RegionHost
EUapi.eu.munito.ai

The global host also accepts a regional ID, such as google/gemma-4-12b@eu, which keeps the request in that region.

See Regions for the base URLs and the rules for stored data.

Example

export MUNITO_API_KEY="munitoai_..."
curl https://api.munito.ai/inference/v1/chat/completions \
  -H "Authorization: Bearer $MUNITO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-12b",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 256
  }'
# pip install openai
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.munito.ai/inference/v1",
    api_key=os.environ["MUNITO_API_KEY"],
)
response = client.chat.completions.create(
    model="google/gemma-4-12b",
    messages=[{"role": "user", "content": "Hello!"}],
    max_tokens=256,
)
print(response.choices[0].message.content)

The same model ID works with the Anthropic client. See Send your first request.